** Description changed: - This morning I got an update notification saying that new libc6, - libc6-dev, and libc6-i686 packages were available for upgrade. I - clicked OK to upgrade them. The upgrade of libc6-dev failed; the - details from update-manager show: + The preinst script in libc6 (and variants) contains a sanity check which + is designed to locate improperly-installed components of glibc. Upon + finding such a component, it aborts installation of the package. + + The system is not harmed in any way. The only negative effect is a + failure to install updates. + + There are two problems related to this check: + + 1. The test contains a bug causing it to be triggered by an unrelated + (valid) library provided by the libpthread20 package. + + 2. Some users have reported occurrences of /usr/lib/libdl.so.2 and + /usr/lib/libc.so.6. These files are NOT provided by any Ubuntu package + and their origin is as yet unknown. + + For example: (Reading database ... 160320 files and directories currently installed.) Preparing to replace libc6-dev 2.4-1ubuntu12 (using .../libc6-dev_2.4-1ubuntu12.2_i386.deb) ... Unpacking replacement libc6-dev ... Preparing to replace libc6 2.4-1ubuntu12 (using .../libc6_2.4-1ubuntu12.2_i386.deb) ... Matching libraries: /usr/lib/libc.so.6 /lib/ld-linux.so.2 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.4-1ubuntu12.2_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.4-1ubuntu12.2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: dpkg: dependency problems prevent configuration of libc6-dev: libc6-dev depends on libc6 (= 2.4-1ubuntu12.2); however: Version of libc6 on system is 2.4-1ubuntu12. dpkg: error processing libc6-dev (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libc6-dev
** Tags added: regression ** Description changed: The preinst script in libc6 (and variants) contains a sanity check which is designed to locate improperly-installed components of glibc. Upon finding such a component, it aborts installation of the package. The system is not harmed in any way. The only negative effect is a failure to install updates. There are two problems related to this check: 1. The test contains a bug causing it to be triggered by an unrelated (valid) library provided by the libpthread20 package. 2. Some users have reported occurrences of /usr/lib/libdl.so.2 and - /usr/lib/libc.so.6. These files are NOT provided by any Ubuntu package - and their origin is as yet unknown. + /usr/lib/libc.so.6 which trigger the check. These files are NOT + provided by any Ubuntu package and their origin is as yet unknown. For example: (Reading database ... 160320 files and directories currently installed.) Preparing to replace libc6-dev 2.4-1ubuntu12 (using .../libc6-dev_2.4-1ubuntu12.2_i386.deb) ... Unpacking replacement libc6-dev ... Preparing to replace libc6 2.4-1ubuntu12 (using .../libc6_2.4-1ubuntu12.2_i386.deb) ... Matching libraries: /usr/lib/libc.so.6 /lib/ld-linux.so.2 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.4-1ubuntu12.2_i386.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.4-1ubuntu12.2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: dpkg: dependency problems prevent configuration of libc6-dev: libc6-dev depends on libc6 (= 2.4-1ubuntu12.2); however: Version of libc6 on system is 2.4-1ubuntu12. dpkg: error processing libc6-dev (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: libc6-dev -- libc6 update for Edgy fails due to sanity check https://launchpad.net/bugs/81125 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs