unstable apt upgrade failed



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

When I try to apt to upgrade unstable, it failed. Any comments:

lmwang@laptop:~$ sudo apt-get update
Get:1 http://debian.ustc.edu.cn unstable Release.gpg [189B]
Get:2 http://debian.ustc.edu.cn testing Release.gpg [189B]
Get:3 http://debian.ustc.edu.cn stable Release.gpg [189B]
Ign http://debian.ustc.edu.cn unstable Release.gpg
Get:4 http://debian.ustc.edu.cn unstable Release [67.1kB]
Get:5 http://debian.ustc.edu.cn testing Release [62.9kB]
...
Fetched 289kB in 29s (9796B/s)
Reading package lists... Done
lmwang@laptop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.6.ds1-4) but 2.3.6-19 is installed
E: Unmet dependencies. Try using -f.
lmwang@laptop:~$ sudo apt-get upgrade -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages have been kept back:
netbase openoffice.org openoffice.org-base openoffice.org-calc
openoffice.org-core openoffice.org-draw
openoffice.org-impress openoffice.org-math openoffice.org-writer python
python-qt3 tellico whiptail
The following packages will be upgraded:
acpitool autoconf automake1.8 base-files bzip2 cpp-4.1 cron cupsys
cupsys-bsd cupsys-client cupsys-common cvs
emacs-snapshot emacs-snapshot-bin-common emacs-snapshot-common
emacs-snapshot-el fastjar firefox g++-4.1 gaim-data
gcc-4.1 gcc-4.1-base gettext gettext-base gnuplot gnuplot-nox gnuplot-x11
gs-esp hal ifupdown iptables jikes
libart2-ruby libasn1-6-heimdal libatk1-ruby libbz2-1.0 libc6 libc6-i686
libcairo-directfb2 libcairo2 libchm1
libcupsimage2 libcupsys2 libcupsys2-gnutls10 libdb4.4 libgcc1 libgconf2-ruby
libgl1-mesa-glx libglib2-ruby libglu1-mesa
libgssapi4-heimdal libgutenprint2 libhal-storage1 libhal1 libkcal2b
libkdepim1a libkrb5-17-heimdal libkrb53 libktnef1
liblircclient0 libnspr4-0d libnss3-0d libpango1.0-0 libpango1.0-common
libpaper-utils libpaper1 libpci2 libqt3-mt
libroken16-heimdal libslang2 libsnmp-base libsnmp9 libssp0 libstdc++6
libstdc++6-4.1-dev libvolume-id0 libwrap0
libwxbase2.6-0 libwxgtk2.6-0 libxaw7 libxcursor1 libxdamage1 libxext-dev
libxext6 libxfont1 libxi6 libxkbfile1
libxkbui1 libxslt1.1 linux-kernel-headers locales lsb-base manpages msmtp
openoffice.org-common
openoffice.org-java-common openoffice.org-l10n-en-us passwd pciutils
pkg-config tcpd tex-common ttf-opensymbol udev
x-dev x11proto-core-dev x11proto-kb-dev xchm xfonts-encodings xnest
xserver-xorg-core xvnc4viewer
112 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 251kB/130MB of archives.
After unpacking 254kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 ftp://debian.ustc.edu.cn unstable/main base-files 3.1.16 [34.4kB]
Get:2 ftp://debian.ustc.edu.cn unstable/main libpaper1 1.1.20 [20.4kB]
Get:3 ftp://debian.ustc.edu.cn unstable/main libpaper-utils 1.1.20 [17.3kB]
Get:4 ftp://debian.ustc.edu.cn unstable/main libxaw7 1:1.0.2-4 [179kB]
Fetched 251kB in 4s (62.2kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 75339 files and directories currently installed.)
Preparing to replace libc6 2.3.6-19 (using .../libc6_2.3.6.ds1-4_i386.deb) ...
Matching libraries: /usr/lib/libpthread.so.20

A copy of glibc was found in an unexpected directory.
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.3.6.ds1-4_i386.deb
(--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.3.6.ds1-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
lmwang@laptop:~$


Thanks,
Limin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iQEVAwUBRPUcjkztbf7dKiuoAQJlCQf9HD5CL6qUMCNmcrQNlUhx9CzwBxipb/3V
atV2OULvCs4+TWQemUGHbXnd5vvQOE+AHxB52AtlJSHkrBylAud0i7SfX1f68mwd
ITiJ1SwtbLMknmBdaG+kW+axO4z1MA/ADFqj8tFQxf9L86yDcXb4QjpiP8poTjlS
MEvE6+GHlnHjTjnwpww+rSxxGH8WVuZ4Khk5yIeGKwivuqkD+uTpmP9TJveudB+3
/B8tNxD3A1IyUNk20B0FEDxNG0MOGY14J+xi32ehmEi7QjnR/b9upyXY71UuWST+
fqY3ASnhi2oVWciiIa4wViPSKc3YXt/s/i+UhALSgNOsBmzwmrcbkQ==
=H1+n
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: "apt-get" says file a bug report - Should I?
    ... packages* that are too old, and doesn't know what to do about it, to the ... > through each layer of dependencies. ... really looking at an upgrade to "sarge" before I was done. ... put me a good distance of the way to a "sarge" installation anyway. ...
    (Debian-User)
  • Re: "apt-get" says file a bug report - Should I?
    ... but the following packages have unmet dependencies: ... | I've verified that "apt-get" really is trying to go get ... willing to attempt the upgrade and see what happens. ...
    (Debian-User)
  • Re: debian unstable, stable enough?
    ... Both have Gnome ... packages residing in stable. ... > complete upgrade to propagate to testing. ... No package enters Testing until all its dependencies are satisfied. ...
    (Debian-User)
  • Re: dist-upgrade . . . to what?
    ... > automatically tries to resolve problems with dependencies when upgrading ... That is, for instance, it will remove conflicting packages. ... Uh, no, the difference between the 'upgrade' and 'dist-upgrade' targets is ... Both of them resolve "problems" with dependencies... ...
    (Debian-User)
  • Jaunty python upgrade prevents pygtk apps from working
    ... making it harder to upgrade to a fixed version. ... Access to the bad packages was blocked, which is why you might have ... just be sure that you don't install that version if it is still ... sudo apt-get upgrade ...
    (Ubuntu)