Apt-get tout cassé

Bon, j’ai gardé le fichier sources.list comme tu me l’as décrit.

# aptitude update
Hit http://security.debian.org squeeze/updates Release.gpg
Hit http://security.debian.org squeeze/updates Release
Ign http://security.debian.org squeeze/updates/main Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/contrib Packages/DiffIndex
Ign http://security.debian.org squeeze/updates/non-free Packages/DiffIndex
Hit http://security.debian.org squeeze/updates/main Packages
Hit http://security.debian.org squeeze/updates/contrib Packages
Hit http://security.debian.org squeeze/updates/non-free Packages
Hit http://ftp.fr.debian.org squeeze Release.gpg
Hit http://ftp.fr.debian.org squeeze-updates Release.gpg
Hit http://ftp.fr.debian.org squeeze Release
Hit http://ftp.fr.debian.org squeeze-updates Release
Ign http://ftp.fr.debian.org squeeze/main Packages/DiffIndex
Ign http://ftp.fr.debian.org squeeze/contrib Packages/DiffIndex
Ign http://ftp.fr.debian.org squeeze/non-free Packages/DiffIndex
Hit http://ftp.fr.debian.org squeeze-updates/main Packages/DiffIndex
Ign http://ftp.fr.debian.org squeeze-updates/contrib Packages/DiffIndex
Ign http://ftp.fr.debian.org squeeze-updates/non-free Packages/DiffIndex
Hit http://ftp.fr.debian.org squeeze/main Packages
Hit http://ftp.fr.debian.org squeeze/contrib Packages
Hit http://ftp.fr.debian.org squeeze/non-free Packages
Hit http://ftp.fr.debian.org squeeze-updates/main Packages
Hit http://ftp.fr.debian.org squeeze-updates/contrib Packages
Hit http://ftp.fr.debian.org squeeze-updates/non-free Packages
Reading package lists... Done

(oui oui, j’ai pensé au ‘aptitude update’ ^^)

# apt-cache policy libc-bin
libc-bin:
  Installed: 2.11.2-2
  Candidate: 2.11.3-4
  Version table:
     2.11.3-4 0
        500 http://ftp.fr.debian.org squeeze/main Packages
 *** 2.11.2-2 0
        100 /var/lib/dpkg/status
# aptitude -s upgrade
W: The "upgrade" command is deprecated; use "safe-upgrade" instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
open: 23; closed: 4997; defer: 6678; conflict: 7                                                                                                                                                        The following packages have unmet dependencies:
  libc6: Depends: libc-bin (= 2.13-38) but 2.11.2-2 is installed and it is kept back.

La commande est bien finie, à ce stade. Ca ne vas pas plus loin.

# aptitude -s safe-upgrade

Ou alors.

# aptitude -s full-upgrade

Voulez vous continuer Y/n/? N

 $ dpkg -l | grep libc-bin

Les questions, subsidiaires, ont oublies, hein … :083 :mrgreen:

Re,

Au fait, je suis passé à côté. :12

[quote=“LeNouveau”]# apt-cache policy libc-bin
libc-bin:
Installed: 2.11.2-2
Candidate: 2.11.3-4[/quote]

[17:58:40] ~ # apt-cache policy libc-bin libc-bin: Installé : 2.13-38 Candidat : 2.13-38 Table de version : 2.17-93 0 97 http://ftp.fr.debian.org/debian/ testing/main i386 Packages 95 http://ftp.fr.debian.org/debian/ unstable/main i386 Packages *** 2.13-38 0 990 http://ftp.fr.debian.org/debian/ stable/main i386 Packages 100 /var/lib/dpkg/status 2.11.3-4 0 500 http://ftp.fr.debian.org/debian/ oldstable/main i386 Packages [17:58:43] ~ #
Mais avant.

~ # aptitude clean
~ # aptitude autoclean
 ~ # aptitude update
...
 38,9 Mo téléchargés en 1min 38s (395 ko/s)                                  
[18:04:19] ~ # 

En simulation, (-s) j’insiste !

# aptitude -s remove --purge libc-bin

Ceci, dans le but de réinstaller ce dernier, proprement.


Pour les mauvaises langues, hein …

[18:13:42] ~ # acp libc-bin libc-bin: Installé : 2.17-93 Candidat : 2.17-93 Table de version : *** 2.17-93 0 987 http://ftp.fr.debian.org/debian/ unstable/main i386 Packages 980 http://ftp.fr.debian.org/debian/ testing/main i386 Packages 100 /var/lib/dpkg/status 2.13-38 0 983 http://ftp.fr.debian.org/debian/ stable/main i386 Packages [18:13:48] ~ #

Bon, voila les résultats :

# aptitude -s safe-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done open: 23; closed: 4997; defer: 6678; conflict: 7 oThe following packages have unmet dependencies: libc6: Depends: libc-bin (= 2.13-38) but 2.11.2-2 is installed and it is kept back.

[code]# aptitude -s full-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
The following packages are BROKEN:
libc6 libept0 libxcb1
The following NEW packages will be installed:
apache2.2-bin{a} apt-xapian-index{a} dash{a} diffutils{a} dmsetup{a} geoip-database{a} gnupg-curl{a} insserv{a} install-info{a} isc-dhcp-client{a} isc-dhcp-common{a} iso-codes{a}
libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} libavahi-core7{a} libbind9-60{a} libboost-iostreams1.42.0{a} libbsd0{a} libcap-ng0{a} libcurl3-gnutls{a} libdns69{a} libept1{a}
libfile-copy-recursive-perl{a} libgeoip1{a} libisc62{a} libisccc60{a} libisccfg62{a} liblwres60{a} libnfnetlink0{a} libonig2{a} libparted0debian1{a} libpci3{a} libpython2.6{a} libqdbm14{a}
libudev0{a} libxapian22{a} lsb-release{a} pciutils{a} php5-suhosin{a} python-apt{a} python-apt-common{a} python-central{a} python-chardet{a} python-debian{a} python-support{a} python-xapian{a}
python2.6{a} python2.6-minimal{a} sensible-utils{a} usbutils{a}
The following packages will be upgraded:
adduser apache2 apache2-mpm-prefork apache2-utils apache2.2-common apt apt-utils aptitude avahi-autoipd avahi-daemon avahi-utils base-files base-passwd bash bind9-host binutils bsdmainutils
bsdutils bzip2 ca-certificates coreutils cpio cracklib-runtime cron curl dbus dbus-x11 debconf debconf-i18n debian-archive-keyring debianutils dhcp3-client dhcp3-common dictionaries-common diff
dnsutils dosfstools dpkg e2fslibs e2fsprogs ed ethtool ffmpeg file findutils gcc-4.3-base gcc-4.4-base gdb gdbserver gnupg gpgv grep groff-base gzip hostname ifplugd ifupdown info initscripts
iproute iptables iputils-ping libacl1 libapache2-mod-php5 libapr1 libaprutil1 libasound2 libattr1 libavahi-client3 libavahi-common-data libavahi-common3 libavcodec-dev libavcodec52 libavdevice52
libavfilter0 libavformat-dev libavformat52 libavutil-dev libavutil49 libblkid1 libbz2-1.0 libc-bin libcap2 libcomerr2 libconsole libcrack2 libcups2 libcurl3 libcwidget3 libdaemon0 libdb4.6
libdb4.8 libdbus-1-3 libdc1394-22 libdevmapper1.02.1 libdirectfb-1.2-9 libedit2 libexpat1 libfaad2 libfontenc1 libfreetype6 libgcc1 libgdbm3 libgomp1 libgssapi-krb5-2 libgssglue1 libk5crypto3
libkeyutils1 libkrb5-3 libkrb53 libkrb5support0 libldap-2.4-2 liblocale-gettext-perl liblockfile1 liblzma2 libmagic1 libncurses5 libncursesw5 libnewt0.52 libnfsidmap2 libnss-mdns libogg0
libopenjpeg2 liborc-0.4-0 libpam-modules libpam-runtime libpam0g libparted0 libpng12-0 libpostproc51 libpq5 libraw1394-11 libreadline5 libreadline6 librpcsecgss3 libsasl2-2 libsdl1.2debian
libsdl1.2debian-oss libselinux1 libsepol1 libsigc+±2.0-0c2a libslang2 libsqlite0 libss2 libssh2-1 libssl0.9.8 libstdc++6 libswscale0 libsysfs2 libtasn1-3 libtext-charwidth-perl
libtext-iconv-perl libtext-wrapi18n-perl libtheora0 libupnp3 libusb-0.1-4 libusb-1.0-0 libuuid1 libvorbis0a libvorbisenc2 libwrap0 libx11-6 libx11-data libxau6 libxdmcp6 libxext6 libxml2
libxmuu1 libxslt1.1 lockfile-progs login logrotate lsb-base lsof mac-fdisk makedev man-db manpages mawk mdadm mktemp module-init-tools mount mysql-common nano ncurses-base ncurses-bin net-tools
netbase nfs-common ntpdate openssh-client openssh-server openssl openvpn parted passwd perl perl-base perl-modules php-apc php5 php5-cli php5-common php5-curl php5-sqlite portmap powerpc-utils
procps psmisc python python-minimal python2.5 python2.5-minimal readline-common rsync rsyslog sed sgml-base smartmontools sudo sysv-rc sysvinit sysvinit-utils tar tasksel tasksel-data tcpd
traceroute tzdata ucf udev unzip update-inetd util-linux vim-common vim-tiny vsftpd wfinnish wget whiptail x11-common xauth xfsprogs xml-core xmlstarlet xz-utils yaboot zlib1g
The following partially installed packages will be configured:
libc6-ppc64 locales
The following packages are RECOMMENDED but will NOT be installed:
aptitude-doc-cs aptitude-doc-en aptitude-doc-es aptitude-doc-fi aptitude-doc-fr aptitude-doc-ja bash-completion bsd-mailx citadel-mta courier-mta dma esmtp-run exim4 exim4-daemon-heavy
exim4-daemon-light heirloom-mailx hfsutils laptop-detect libatm1 libfribidi0 libgpm2 libparse-debianchangelog-perl libsasl2-modules mailutils masqmail msmtp-mta nullmailer postfix sendmail-bin
ssl-cert ssmtp uuid-runtime xmail
250 packages upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
Need to get 119MB/123MB of archives. After unpacking 82.3MB will be used.
The following packages have unmet dependencies:
libxcb1: Breaks: libxcb-xlib0 but 1.1-1.2 is installed.
libept0: Depends: libapt-pkg-libc6.7-6-4.6 which is a virtual package.
libc6: Depends: libc-bin (= 2.13-38) but 2.11.3-4 is to be installed.
The following actions will resolve these dependencies:

Remove the following packages:
libc6-ppc64
libept0
libxcb-xlib0
locales

Install the following packages:
libsasl2-modules [2.1.23.dfsg1-7 (oldstable)]

Downgrade the following packages:
libc6 [2.13-38 (now) -> 2.11.3-4 (oldstable)][/code]
Ensuite, il m’offre tout plein de propositions avec un score. Il représente quoi ce score ? oO

# dpkg -l | grep libc-bin ii libc-bin 2.11.2-2 Embedded GNU C Library: Binaries

[code]# aptitude -s remove --purge libc-bin
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
The following packages are BROKEN:
libc6
The following packages will be REMOVED:
libc-bin
The following partially installed packages will be configured:
libc6-ppc64 locales
0 packages upgraded, 0 newly installed, 1 to remove and 249 not upgraded.
Need to get 0B of archives. After unpacking 1679kB will be freed.
The following packages have unmet dependencies:
libc6: Depends: libc-bin (= 2.13-38) but it is not installable
The following actions will resolve these dependencies:

Remove the following packages:
libc6-ppc64
locales

Upgrade the following packages:
libc-bin [2.11.2-2 (now) -> 2.11.3-4 (oldstable)]

Downgrade the following packages:
libc6 [2.13-38 (now) -> 2.11.3-4 (oldstable)]

Score is -9770

Accept this solution? [Y/n/q/?] [/code]
Là je perds tout plein de points, dans mon score ^^’

[quote=“LeNouveau”]Upgrade the following packages:
libc-bin [2.11.2-2 (now) -> 2.11.3-4 (oldstable)]

Downgrade the following packages:
libc6 [2.13-38 (now) -> 2.11.3-4 (oldstable)]

Score is -9770

Accept this solution? [Y/n/q/?]

[/quote]
Tu me baratines, depuis le début ! Je passe :108 !!!

En avez tu …

Courage pour la suite.

Heuuu, non, pourquoi je baratinerais ?!
Perso, je ne trouve pas ça très amusant de passer ma journée sur un problème comme ça.

Tu as eu les résultats de toutes mes commandes, même si je n’en comprenais pas toujours les subtilités.

Bon bah merci quand même…
Tchuss

Bon, si quelqu’un se perd sur cette conversation, ça ne sert à rien de tout lire.
La seule solution aura été de forcer la remise à jour du firmware. mybookworld.wikidot.com/forum/t-307650

Bonne continuation

J’ai un disque dur Western Digital sur ma machine, mais je n’utilise pas (et ne connais même pas) cette bibliothèque.