[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#135180: apt-get dist-upgrade fails leaving system unusable



Package: apt
Version: 0.5.4
Severity: critical
Justification: breaks the whole system

I just tried doing a "apt-get dist-upgrade" of a potato system to woody.
(First time I had done so on a non-freshly installed system.)  It failed,
leaving many packages unconfigured and/or uninstalled, and perl seems to
be broken and can't be upgraded.

The first problem encountered was the large amount of disk space for
downloading packages.  I tried working around this by upgrading apt first
(which worked), but this wasn't enough so I created a symbolic link for
/var/cache/apt/archives to a bigger partition.

complete logs are available at
http://www.blars.org/obfuscate/

sources.list is /etc/apt/sources.list
dist-upgrade.gz is first attempt, cumulating in sucessful "apt-get upgrade apt"
dist-upgrade2.gz is second attempt, including various failed workarounds
dist-upgrade3.gz is more workarounds -- libc6 upgraded, perl fails
(warning: large files)

Errors include:
...
Use of uninitialized value at /usr/lib/perl5/Debian/DebConf/Element/Dialog/Multiselect.pm line 68.
Use of uninitialized value at /usr/lib/perl5/Debian/DebConf/Element/Dialog/Multiselect.pm line 69.
...
Preparing to replace libstdc++2.10-dev 1:2.95.2-13 (using .../libstdc++2.10-dev_1%3a2.95.4-1_i386.deb) ...
perl: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /lib/libdb.so.3)
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
perl: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /lib/libdb.so.3)
dpkg: error processing /var/cache/apt/archives/libstdc++2.10-dev_1%3a2.95.4-1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
dpkg: regarding .../libc6-dev_2.2.5-3_i386.deb containing libc6-dev:
 libc6-dev conflicts with libstdc++2.10-dev (<< 1:2.95.2-15)
  libstdc++2.10-dev (version 1:2.95.2-13) is installed.
dpkg: error processing /var/cache/apt/archives/libc6-dev_2.2.5-3_i386.deb (--unpack):
 conflicting packages - not installing libc6-dev
Selecting previously deselected package libgtk1.2-common.

Sorry, but the following packages have unmet dependencies:
  binutils: Depends: libc6 (>= 2.2.4-4) but 2.1.3-20 is installed
  cpp-2.95: Depends: libc6 (>= 2.2.4-4) but 2.1.3-20 is installed
  g++-2.95: Depends: libc6 (>= 2.2.4-4) but 2.1.3-20 is installed
            Depends: libstdc++2.10-dev (>= 1:2.95.4) but 1:2.95.2-13 is installe
d
  gcc-2.95: Depends: libc6 (>= 2.2.4-4) but 2.1.3-20 is installed
  gobjc-2.95: Depends: libc6 (>= 2.2.4-4) but 2.1.3-20 is installed
  libdb2: Depends: libc6 (>= 2.2.4-4) but 2.1.3-20 is installed
  libdb2-util: Depends: libc6 (>= 2.2.4-4) but 2.1.3-20 is installed
  libfreetype6: Depends: libc6 (>= 2.2.4-4) but 2.1.3-20 is installed
  locales: Depends: glibc-2.2.5-3
  perl-modules: Depends: perl (>= 5.6.1-1) but it is not installed
  xlib6g: Depends: xlibs but it is not installed
          Depends: libxaw6 but it is not installed
E: Unmet dependencies. Try using -f.
...
perl: /lib/libc.so.6: version `GLIBC_2.2' not found (required by /lib/libdb.so.3)
E: Write error - write (32 Broken pipe)
E: Failure running script /usr/sbin/dpkg-preconfigure --apt
...



System info listed here is from working woody system, not the broken
system with the problem.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux monkey 2.4.13-586-ext3 #1 Die Nov 6 00:09:32 CET 2001 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                         2.2.5-3    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2        1:2.95.4-1 The GNU stdc++ library




Reply to: