Strona 1 z 2
[+] błąd przy aktualizacji pakietów
: 03 lutego 2011, 21:18
autor: sq2wkj
Witam
.
Mam następujący błąd podczas
aktualizacji pakietów:
Kod: Zaznacz cały
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
libc6-i686: PreDepends: libc6 (= 2.7-18lenny2) but 2.7-18lenny7 is installed
E: Unmet dependencies. Try using -f.
Dodam, że
nie pomaga, co robić?
Debian Lenny i386.
: 03 lutego 2011, 21:33
autor: DaVidoSS
: 03 lutego 2011, 21:39
autor: sq2wkj
A jest inne wyjście niż podnoszenie wersji dystrybucji?
Dlaczego wystąpił taki błąd?
Dziękuję za odpowiedź.
: 03 lutego 2011, 23:09
autor: lessmian2
sq2wkj, a gdzie DaVidoSS napisał o podnoszeniu wersji Debiana?
: 03 lutego 2011, 23:14
autor: sq2wkj
Myślałem, że polecenie to aktualizuje dystrybucję.
Polecenie
powoduje:
Kod: Zaznacz cały
apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
libbind9-50 libdns58 libisc50 libisccc50 libisccfg50 liblwres50
The following packages will be upgraded:
apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-common apt
apt-utils avahi-daemon bind9-host bzip2 cpio dbus dbus-x11
debian-archive-keyring dnsutils dpkg dpkg-dev exim4-base exim4-config
exim4-daemon-light ghostscript gs-common iputils-ping libapache2-mod-perl2
libapache2-mod-php5 libapr1 libaprutil1 libavahi-common-data
libavahi-common3 libavahi-core5 libbz2-1.0 libc6-i686 libdbus-1-3
libfreetype6 libgs8 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libkrb53
libldap-2.4-2 libmagick10 libmozjs1d libmysqlclient15-dev
libmysqlclient15off libnss3-1d libpango1.0-0 libpango1.0-common libperl5.10
libpng12-0 libpq5 libssl-dev libssl0.9.8 libtiff4 libwww-perl libxext6
libxml2 linux-image-2.6.26-2-686 linux-libc-dev locales man-db mysql-client
mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 nano openssl
perl perl-base perl-modules php-pear php5 php5-cli php5-common php5-curl
php5-dev php5-gd php5-imap php5-mcrypt php5-mhash php5-mysql php5-pspell
php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl phpmyadmin
python-support sudo sun-java6-bin sun-java6-jre sun-java6-plugin tar tzdata
usbutils w3m wget xulrunner-1.9
100 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B/176MB of archives.
After this operation, 5220kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up libc6 (2.7-18lenny7) ...
/var/lib/dpkg/info/libc6.postinst: line 379: 9236 Segmentation fault ldconfig
dpkg: error processing libc6 (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
libc6
E: Sub-process /usr/bin/dpkg returned an error code (1)
: 03 lutego 2011, 23:36
autor: fnmirk
Wyłącz środowisko graficzne i wykonaj całą operację w czystym trybie tekstowym.
: 04 lutego 2011, 07:03
autor: sq2wkj
Do serwera mam dostep przez ssh.
Nie mam środowiska graficznego.
Proszę o więcej szczegółów.
Pozdrawiam
: 04 lutego 2011, 09:57
autor: fnmirk
: 04 lutego 2011, 12:34
autor: sq2wkj
Kod: Zaznacz cały
debian~:#cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main
#deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main
deb [URL]http://ftp.pl.debian.org/debian/[/URL] lenny main
deb-src [URL]http://ftp.pl.debian.org/debian/[/URL] lenny main
deb [URL]http://security.debian.org/[/URL] lenny/updates main
deb-src [URL]http://security.debian.org/[/URL] lenny/updates main
deb [URL]http://volatile.debian.org/debian-volatile[/URL] lenny/volatile main
deb-src [URL]http://volatile.debian.org/debian-volatile[/URL] lenny/volatile main
# wpisy dodane - java
deb [URL]http://ftp.pl.debian.org/debian/[/URL] lenny non-free contrib
deb-src [URL]http://ftp.pl.debian.org/debian/[/URL] lenny non-free contrib
deb [URL]http://security.debian.org/[/URL] lenny/updates contrib non-free
deb-src [URL]http://security.debian.org/[/URL] lenny/updates contrib non-free
# Oracle Repository
deb [URL]http://oss.oracle.com/debian[/URL] unstable main non-free
deb [URL]http://security.debian.org/debian-security[/URL] lenny/updates main
: 04 lutego 2011, 22:53
autor: fnmirk
To wyłącz:
" pisze:Kod: Zaznacz cały
# Oracle Repository
deb http://oss.oracle.com/debian unstable main non-free
deb http://security.debian.org/debian-security lenny/updates main
Następnie sprawdź jeszcze raz aktualizację systemu.