Originally Posted by
raja.genupula
Ok do this
Code:
sudo rm -rf /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb
sudo rm -rf /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb
then
Still ends up where we started.
Code:
gaurav@gaurav-gamma:~$ sudo rm -rf /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb
gaurav@gaurav-gamma:~$ sudo rm -rf /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb
gaurav@gaurav-gamma:~$ sudo apt-get update
Ign http://dl.google.com stable InRelease
Ign http://in.archive.ubuntu.com precise InRelease
Ign http://in.archive.ubuntu.com precise-updates InRelease
Ign http://in.archive.ubuntu.com precise-backports InRelease
Ign http://security.ubuntu.com precise-security InRelease
Ign http://archive.ubuntu.com precise InRelease
Hit http://dl.google.com stable Release.gpg
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit http://dl.google.com stable Release
Hit http://in.archive.ubuntu.com precise Release.gpg
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ppa.launchpad.net precise Release.gpg
Ign http://extras.ubuntu.com precise InRelease
Hit http://security.ubuntu.com precise-security Release
Get:1 http://in.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://dl.google.com stable/main i386 Packages
Hit http://archive.ubuntu.com precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://extras.ubuntu.com precise Release.gpg
Ign http://dl.google.com stable/main TranslationIndex
Get:2 http://in.archive.ubuntu.com precise-backports Release.gpg [198 B]
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://archive.ubuntu.com precise/main Sources
Hit http://ppa.launchpad.net precise Release
Hit http://extras.ubuntu.com precise Release
Hit http://in.archive.ubuntu.com precise Release
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://archive.ubuntu.com precise/restricted Sources
Hit http://ppa.launchpad.net precise Release
Hit http://extras.ubuntu.com precise/main Sources
Get:3 http://in.archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://extras.ubuntu.com precise/main amd64 Packages
Hit http://extras.ubuntu.com precise/main i386 Packages
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:4 http://in.archive.ubuntu.com precise-backports Release [49.6 kB]
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://dl.google.com stable/main Translation-en_IN
Ign http://dl.google.com stable/main Translation-en
Hit http://in.archive.ubuntu.com precise/restricted Sources
Hit http://in.archive.ubuntu.com precise/main Sources
Hit http://in.archive.ubuntu.com precise/multiverse Sources
Hit http://in.archive.ubuntu.com precise/universe Sources
Hit http://in.archive.ubuntu.com precise/main amd64 Packages
Hit http://in.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://in.archive.ubuntu.com precise/universe amd64 Packages
Hit http://in.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://in.archive.ubuntu.com precise/main i386 Packages
Hit http://in.archive.ubuntu.com precise/restricted i386 Packages
Hit http://in.archive.ubuntu.com precise/universe i386 Packages
Hit http://in.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://in.archive.ubuntu.com precise/main TranslationIndex
Hit http://in.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://in.archive.ubuntu.com precise/universe TranslationIndex
Get:5 http://in.archive.ubuntu.com precise-updates/restricted Sources [4,395 B]
Get:6 http://in.archive.ubuntu.com precise-updates/main Sources [178 kB]
Get:7 http://in.archive.ubuntu.com precise-updates/multiverse Sources [4,745 B]
Get:8 http://in.archive.ubuntu.com precise-updates/universe Sources [60.2 kB]
Get:9 http://in.archive.ubuntu.com precise-updates/main amd64 Packages [405 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_IN
Ign http://extras.ubuntu.com precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_IN
Ign http://ppa.launchpad.net precise/main Translation-en
Get:10 http://in.archive.ubuntu.com precise-updates/restricted amd64 Packages [8,215 B]
Get:11 http://in.archive.ubuntu.com precise-updates/universe amd64 Packages [149 kB]
Ign http://ppa.launchpad.net precise/main Translation-en_IN
Ign http://ppa.launchpad.net precise/main Translation-en
Get:12 http://in.archive.ubuntu.com precise-updates/multiverse amd64 Packages [8,948 B]
Get:13 http://in.archive.ubuntu.com precise-updates/main i386 Packages [410 kB]
Get:14 http://in.archive.ubuntu.com precise-updates/restricted i386 Packages [8,218 B]
Get:15 http://in.archive.ubuntu.com precise-updates/universe i386 Packages [149 kB]
Get:16 http://in.archive.ubuntu.com precise-updates/multiverse i386 Packages [9,930 B]
Hit http://in.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://in.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://in.archive.ubuntu.com precise-updates/universe TranslationIndex
Get:17 http://in.archive.ubuntu.com precise-backports/main Sources [2,422 B]
Get:18 http://in.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:19 http://in.archive.ubuntu.com precise-backports/universe Sources [15.8 kB]
Get:20 http://in.archive.ubuntu.com precise-backports/multiverse Sources [2,669 B]
Get:21 http://in.archive.ubuntu.com precise-backports/main amd64 Packages [1,945 B]
Get:22 http://in.archive.ubuntu.com precise-backports/restricted amd64 Packages [14 B]
Get:23 http://in.archive.ubuntu.com precise-backports/universe amd64 Packages [14.5 kB]
Get:24 http://in.archive.ubuntu.com precise-backports/multiverse amd64 Packages [2,489 B]
Get:25 http://in.archive.ubuntu.com precise-backports/main i386 Packages [1,941 B]
Get:26 http://in.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:27 http://in.archive.ubuntu.com precise-backports/universe i386 Packages [14.5 kB]
Get:28 http://in.archive.ubuntu.com precise-backports/multiverse i386 Packages [2,504 B]
Hit http://in.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://in.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://in.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://in.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://in.archive.ubuntu.com precise/main Translation-en
Hit http://in.archive.ubuntu.com precise/multiverse Translation-en
Hit http://in.archive.ubuntu.com precise/restricted Translation-en
Hit http://in.archive.ubuntu.com precise/universe Translation-en
Hit http://in.archive.ubuntu.com precise-updates/main Translation-en
Hit http://in.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://in.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://in.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://in.archive.ubuntu.com precise-backports/main Translation-en
Hit http://in.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://in.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://in.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 1,553 kB in 16s (91.7 kB/s)
Reading package lists... Done
gaurav@gaurav-gamma:~$ sudo apt-get upgrade
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:
libc6 : Depends: libc-bin (= 2.15-0ubuntu10.2)
libc6:i386 : Depends: libc-bin:i386 (= 2.15-0ubuntu10.2)
libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.3) but 2.15-0ubuntu10.2 is installed
libc6-i386 : Depends: libc6 (= 2.15-0ubuntu10.3) but 2.15-0ubuntu10.2 is installed
E: Unmet dependencies. Try using -f.
gaurav@gaurav-gamma:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libc6 libc6:i386
Suggested packages:
glibc-doc glibc-doc:i386 locales:i386
The following packages will be upgraded:
libc6 libc6:i386
2 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
3 not fully installed or removed.
Need to get 8,593 kB of archives.
After this operation, 8,192 B of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 i386 2.15-0ubuntu10.3 [3,940 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu/ precise-updates/main libc6 amd64 2.15-0ubuntu10.3 [4,653 kB]
Fetched 8,593 kB in 1min 7s (127 kB/s)
Preconfiguring packages ...
(Reading database ... 365946 files and directories currently installed.)
Preparing to replace libc6 2.15-0ubuntu10.2 (using .../libc6_2.15-0ubuntu10.3_amd64.deb) ...
De-configuring libc6:i386 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Preparing to replace libc6:i386 2.15-0ubuntu10.2 (using .../libc6_2.15-0ubuntu10.3_i386.deb) ...
De-configuring libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb
/var/cache/apt/archives/libc6_2.15-0ubuntu10.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
What would be the reason behind
dpkg: error processing /var/cache/apt/archives/libc6_2.15-0ubuntu10.3_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
I get the same error for all of my broken packages. If I try to re-install `man-db`, I get the same error. What can be causing this? Even if I run `dpkg --configure -a --debug 777` I get no further detail why the pre-installation script is failing for them.
More information:
Code:
gaurav@gaurav-gamma:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libc6-dev:
libc6-dev depends on libc6 (= 2.15-0ubuntu10.3); however:
Version of libc6 on system is 2.15-0ubuntu10.2.
dpkg: error processing libc6-dev (--configure):
dependency problems - leaving unconfigured
Setting up libc-dev-bin (2.15-0ubuntu10.3) ...
dpkg: dependency problems prevent configuration of libc6-i386:
libc6-i386 depends on libc6 (= 2.15-0ubuntu10.3); however:
Version of libc6 on system is 2.15-0ubuntu10.2.
dpkg: error processing libc6-i386 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6-dev
libc6-i386
Should I re-install the libc package?
Bookmarks