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

Bug#707306: libc6: unable to upgrade to 2.17 getting errors while configuring



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) ...
D000001: process_archive oldversionstatus=installed
D000001: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D000001: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D000001: 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) ...
D000001: process_archive oldversionstatus=installed
D000001: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D000001: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D000001: 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 2>&1 || 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) ...
D000001: process_archive oldversionstatus=installed
D000001: cmpversions a=`0:2.17-1' b=`0:2.13-17' r=4
D000001: cmpversions a=`0:2.17-1' b=`0:2.13-5' r=4
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.9-22' r=1
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.13-39' r=4
Unpacking replacement libc6:amd64 ...
D000001: process_archive updating info directory
D000001: generating infodb hashfile
Setting up libc6:amd64 (2.17-1) ...
D000001: deferred_configure updating conffiles
D000001: cmpversions a=`0:2.17-0experimental2' b=`0:2.17' r=101
Selecting previously unselected package libc6-i386.
(Reading database ... 555941 files and directories currently installed.)
Unpacking libc6-i386 (from .../libc6-i386_2.17-1_amd64.deb) ...
D000001: process_archive oldversionstatus=not installed
D000001: process_archive updating info directory
D000001: generating infodb hashfile
Setting up libc6-i386 (2.17-1) ...
D000001: deferred_configure updating conffiles

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (10, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libgcc1                1:4.8.0-6

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  glibc-doc  2.17-1
ii  locales    2.17-1

-- debconf information excluded


-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


Reply to: