Jump to content

Recommended Posts

Posted

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# 
Posted

Problem was fixed by rebooting.

It was something in the initial setup scripts did not finish.

It took several reboots to finish.

Posted

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# 

 

Posted

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)

Posted
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 ;)

please.png

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

Important Information

Terms of Use - Privacy Policy - Guidelines