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

Re: dpkg: XYZXYZ not found on PATH



Jörg Schütter <joerg@schuetter.org> wrote:

> Hallo Heino,
>
> On Thu, 29 May 2003 14:40:38 +0200
> Heino Tiedemann <rotkap@rotkap.de> wrote:
>
>> Hallo,
>> 
>> 
> [...]
>> | 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)
>> 
>> Stimmt:
>> -ldconfig
>> -start-stop-daemon
>> -install-info
>> -update-rc.d
>> sind allesammt nicht auf meinem System.
>
> sollten aber eigentlich sein. Versuch mal
> export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
> und anschließend erneut den apt-get.

Du hast recht.

Die /sbin/ Pfade fehlen.

root@ridcully:~# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

Warum zum Henker das denn? 


,----[ /root/.profile ]
| PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
| export PATH
`----

Wieso hat debian die nicht mit reinkonfiguriert?


*kopfkratz* Heino


-- 
http://www.fritz-kola.de/ (Die neue Kola für Hamburg)



Reply to: