broken packages

Bug #995383 reported by Tom O'Connor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for tom:
tom@tom-Lenovo-IdeaPad-S10-2:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
tom@tom-Lenovo-IdeaPad-S10-2:~$ uname -a
Linux tom-Lenovo-IdeaPad-S10-2 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012 i686 i686 i386 GNU/Linux
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove `/var/lib/apt/lists/lock': No such file or directory
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo rm -rf /var/lib/dpkg/updates/*
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo rm -rf /var/lib/apt/lists
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo rm /var/cache/apt/*.bin
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo mkdir /var/lib/apt/lists
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo mkdir /var/lib/apt/lists/partial
tom@tom-Lenovo-IdeaPad-S10-2:~$ LANG=C;sudo apt-get clean
tom@tom-Lenovo-IdeaPad-S10-2:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
tom@tom-Lenovo-IdeaPad-S10-2:~$ LANG=C;sudo apt-get --purge 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:
 libc-dev-bin : Depends: libc6 (> 2.15) but 2.13-20ubuntu5.1 is installed
 libc6 : Depends: libc-bin (= 2.13-20ubuntu5.1) but 2.15-0ubuntu10 is installed
 libc6-dev : Depends: libc6 (= 2.15-0ubuntu10) but 2.13-20ubuntu5.1 is installed
 libnih-dbus1 : Depends: libnih1 (= 1.0.3-4ubuntu9) but 1.0.3-4ubuntu2 is installed
E: Unmet dependencies. Try using -f.
tom@tom-Lenovo-IdeaPad-S10-2:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://archive.canonical.com oneiric InRelease
Ign http://hk.archive.ubuntu.com oneiric InRelease
Ign http://hk.archive.ubuntu.com oneiric-updates InRelease
Ign http://hk.archive.ubuntu.com oneiric-security InRelease
Get:1 http://archive.canonical.com oneiric Release.gpg [198 B]
Get:2 http://hk.archive.ubuntu.com oneiric Release.gpg [198 B]
Get:3 http://hk.archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:4 http://archive.canonical.com oneiric Release [5922 B]
Get:5 http://hk.archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:6 http://archive.canonical.com oneiric/partner Sources [2617 B]
Get:7 http://hk.archive.ubuntu.com oneiric Release [40.8 kB]
Get:8 http://archive.canonical.com oneiric/partner i386 Packages [4333 B]
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Get:9 http://hk.archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:10 http://hk.archive.ubuntu.com oneiric-security Release [40.8 kB]
Ign http://archive.canonical.com oneiric/partner Translation-en
Get:11 http://hk.archive.ubuntu.com oneiric/main TranslationIndex [3289 B]
Get:12 http://hk.archive.ubuntu.com oneiric/multiverse TranslationIndex [2265 B]
Get:13 http://hk.archive.ubuntu.com oneiric/restricted Sources [5351 B]
Get:14 http://hk.archive.ubuntu.com oneiric/main Sources [877 kB]
Get:15 http://hk.archive.ubuntu.com oneiric/multiverse Sources [149 kB]
Get:16 http://hk.archive.ubuntu.com oneiric/universe Sources [4677 kB]
Get:17 http://hk.archive.ubuntu.com oneiric/main i386 Packages [1226 kB]
Get:18 http://hk.archive.ubuntu.com oneiric/restricted i386 Packages [8216 B]
Get:19 http://hk.archive.ubuntu.com oneiric/universe i386 Packages [4468 kB]
Get:20 http://hk.archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Get:21 http://hk.archive.ubuntu.com oneiric/restricted TranslationIndex [2263 B]
Get:22 http://hk.archive.ubuntu.com oneiric/universe TranslationIndex [2640 B]
Get:23 http://hk.archive.ubuntu.com oneiric/universe TranslationIndex [2640 B]
Get:24 http://hk.archive.ubuntu.com oneiric-updates/restricted Sources [3347 B]
Get:25 http://hk.archive.ubuntu.com oneiric-updates/main Sources [139 kB]
Get:26 http://hk.archive.ubuntu.com oneiric-updates/multiverse Sources [3660 B]
Get:27 http://hk.archive.ubuntu.com oneiric-updates/universe Sources [52.1 kB]
Get:28 http://hk.archive.ubuntu.com oneiric-updates/main i386 Packages [344 kB]
Get:29 http://hk.archive.ubuntu.com oneiric-updates/restricted i386 Packages [6631 B]
Get:30 http://hk.archive.ubuntu.com oneiric-updates/universe i386 Packages [112 kB]
Get:31 http://hk.archive.ubuntu.com oneiric-updates/universe i386 Packages [112 kB]
Get:32 http://hk.archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6363 B]
99% [31 Packages bzip2 0 B] [32 Packages 872 B/6363 B 13%] 90.1 kB/s 0s
bzip2: Data integrity error when decompressing.
 Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Get:33 http://hk.archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:34 http://hk.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:35 http://hk.archive.ubuntu.com oneiric-updates/restricted TranslationIndex [72 B]
Get:36 http://hk.archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:37 http://hk.archive.ubuntu.com oneiric-security/restricted Sources [1959 B]
Get:38 http://hk.archive.ubuntu.com oneiric-security/main Sources [37.5 kB]
Get:39 http://hk.archive.ubuntu.com oneiric-security/multiverse Sources [1644 B]
Get:40 http://hk.archive.ubuntu.com oneiric-security/universe Sources [15.7 kB]
Get:41 http://hk.archive.ubuntu.com oneiric-security/main i386 Packages [118 kB]
Get:42 http://hk.archive.ubuntu.com oneiric-security/restricted i386 Packages [3939 B]
Get:43 http://hk.archive.ubuntu.com oneiric-security/universe i386 Packages [34.9 kB]
Get:44 http://hk.archive.ubuntu.com oneiric-security/multiverse i386 Packages [3371 B]
Get:45 http://hk.archive.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:46 http://hk.archive.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:47 http://hk.archive.ubuntu.com oneiric-security/restricted TranslationIndex [71 B]
Get:48 http://hk.archive.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:49 http://hk.archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:50 http://hk.archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:51 http://hk.archive.ubuntu.com oneiric-security/main i386 Packages [118 kB]
Get:52 http://hk.archive.ubuntu.com oneiric/restricted Translation-en [2229 B]
Get:53 http://hk.archive.ubuntu.com oneiric-updates/main Translation-en [155 kB]
Get:54 http://hk.archive.ubuntu.com oneiric-updates/multiverse Translation-en [3524 B]
Get:55 http://hk.archive.ubuntu.com oneiric-updates/restricted Translation-en [1547 B]
Get:56 http://hk.archive.ubuntu.com oneiric-updates/universe Translation-en [67.1 kB]
Get:57 http://hk.archive.ubuntu.com oneiric-security/main Translation-en [56.2 kB]
Get:58 http://hk.archive.ubuntu.com oneiric-security/multiverse Translation-en [1494 B]
Get:59 http://hk.archive.ubuntu.com oneiric-security/restricted Translation-en [978 B]
Get:60 http://hk.archive.ubuntu.com oneiric-security/universe Translation-en [24.3 kB]
Fetched 13.6 MB in 1min 24s (161 kB/s)
W: Failed to fetch http://hk.archive.ubuntu.com/ubuntu/dists/oneiric/universe/i18n/Index

W: Failed to fetch gzip:/var/lib/apt/lists/partial/hk.archive.ubuntu.com_ubuntu_dists_oneiric-updates_universe_binary-i386_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.15-0ubuntu10); however:
  Version of libc6 on system is 2.13-20ubuntu5.1.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc-dev-bin:
 libc-dev-bin depends on libc6 (>> 2.15); however:
  Version of libc6 on system is 2.13-20ubuntu5.1.
dpkg: error processing libc-dev-bin (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnih-dbus1:
 libnih-dbus1 depends on libnih1 (= 1.0.3-4ubuntu9); however:
  Version of libnih1 on system is 1.0.3-4ubuntu2.
dpkg: error processing libnih-dbus1 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dev
 libc-dev-bin
 libnih-dbus1
tom@tom-Lenovo-IdeaPad-S10-2:~$ sudo dpkg --clear-avail
tom@tom-Lenovo-IdeaPad-S10-2:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 libc-dev-bin : Depends: libc6 (> 2.15) but 2.13-20ubuntu5.1 is installed
 libc6 : Depends: libc-bin (= 2.13-20ubuntu5.1) but 2.15-0ubuntu10 is installed
 libc6-dev : Depends: libc6 (= 2.15-0ubuntu10) but 2.13-20ubuntu5.1 is installed
 libnih-dbus1 : Depends: libnih1 (= 1.0.3-4ubuntu9) but 1.0.3-4ubuntu2 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
tom@tom-Lenovo-IdeaPad-S10-2:~$ LANG=C;sudo apt-get --fix-missing install
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:
 libc-dev-bin : Depends: libc6 (> 2.15) but 2.13-20ubuntu5.1 is installed
 libc6 : Depends: libc-bin (= 2.13-20ubuntu5.1) but 2.15-0ubuntu10 is installed
 libc6-dev : Depends: libc6 (= 2.15-0ubuntu10) but 2.13-20ubuntu5.1 is installed
 libnih-dbus1 : Depends: libnih1 (= 1.0.3-4ubuntu9) but 1.0.3-4ubuntu2 is installed
E: Unmet dependencies. Try using -f.
tom@tom-Lenovo-IdeaPad-S10-2:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://hk.archive.ubuntu.com oneiric InRelease
Ign http://hk.archive.ubuntu.com oneiric-updates InRelease
Ign http://hk.archive.ubuntu.com oneiric-security InRelease
Ign http://archive.canonical.com oneiric InRelease
Hit http://hk.archive.ubuntu.com oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://hk.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://archive.canonical.com oneiric Release
Hit http://hk.archive.ubuntu.com oneiric-security Release.gpg
Hit http://archive.canonical.com oneiric/partner Sources
Hit http://hk.archive.ubuntu.com oneiric Release
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric-updates Release
Ign http://archive.canonical.com oneiric/partner Translation-en
Hit http://hk.archive.ubuntu.com oneiric/main TranslationIndex
Get:1 http://hk.archive.ubuntu.com oneiric-security Release [5351 B]
Ign http://hk.archive.ubuntu.com oneiric-security Release
Get:2 http://hk.archive.ubuntu.com oneiric/restricted Sources [5351 B]
Get:3 http://hk.archive.ubuntu.com oneiric/main Sources [877 kB]
Get:4 http://hk.archive.ubuntu.com oneiric/multiverse Sources [149 kB]
Get:5 http://hk.archive.ubuntu.com oneiric/universe Sources [4677 kB]
Get:6 http://hk.archive.ubuntu.com oneiric/main i386 Packages [1226 kB]
Get:7 http://hk.archive.ubuntu.com oneiric/restricted i386 Packages [8216 B]
Get:8 http://hk.archive.ubuntu.com oneiric/universe i386 Packages [4468 kB]
Get:9 http://hk.archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Hit http://hk.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric/restricted TranslationIndex
Get:10 http://hk.archive.ubuntu.com oneiric/universe TranslationIndex [2640 B]
Hit http://hk.archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://hk.archive.ubuntu.com oneiric-updates/main Sources
Hit http://hk.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://hk.archive.ubuntu.com oneiric-updates/universe Sources
Hit http://hk.archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://hk.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://hk.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://hk.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric/main Translation-en
Ign http://hk.archive.ubuntu.com oneiric-security/restricted Sources/DiffIndex
Ign http://hk.archive.ubuntu.com oneiric-security/main Sources/DiffIndex
Ign http://hk.archive.ubuntu.com oneiric-security/multiverse Sources/DiffIndex
Ign http://hk.archive.ubuntu.com oneiric-security/universe Sources/DiffIndex
Ign http://hk.archive.ubuntu.com oneiric-security/main i386 Packages/DiffIndex
Ign http://hk.archive.ubuntu.com oneiric-security/restricted i386 Packages/DiffIndex
Ign http://hk.archive.ubuntu.com oneiric-security/universe i386 Packages/DiffIndex
Ign http://hk.archive.ubuntu.com oneiric-security/multiverse i386 Packages/DiffIndex
Hit http://hk.archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://hk.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://hk.archive.ubuntu.com oneiric/restricted Translation-en
Get:11 http://hk.archive.ubuntu.com oneiric-updates/universe i386 Packages [145 kB]
Hit http://hk.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://hk.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://hk.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://hk.archive.ubuntu.com oneiric-security/restricted Sources
Hit http://hk.archive.ubuntu.com oneiric-security/main Sources
Hit http://hk.archive.ubuntu.com oneiric-security/multiverse Sources
Hit http://hk.archive.ubuntu.com oneiric-security/universe Sources
Hit http://hk.archive.ubuntu.com oneiric-security/main i386 Packages
Hit http://hk.archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://hk.archive.ubuntu.com oneiric-security/universe i386 Packages
Hit http://hk.archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://hk.archive.ubuntu.com oneiric-security/main Translation-en
Get:12 http://hk.archive.ubuntu.com oneiric-updates/universe Translation-en [15.7 kB]
Hit http://hk.archive.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://hk.archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http://hk.archive.ubuntu.com oneiric-security/universe Translation-en
Fetched 11.6 MB in 1min 2s (186 kB/s)
W: GPG error: http://hk.archive.ubuntu.com oneiric-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <email address hidden>
W: Failed to fetch http://hk.archive.ubuntu.com/ubuntu/dists/oneiric/universe/i18n/Index

W: Failed to fetch gzip:/var/lib/apt/lists/partial/hk.archive.ubuntu.com_ubuntu_dists_oneiric-updates_universe_binary-i386_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
tom@tom-Lenovo-IdeaPad-S10-2:~$

Changed in apt (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apt (Ubuntu) because there has been no activity for 60 days.]

Changed in apt (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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