Comment 0 for bug 1426026

Revision history for this message
Sripad (sripad-6e) wrote : apt-get install -f failed

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
lsb_release -rd
Description: Ubuntu 12.04.5 LTS
Release: 12.04

2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
apt-cache policy libc6
libc6:
  Installed: 2.15-0ubuntu10.9
  Candidate: 2.15-0ubuntu10.10
  Version table:
     2.15-0ubuntu10.10 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
 *** 2.15-0ubuntu10.9 0
        100 /var/lib/dpkg/status
     2.15-0ubuntu10 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

apt-cache policy libc6:i386
libc6:i386:
  Installed: 2.15-0ubuntu10.9
  Candidate: 2.15-0ubuntu10.10
  Version table:
     2.15-0ubuntu10.10 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
 *** 2.15-0ubuntu10.9 0
        100 /var/lib/dpkg/status
     2.15-0ubuntu10 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main i386 Packages

3) What you expected to happen

Can't install any new package or dist-upgrade or upgrade

4) What happened instead

apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-26-generic linux-headers-3.2.0-26
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  comerr-dev libc6 libc6:i386 libc6-dev libc6-i386 libcomerr2 libcomerr2:i386
  libfreetype6 libfreetype6:i386 libfreetype6-dev
Suggested packages:
  glibc-doc glibc-doc:i386 locales:i386
The following NEW packages will be installed:
  libc6-dev libc6-i386
The following packages will be upgraded:
  comerr-dev libc6 libc6:i386 libcomerr2 libcomerr2:i386 libfreetype6
  libfreetype6:i386 libfreetype6-dev
8 upgraded, 2 newly installed, 0 to remove and 84 not upgraded.
Need to get 0 B/17.2 MB of archives.
After this operation, 21.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 442274 files and directories currently installed.)
Preparing to replace libc6:i386 2.15-0ubuntu10.9 (using .../libc6_2.15-0ubuntu10.10_i386.deb) ...
De-configuring libc6:amd64 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.10_i386.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Preparing to replace libc6:amd64 2.15-0ubuntu10.9 (using .../libc6_2.15-0ubuntu10.10_amd64.deb) ...
De-configuring libc6:i386 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.10_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.15-0ubuntu10.10_i386.deb
 /var/cache/apt/archives/libc6_2.15-0ubuntu10.10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Software index is broken

It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: libc6 2.15-0ubuntu10.9
ProcVersionSignature: Ubuntu 3.2.0-75.110-generic 3.2.64
Uname: Linux 3.2.0-75-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu17.8
Architecture: amd64
Date: Thu Feb 26 22:05:46 2015
DistributionChannelDescriptor:
 # This is a distribution channel descriptor
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-precise-amd64-20120703-2
DpkgTerminalLog:
 Preparing to replace libc6:i386 2.15-0ubuntu10.9 (using .../libc6_2.15-0ubuntu10.10_i386.deb) ...
 De-configuring libc6:amd64 ...
 dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.10_i386.deb (--unpack):
  subprocess new pre-installation script returned error exit status 2
DuplicateSignature: package:libc6:2.15-0ubuntu10.9:subprocess new pre-installation script returned error exit status 2
ErrorMessage: subprocess new pre-installation script returned error exit status 2
InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20120703-15:08
MarkForUpload: True
SourcePackage: eglibc
Title: package libc6 2.15-0ubuntu10.9 failed to install/upgrade: subprocess new pre-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)