Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Mam taki duży problem. Na uczelni mamy sobie serwerek no i do su mają dostęp 3 osoby ostatnio coś się posypało. A więc kilka komunikatów przy używaniu apt:
dpkg-reconfigure locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "pl_PL", LC_ALL = "pl_PL", LANG = "pl_PL" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory /usr/sbin/dpkg-reconfigure: locales is broken or not fully installed
A po próbie instalacji locales:
Reading Package Lists... Done Building Dependency Tree... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies: locales: Depends: glibc-2.3.2.ds1-22sarge3 E: Broken packages
Wymysliłem apt-get --reinstall install glibc-2.3.2.ds1-22sarge3
apt-get --reinstall install glibc-2.3.2.ds1-22sarge3 Reading Package Lists... Done Building Dependency Tree... Done Note, selecting libc6 instead of glibc-2.3.2.ds1-22sarge3 Reinstallation of libc6 is not possible, it cannot be downloaded. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Normalnie zostaje mi tylko jedno help :(
Offline
deb ftp://ftp.ps.pl/pub/Linux/debian/ stable main contrib non-free
deb http://security.debian.org/ stable/updates main
deb http://www.kadu.net/download/binary/debian/repo stable main
i jeszcze jedne który wyhaszowalem.
#deb ftp://ftp.ps.pl/pub/Linux/debian/ testing main contrib non-free
Offline
apt-get install --reinstall libc6 Reading Package Lists... Done Building Dependency Tree... Done Reinstallation of libc6 is not possible, it cannot be downloaded. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Offline
Zainstaluj soibe pakiet apt-show-versions i zobacz:
apt-show-versions -a locales
Offline
apt-show-versions -a locales perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = "pl_PL", LANG = "pl_PL" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locales deinstall ok config-files locales 2.3.2.ds1-22sarge3 stable locales not installed
Offline
Coś nieźle jest namieszane....
apt-get update Hit http://www.kadu.net stable/main Packages Ign http://www.kadu.net stable/main Release Hit http://security.debian.org stable/updates/main Packages Hit http://security.debian.org stable/updates/main Release Hit ftp://ftp.ps.pl stable/main Packages Hit ftp://ftp.ps.pl stable/main Release Hit ftp://ftp.ps.pl stable/contrib Packages Hit ftp://ftp.ps.pl stable/contrib Release Hit ftp://ftp.ps.pl stable/non-free Packages Hit ftp://ftp.ps.pl stable/non-free Release Reading Package Lists... Error! E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory) E: The package lists or status file could not be parsed or opened.
No normalnie niemam siły już ktoś mi dopisał w sources kadu....
DObra poszło ale wywala teraz to:
apt-get install --reinstall locales Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: debconf debconf-i18n libc6 libdb1-compat liblocale-gettext-perl libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl perl-base Suggested packages: debconf-doc debconf-utils whiptail dialog gnome-utils libterm-readline-gnu-perl libgnome2-perl libqt-perl libnet-ldap-perl glibc-doc Recommended packages: apt-utils The following NEW packages will be installed: debconf debconf-i18n libc6 libdb1-compat liblocale-gettext-perl libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl locales perl-base 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/9925kB of archives. After unpacking 30.7MB of additional disk space will be used. Do you want to continue? [Y/n] y perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "pl_PL", LC_ALL = "pl_PL", LANG = "pl_PL" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory E: Cannot get debconf version. Is debconf installed? dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (2)
Stworzyłem ręcznie pusty plik /var/lib/dpkg/available
Teraz mam tak:
Unpacking libdb1-compat (from .../libdb1-compat_2.1.3-7_i386.deb) ... dpkg: error processing /var/cache/apt/archives/libdb1-compat_2.1.3-7_i386.deb (--unpack): unable to create updated files list file for package libdb1-compat: No such file or directory Unpacking libc6 (from .../libc6_2.3.2.ds1-22sarge3_i386.deb) ... dpkg not recorded as installed, cannot check for epoch support ! dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-22sarge3_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libdb1-compat_2.1.3-7_i386.deb /var/cache/apt/archives/libc6_2.3.2.ds1-22sarge3_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Offline
Dobra troche przebrnąłem, dodałem do surces testing i dałem
apt-get -t stable install --reinstall locales
no i poszło i teraz mam inny problem, chciałem zainstalować mysql'a
i mam coś takiego
apt-get install mysql-server Czytanie list pakietów... Gotowe Budowanie drzewa zależności... Gotowe Zostaną zainstalowane następujące dodatkowe pakiety: exim4 exim4-base exim4-config exim4-daemon-light mailx Sugerowane pakiety: eximon4 exim4-doc-html exim4-doc-info Zostaną zainstalowane następujące NOWE pakiety: exim4 exim4-base exim4-config exim4-daemon-light mailx mysql-server 0 zaktualizowanych, 6 nowo zainstalowanych, 0 do usunięcia i 0 nie zaktualizowanych. Konieczne pobranie 0B/5224kB archiwów. Po rozpakowaniu zostanie dodatkowo użyte 11,9MB miejsca na dysku. Czy chcesz kontynuować? [T/n] t Prekonfiguracja pakietów ... Zaznaczenie poprzednio niezaznaczonego pakietu exim4-config. (Odczytywanie bazy danych ... 35577 plików i katalogów obecnie zainstalowanych.) Rozpakowanie exim4-config (z .../exim4-config_4.50-8sarge2_all.deb) ... Zaznaczenie poprzednio niezaznaczonego pakietu exim4-base. Rozpakowanie exim4-base (z .../exim4-base_4.50-8sarge2_i386.deb) ... Zaznaczenie poprzednio niezaznaczonego pakietu exim4-daemon-light. Rozpakowanie exim4-daemon-light (z .../exim4-daemon-light_4.50-8sarge2_i386.deb) ... Zaznaczenie poprzednio niezaznaczonego pakietu exim4. Rozpakowanie exim4 (z .../exim4_4.50-8sarge2_all.deb) ... Zaznaczenie poprzednio niezaznaczonego pakietu mailx. Rozpakowanie mailx (z .../mailx_1%3a8.1.2-0.20040524cvs-4_i386.deb) ... Zaznaczenie poprzednio niezaznaczonego pakietu mysql-server. Rozpakowanie mysql-server (z .../mysql-server_4.0.24-10sarge1_i386.deb) ... Konfigurowanie exim4-config (4.50-8sarge2) ... find: invalid argument `mail' to `-user' find: invalid argument `mail' to `-group' Error: Unsplit config selected and /etc/exim4/exim4.conf.template missing ... exiting dpkg: błąd przetwarzania exim4-config (--configure): podproces post-installation script zwrócił kod błędu 1 dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie exim4-base: exim4-base zależy od exim4-config (>= 4.30) | exim4-config-2; jednakże: Pakiet exim4-config nie jest jeszcze skonfigurowany. Pakiet exim4-config-2 nie jest zainstalowany. Pakiet exim4-config który dostarcza exim4-config-2 nie jest jeszcze skonfigurowany. dpkg: błąd przetwarzania exim4-base (--configure): problemy z zależnościami - pozostawiony nieskonfigurowany dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie exim4-daemon-light: exim4-daemon-light zależy od exim4-base (>= 4.50); jednakże: Pakiet exim4-base nie jest jeszcze skonfigurowany. dpkg: błąd przetwarzania exim4-daemon-light (--configure): problemy z zależnościami - pozostawiony nieskonfigurowany dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie exim4: exim4 zależy od exim4-base (>= 4.50); jednakże: Pakiet exim4-base nie jest jeszcze skonfigurowany. exim4 zależy od exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom; jednakże: Pakiet exim4-daemon-light nie jest jeszcze skonfigurowany. Pakiet exim4-daemon-heavy nie jest zainstalowany. Pakiet exim4-daemon-custom nie jest zainstalowany. dpkg: błąd przetwarzania exim4 (--configure): problemy z zależnościami - pozostawiony nieskonfigurowany dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie mailx: mailx zależy od exim4 | mail-transport-agent; jednakże: Pakiet exim4 nie jest jeszcze skonfigurowany. Pakiet mail-transport-agent nie jest zainstalowany. Pakiet exim4-daemon-light który dostarcza mail-transport-agent nie jest jeszcze skonfigurowany. dpkg: błąd przetwarzania mailx (--configure): problemy z zależnościami - pozostawiony nieskonfigurowany dpkg: problemy z zależnościami uniemożliwiają skonfigurowanie mysql-server: mysql-server zależy od mailx; jednakże: Pakiet mailx nie jest jeszcze skonfigurowany. dpkg: błąd przetwarzania mysql-server (--configure): problemy z zależnościami - pozostawiony nieskonfigurowany Wystąpiły błędy podczas przetwarzania: exim4-config exim4-base exim4-daemon-light exim4 mailx mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)
Offline
Jakby ktoś kiedyś miał takie problemy to wszystko się rozwiązało w taki sposób:
Dodałem do sources.list linijke z testingiem i zainstalowałem pakiety w starszych wersjach. NIechciało się to robić gdy w sources niebyło tego wpisu.
Tak postapiłem z każdym problemowym programem (czyli tym który pluł błedy) i wszystko wróciło do normy. Do tego ostatnio ktoś wskazał mi backporty i z nimi życie stało sie jescze piękniejsze.
Offline