apt-get, błędy przy instalacji pakietów
: 09 lutego 2011, 18:02
Witam.
Mam problem z instalacją pakietów przez apt-get. Wyskakuje jakiś błąd. Np. wpisując
wyświetla się taki komunikat:
Jak to naprawić? Od razu mówię, że aptitude nie mam zainstalowane.
Pozdrawiam.
Mam problem z instalacją pakietów przez apt-get. Wyskakuje jakiś błąd. Np. wpisując
Kod: Zaznacz cały
apt-get install php5
Kod: Zaznacz cały
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-mpm-worker
The following NEW packages will be installed:
apache2 apache2-mpm-worker
0 upgraded, 2 newly installed, 0 to remove and 126 not upgraded.
Need to get 0B/3600B of archives.
After this operation, 106kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: `ldconfig' 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)
Pozdrawiam.