Jump to content

orange pi r1 path incorrect (5.90)


jamezg

Recommended Posts

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# 
Link to comment
Share on other sites

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# 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines