[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#641013: upgrade-reports: ldconfig not found in path - start-stop-deamon not fount in path - dpkg error code (2) +++



Hi Adam


Lurking here for years. My first reply :)


I`ve been getting the same thing if I try to invoke dselect with sudo. Works fine if I su instead.


Hope this helps.


Jo Joseph

Network Support

Cardiff and Vale College

Tel :- 02920 250300

Extn :- 1300

Web :- ikillboots.thruhere.net

On Fri, 2011-09-09 at 14:46 +0200, amd965 wrote:

> Forhåndsoppsetter pakker ...

> dpkg: advarsel: «ldconfig» ikke funnet i PATH eller ikke kjørbar.

> dpkg: advarsel: «start-stop-daemon» ikke funnet i PATH eller ikke kjørbar.

> 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.


The last line there highlights the cause of the problem - both ldconfig

and start-stop-daemon are in /sbin, which is assumed to be on root's

PATH, and must have the execute bit set. How are you invoking dpkg, in

order to break those assumptions?


Regards,


Adam







Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: