Re: apt-get upgrade
On Mon, Oct 25, 2004 at 09:20:26AM +1300, Johnno wrote:
> When I do a apt-get upgrade on one the the servers here I get this error
> message:
>
> Do you want to continue? [Y/n]
> dpkg: `ldconfig' not found on PATH.
> dpkg: `start-stop-daemon' not found on PATH.
> dpkg: `install-info' not found on PATH.
> dpkg: `update-rc.d' not found on PATH.
> dpkg: 4 expected program(s) not found on PATH.
> NB: 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 package is install, any ideas?
The error message given should be sufficient to fix the problem:
> NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin.
If you're running bash, you should run:
PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
export PATH
apt-get upgrade
Steve
--
Reply to: