On 2018-11-13 17:24, edneyhelene wrote:
Package: buildd.debian.org
Severity: normal
Tags: patch

Dear Maintainer,
Debian buster have a strange problem at the momment!

DPKG cant find ldconfig path and it gives error 2!

The solution is to edit /etc/profile
Bugged version :

if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
fi

___________
Solution: /Sbin is missing after games and needs an patch for solution.

Temporary fix is to edit like this:

if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games/sbin"
fi

and then
source /etc/profile

If someone could please make this permanent fix for the system on an next
update would be great!

Maybe you should make sure that your environment is correct when escalating your privileges to root, e.g. using "sudo -i". Anyway you reported this against a wrong component and this is in fact a user error. I suggest reaching out to debian-u...@lists.debian.org for help.

Kind regards
Philipp Kern

Reply via email to