Check /etc/profile.
If PATH was redeclared in /root/.bashrc, you get it correct on bash, but apt
doesn't source that file.
--- In Ricardo Gabriel <> wrote:
>
> Hi.
>
> logging as root,
>
> I write the following command:
>
> echo $ PATH
>
> Just that.
>
>
> Ricardo
>
>
>
> ________________________________
> De: g_martino <>
> Para:
> Enviado: domingo, 22 de mayo de 2011 9:48
> Asunto: [ts-7000] Re: Problem with apt-get command in kernel 2.6
>
>
> Â
> How did you check $PATH?
>
> --- In "ricardogabriel5" <ricardogabriel5@> wrote:
> >
> > I load the kernel (tskernel-2.6.21-ts) via tftp, in a USB flash drive with
> > a Debian Sarge udev filesystem.
> >
> > When I try install or upgrade some program (for example gcc compiler), the
> > apt-get command give me the following error, after to download the packages
> > of the program that I want to install or upgrade:
> >
> > dpkg: `install-info' not found on PATH.
> > dpkg: 1 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)
> >
> > I checked the PATH, and it is correct.
> >
> > How I can solve that?
> >
> > Regards,
> >
> > Ricardo
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|