Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Upgrade problem [Sid]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

[SOLVED] Upgrade problem [Sid]

#1 Post by Wheelerof4te »

Today, when passing apt full-upgrade in Sid, I get these errors:

Code: Select all

Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
Will this go away eventually? Or do I need to do some manual work?
EDIT: It went away when I used

Code: Select all

su -
instead of just su. Path problem, not surprisingly.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: [SOLVED] Upgrade problem [Sid]

#2 Post by 4D696B65 »

Its not solved, that is a workaround. There is a bug in util-linux that has su path screwed up.
https://bugs.debian.org/cgi-bin/bugrepo ... bug=904988

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: [SOLVED] Upgrade problem [Sid]

#3 Post by Wheelerof4te »

Thanks for the heads-up.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [SOLVED] Upgrade problem [Sid]

#4 Post by sunrat »

I just did full-upgrade in Sid and it seems to be fixed now.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply