Your message dated Fri, 24 Aug 2018 02:10:30 +0200
with message-id <20180824001029.ga20...@gaara.hadrons.org>
and subject line Re: Bug#906810: dpkg: error: 2 expected programs not found in
PATH or not executable
has caused the Debian Bug report #906810,
regarding dpkg: error: 2 expected programs not found in PATH or not executable
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
906810: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906810
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg
Version: 1.19.0.5+b1
After updating from stable to testing I receive the following error messages
when I use aptitude to install packages:
# aptitude safe-upgrade;
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
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)
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
Exporting the PATH before running the same command fix the issue: export
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
The same happens for full-upgrade, install, etc ...
--- End Message ---
--- Begin Message ---
Hi!
On Tue, 2018-08-21 at 12:55:27 +0000, Thom Thom wrote:
> Package: dpkg
> Version: 1.19.0.5+b1
> After updating from stable to testing I receive the following error
> messages when I use aptitude to install packages:
> # aptitude safe-upgrade;
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B of archives. After unpacking 0 B will be used.
> 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)
> 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
>
> Exporting the PATH before running the same command fix the issue: export
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Right, a valid and sane PATH is expected to be set. The possible
fallback PATH does not contain the required paths, and those are
system specific anyway.
> The same happens for full-upgrade, install, etc ...
Sure, you just need to have a proper PATH defined. Thus closing.
Thanks,
Guilem
--- End Message ---