Package: libstdc++2.10-dev Version: 1:2.95.4-0.010424 I tried to do an apt-get dist-upgrade from stable to testing, and it failed. Apologies for the long upgrade log but I don't know what might be useful. The box was running stable+security patches. I have no idea if this is a libstdc++2.10-dev bug, a perl bug, a libc6 bug or a libdb2/libdb3 bug :-> Presumably one of these packages isn't setting its dependencies up correctly... I was able to fix this with "dpkg --configure -a; apt-get -f install"; the log of those commands is also here.
Hope this helps, Peter Maydell ===brief extract giving the error message=== Preparing to replace libstdc++2.10-dev 1:2.95.2-13 (using .../libstdc++2.10-dev_1%3a2.95.4-0.010424_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-0.010424_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 1 ===endit=== ===complete apt-get dist-upgrade transcript=== [skip preconfiguration questions and download progress meter] (Reading database ... 29720 files and directories currently installed.) Removing data-dumper ... (Reading database ... 29705 files and directories currently installed.) Preparing to replace libdb2-util 2:2.4.14-2.7.7.1.c (using .../libdb2-util_2%3a2.7.7-8_i386.deb) ... Unpacking replacement libdb2-util ... Preparing to replace libdb2 2:2.4.14-2.7.7.1.c (using .../libdb2_2%3a2.7.7-8_i386.deb) ... Unpacking replacement libdb2 ... Replacing files in old package libc6 ... Preparing to replace cpp 1:2.95.2-13 (using .../cpp_1%3a2.95.3-7_i386.deb) ... Unpacking replacement cpp ... Selecting previously deselected package cpp-2.95. Unpacking cpp-2.95 (from .../cpp-2.95_1%3a2.95.4-0.010424_i386.deb) ... Preparing to replace gcc 1:2.95.2-13 (using .../gcc_1%3a2.95.3-7_i386.deb) ... Removing old gcc doc directory. Unpacking replacement gcc ... Preparing to replace binutils-dev 2.9.5.0.37-1 (using .../binutils-dev_2.11.90.0.7-2_i386.deb) ... Unpacking replacement binutils-dev ... Preparing to replace binutils 2.9.5.0.37-1 (using .../binutils_2.11.90.0.7-2_i386.deb) ... Unpacking replacement binutils ... Selecting previously deselected package gcc-2.95. Unpacking gcc-2.95 (from .../gcc-2.95_1%3a2.95.4-0.010424_i386.deb) ... Preparing to replace g++ 1:2.95.2-13 (using .../g++_1%3a2.95.3-7_i386.deb) ... Unpacking replacement g++ ... Selecting previously deselected package g++-2.95. Unpacking g++-2.95 (from .../g++-2.95_1%3a2.95.4-0.010424_i386.deb) ... Preparing to replace libstdc++2.10-dev 1:2.95.2-13 (using .../libstdc++2.10-dev_1%3a2.95.4-0.010424_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-0.010424_i386.deb (--unpack): subprocess new pre-removal script returned error exit status 1 dpkg: regarding .../libc6-dev_2.2.3-5_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.3-5_i386.deb (--unpack): conflicting packages - not installing libc6-dev Preparing to replace locales 2.1.3-18 (using .../locales_2.2.3-5_all.deb) ... Unpacking replacement locales ... Preparing to replace libc6-dbg 2.1.3-18 (using .../libc6-dbg_2.2.3-5_i386.deb) ... Unpacking replacement libc6-dbg ... Preparing to replace libc6 2.1.3-18 (using .../libc6_2.2.3-5_i386.deb) ... Unpacking replacement libc6 ... Replacing files in old package ldso ... Replacing files in old package netbase ... Errors were encountered while processing: /var/cache/apt/archives/libstdc++2.10-dev_1%3a2.95.4-0.010424_i386.deb /var/cache/apt/archives/libc6-dev_2.2.3-5_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ===endit=== ===begin dpkg/apt-get repair log=== zircon# dpkg --configure -a dpkg: dependency problems prevent configuration of g++-2.95: g++-2.95 depends on libstdc++2.10-dev (>= 1:2.95.4); however: Version of libstdc++2.10-dev on system is 1:2.95.2-13. dpkg: error processing g++-2.95 (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of g++: g++ depends on g++-2.95; however: Package g++-2.95 is not configured yet. dpkg: error processing g++ (--configure): dependency problems - leaving unconfigured Setting up cpp (2.95.3-7) ... Setting up libc6 (2.2.3-5) ... Checking for services that may need to be restarted...done. Name Service Switch has changed in the C Library. Running programs may not be able to do NSS lookups until they are restarted (for services such as ssh, this can affect your ability to login). Note: restarting sshd should not affect any existing connections. The services detected are: inetd cron boa ssh exim If other services begin to fail mysteriously after this upgrade, it may be necessary to restart them too. Do you wish to Restart Services? [Y/n] Restarting services possibly affected by the upgrade: inetd: stopping...starting...done. cron: stopping...starting...done. boa: stopping...starting...done. ssh: stopping...starting...done. exim: stopping...starting...done. Services restarted succesfully! Current default timezone: 'Europe/London'. Local time is now: Thu Jun 21 16:26:38 BST 2001. Universal Time is now: Thu Jun 21 15:26:38 UTC 2001. Run 'tzconfig' if you wish to change it. Setting up libc6-dbg (2.2.3-5) ... Setting up binutils (2.11.90.0.7-2) ... Setting up locales (2.2.3-5) ... Installing new version of config file /etc/locale.alias ... WARNING: The locales package no longer supplies precompiled versions of the locale definitions. Instead, you must uncomment the definitions you want in /etc/locale.gen, and run the `locale-gen' program as root. Each time the locales package is upgraded, these definitions will automatically be regenerated. If you wish, you can type ^Z (CTRL+Z) now to background this install, edit /etc/locale.gen, and type `fg' when done, so that locales will be generated now. NOTE: If you do not generate locales, you will not be able to properly see 8bit character sets. Press [ENTER] to continue: Generating locales... en_GB.ISO-8859-1... done en_US.ISO-8859-1... done Generation complete. Setting up binutils-dev (2.11.90.0.7-2) ... Setting up libdb2 (2.7.7-8) ... Setting up cpp-2.95 (2.95.4-0.010424) ... Setting up libdb2-util (2.7.7-8) ... Setting up gcc (2.95.3-7) ... Setting up gcc-2.95 (2.95.4-0.010424) ... Errors were encountered while processing: g++-2.95 g++ zircon# apt-get -f install [progress meter] Correcting dependencies... Done The following extra packages will be installed: libc6-dev libstdc++2.10-dev libstdc++2.10-glibc2.2 The following NEW packages will be installed: libstdc++2.10-glibc2.2 The following packages will be upgraded libc6-dev libstdc++2.10-dev 2 packages upgraded, 1 newly installed, 0 to remove and 264 not upgraded. 2 packages not fully installed or removed. Need to get 0B/2717kB of archives. After unpacking 1403kB will be used. Do you want to continue? [Y/n] [progress meter] (Reading database ... 29645 files and directories currently installed.) Unpacking libstdc++2.10-glibc2.2 (from .../libstdc++2.10-glibc2.2_1%3a2.95.4-0.010424_i386.deb) ... Preparing to replace libstdc++2.10-dev 1:2.95.2-13 (using .../libstdc++2.10-dev_1%3a2.95.4-0.010424_i386.deb) ... Unpacking replacement libstdc++2.10-dev ... Preparing to replace libc6-dev 2.1.3-18 (using .../libc6-dev_2.2.3-5_i386.deb) ... Unpacking replacement libc6-dev ... dpkg - warning, overriding problem because --force enabled: trying to overwrite `/usr/bin/rpcgen', which is also in package netbase dpkg - warning, overriding problem because --force enabled: trying to overwrite `/usr/share/man/man1/rpcgen.1.gz', which is also in package netbase Setting up libstdc++2.10-glibc2.2 (2.95.4-0.010424) ... Setting up libc6-dev (2.2.3-5) ... Setting up g++-2.95 (2.95.4-0.010424) ... Setting up libstdc++2.10-dev (2.95.4-0.010424) ... Setting up g++ (2.95.3-7) ... zircon# ===endit===