Package: libc6
Version: 2.17-1
Justification: renders package unusable
Severity: grave
Dear Maintainer,
I was trying to upgrade libc6 when I was hit by the following :-
$ sudo aptitude install libc6-i386= 2.17-1 libc6=2.17-1 -y
The following packages will be upgraded:
libc6
1 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/4,766 kB of archives. After unpacking 71.7 kB will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 555941 files and directories currently installed.)
Preparing to replace libc6:amd64 2.17-0experimental2 (using
.../libc6_2.17-1_amd64.deb) ...
D01: process_archive oldversionstatus=installed
D01: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D01: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101
A copy of the C library was found in an unexpected directory:
'/lib/libc-2.11.2.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib' and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.17-1_amd64.deb
(--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.17-1_amd64.deb
dpkg-query: no packages found matching libc6-i386:amd64
E: Sub-process returned an error code
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
I tried again :-
$ sudo aptitude install libc6-i386=2.17-1 libc6=2.17-1 -y
The following NEW packages will be installed:
libc6-i386
The following packages will be upgraded:
libc6
1 packages upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/9,063 kB of archives. After unpacking 9,873 kB will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 555941 files and directories currently installed.)
Preparing to replace libc6:amd64 2.17-0experimental2 (using
.../libc6_2.17-1_amd64.deb) ...
D01: process_archive oldversionstatus=installed
D01: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D01: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101
A copy of the C library was found in an unexpected directory:
'/lib/libdl-2.11.2.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib' and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.17-1_amd64.deb
(--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.17-1_amd64.deb
dpkg-query: no packages found matching libc6-i386:amd64
dpkg-query -W: failed at /usr/bin/adequate line 167.
E: Problem executing scripts DPkg::Post-Invoke 'adequate --help
/dev/null 21 || exit 0; DEBIAN_FRONTEND=readline exec adequate
--debconf --user nobody --pending'
E: Sub-process returned an error code
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Still the same response.
I removed the offending library copy as well as the original, quite a
few of them before I was able to correctly install it without any
errors :-
$ sudo aptitude install libc6-i386=2.17-1 libc6=2.17-1 -y
The following NEW packages will be installed:
libc6-i386
The following packages will be upgraded:
libc6
1 packages upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/9,063 kB of archives. After unpacking 9,873 kB will be used.
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Preconfiguring packages ...
(Reading database ... 555941 files and directories currently installed.)
Preparing to replace libc6:amd64 2.17-0experimental2 (using
.../libc6_2.17-1_amd64.deb) ...
D01: process_archive oldversionstatus=installed
D01: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D01: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.13-39' r=4
Unpacking replacement libc6:amd64 ...
D01: process_archive updating info directory
D01: generating infodb hashfile
Setting up libc6:amd64 (2.17-1) ...
D01: deferred_configure updating conffiles
D01: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101
Selecting previously