jamezg Posted August 15, 2019 Posted August 15, 2019 Armbian 5.90 Orangepi-r1 Debian buster next kernal was upgraded to 4.19.62 using aptitude (not that that matters) armbian-config wont run because it wants dpkg-reconfigure which in /usr/sbin which in not in the path. where dose this get set ? root@orangepi:/home/james# $PATH bash: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory root@orangepi:/home/james#
jamezg Posted August 15, 2019 Author Posted August 15, 2019 Problem was fixed by rebooting. It was something in the initial setup scripts did not finish. It took several reboots to finish.
jamezg Posted August 15, 2019 Author Posted August 15, 2019 My mistake, this is not fixed. if i login as root the path is correct for root. if i login as user the path is correct for user. if i su from user to root, the path stays set for user. i think it has something to do with /etc/profile but i don't know how su interacts with it. -------------------------------------------------------------------------------- root@nanopi:/home/james# cat /etc/armbian.txt | head -------------------------------------------------------------------------------- Title: Armbian 5.91 Nanopi-r1 Debian buster next Kernel: Linux 4.19.59 Build date: 16.07.2019 Maintainer: Igor Pecovnik <igor.pecovnik@****l.com> Authors: https://www.armbian.com/authors Sources: https://github.com/armbian/ Support: https://forum.armbian.com/ Changelog: https://www.armbian.com/logbook/ Documantation: https://docs.armbian.com/ james@nanopi:~$ james@nanopi:~$ $PATH -bash: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory james@nanopi:~$ su Password: root@nanopi:/home/james# $PATH bash: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory root@nanopi:/home/james#
jamezg Posted August 15, 2019 Author Posted August 15, 2019 never mind, it is new thing. i have to keep up with the trends. using su - solves it on to the next problem (.=> rtl8188e_iol_efuse_patch errors, no wireless)
guidol Posted August 16, 2019 Posted August 16, 2019 11 hours ago, jamezg said: never mind, it is new thing. i have to keep up with the trends. using su - solves it another new trend could be to set the alias please for sudo
Recommended Posts