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

Re: CRON-APT error on, strange claim that PATH isn't setup



On Sat, Aug 24, 2002 at 09:56:05AM -0400, Walter Tautz wrote:
> I did an auto upgrade and received the following: It is odd that it thinks the
> path is isn't set since it clearly is when I login?
...
> Fetched 16.7MB in 36s (460kB/s)
> 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)
If I remember right, CRON environment is not ssame as normal root
account shall.$HOME is / and $PATH may be empty unless you set them in
your script.

Good luck.
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
         Osamu Aoki @ Cupertino CA USA, GPG-key: A8061F32
 .''`.   Debian Reference: post-installation user's guide for non-developer
 : :' :    http://www.debian.org/doc/manuals/reference/  http://qref.sf.net
 `. `'   "Our Priorities are Our Users and Free Software" - Social Contract



Reply to: