apt-get install -f failed ambiguous libc6 i386/amd64

Bug #1426026 reported by Sripad
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
New
Undecided
Unassigned

Bug Description

1) lsb_release -rd
Description: Ubuntu 12.04.5 LTS
Release: 12.04

2) 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) Can't install any new package or dist-upgrade or upgrade

4) 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)

apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 bcmwl-kernel-source : Depends: libc6-dev but it is not installed
 build-essential : Depends: libc6-dev but it is not installed or
                            libc-dev
 comerr-dev : Depends: libc6-dev but it is not installed or
                       libc-dev
 lib32asound2 : Depends: libc6-i386 (>= 2.7) but it is not installed
 lib32nss-mdns : Depends: libc6-i386 (>= 2.4) but it is not installed
 lib32z1 : Depends: libc6-i386 (>= 2.4) but it is not installed
 libc6 : Depends: libc-bin (= 2.15-0ubuntu10.9)
 libc6:i386 : Depends: libc-bin:i386 (= 2.15-0ubuntu10.9)
 libexpat1-dev : Depends: libc6-dev but it is not installed or
                          libc-dev
 libfreetype6-dev : Depends: libc6-dev but it is not installed or
                             libc-dev
 libgdbm-dev : Depends: libc6-dev but it is not installed or
                        libc-dev
 libncurses5-dev : Depends: libc-dev
 libpcre3-dev : Depends: libc6-dev but it is not installed
 libsqlite3-dev : Depends: libc6-dev but it is not installed
 libstdc++6-4.6-dev : Depends: libc6-dev (>= 2.13-0ubuntu6) but it is not installed
 libtool : Depends: libc6-dev but it is not installed or
                    libc-dev
 libusb-dev : Depends: libc6-dev but it is not installed or
                       libc-dev
 libxft-dev : Depends: libc6-dev but it is not installed or
                       libc-dev
 ruby1.9.1-dev : Depends: libc6-dev but it is not installed
 teamviewer9 : Depends: libc6-i386 (>= 2.4) but it is not installed
 zlib1g-dev : Depends: libc6-dev but it is not installed or
                       libc-dev
E: Unmet dependencies. Try using -f.

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)

Revision history for this message
Sripad (sripad-6e) wrote :
description: updated
Sripad (sripad-6e)
summary: - apt-get install -f failed
+ apt-get install -f failed ambiguous libc6 i386/amd64
description: updated
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.