error repository

Asked by Orc

amit@amit-VGN-NS290J:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for amit:
amit@amit-VGN-NS290J:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.04
DISTRIB_CODENAME=natty
DISTRIB_DESCRIPTION="Ubuntu 11.04"
amit@amit-VGN-NS290J:~$ uname -a
Linux amit-VGN-NS290J 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
amit@amit-VGN-NS290J:~$ sudo rm /var/lib/apt/lists/lock
amit@amit-VGN-NS290J:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
amit@amit-VGN-NS290J:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
amit@amit-VGN-NS290J:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
amit@amit-VGN-NS290J:~$ sudo rm -rf /var/lib/dpkg/updates/*
amit@amit-VGN-NS290J:~$ sudo rm -rf /var/lib/apt/lists
amit@amit-VGN-NS290J:~$ sudo rm /var/cache/apt/*.bin
amit@amit-VGN-NS290J:~$ sudo mkdir /var/lib/apt/lists
amit@amit-VGN-NS290J:~$ sudo mkdir /var/lib/apt/lists/partial
amit@amit-VGN-NS290J:~$ LANG=C;sudo apt-get clean
amit@amit-VGN-NS290J:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
amit@amit-VGN-NS290J:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libqtcore4 (4:4.7.2-0ubuntu6.1) ...
Setting up libqt4-xml (4:4.7.2-0ubuntu6.1) ...
Setting up libqt4-dbus (4:4.7.2-0ubuntu6.1) ...
Setting up libqt4-network (4:4.7.2-0ubuntu6.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
amit@amit-VGN-NS290J:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://extras.ubuntu.com natty InRelease
Ign http://archive.canonical.com natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Get:1 http://extras.ubuntu.com natty Release.gpg [72 B]
Get:2 http://archive.canonical.com natty Release.gpg [198 B]
Ign http://archive.ubuntu.com natty-updates InRelease
Get:3 http://extras.ubuntu.com natty Release [9753 B]
Get:4 http://archive.canonical.com natty Release [5916 B]
Ign http://archive.ubuntu.com natty-security InRelease
Get:5 http://archive.ubuntu.com natty Release.gpg [198 B]
Get:6 http://extras.ubuntu.com natty/main Sources [14 B]
Get:7 http://archive.canonical.com natty/partner Sources [4170 B]
Get:8 http://archive.ubuntu.com natty-updates Release.gpg [198 B]
Get:9 http://extras.ubuntu.com natty/main amd64 Packages [14 B]
Get:10 http://archive.canonical.com natty/partner amd64 Packages [6740 B]
Ign http://extras.ubuntu.com natty/main TranslationIndex
Get:11 http://archive.ubuntu.com natty-security Release.gpg [198 B]
Ign http://archive.canonical.com natty/partner TranslationIndex
Get:12 http://archive.ubuntu.com natty Release [39.8 kB]
Get:13 http://archive.ubuntu.com natty-updates Release [27.2 kB]
Get:14 http://archive.ubuntu.com natty-security Release [27.2 kB]
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://archive.canonical.com natty/partner Translation-en
Get:15 http://archive.ubuntu.com natty/main Sources [862 kB]
Get:16 http://archive.ubuntu.com natty/restricted Sources [4104 B]
Get:17 http://archive.ubuntu.com natty/universe Sources [4380 kB]
Get:18 http://archive.ubuntu.com natty/multiverse Sources [155 kB]
Get:19 http://archive.ubuntu.com natty/main amd64 Packages [1550 kB]
Get:20 http://archive.ubuntu.com natty/restricted amd64 Packages [9001 B]
Get:21 http://archive.ubuntu.com natty/universe amd64 Packages [6004 kB]
Get:22 http://archive.ubuntu.com natty/multiverse amd64 Packages [181 kB]
98% [21 Packages bzip2 0 B] [22 Packages 593 B/181 kB 0%] 178 kB/s 1s
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.

Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Get:23 http://archive.ubuntu.com natty-updates/main Sources [47.1 kB]
Get:24 http://archive.ubuntu.com natty-updates/restricted Sources [14 B]
Get:25 http://archive.ubuntu.com natty-updates/universe Sources [14.5 kB]
Get:26 http://archive.ubuntu.com natty-updates/multiverse Sources [1891 B]
Get:27 http://archive.ubuntu.com natty-updates/main amd64 Packages [148 kB]
Get:28 http://archive.ubuntu.com natty-updates/restricted amd64 Packages [14 B]
Get:29 http://archive.ubuntu.com natty-updates/universe amd64 Packages [58.7 kB]
Get:30 http://archive.ubuntu.com natty-updates/multiverse amd64 Packages [4174 B]
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Get:31 http://archive.ubuntu.com natty-security/main Sources [14.8 kB]
Get:32 http://archive.ubuntu.com natty-security/restricted Sources [14 B]
Get:33 http://archive.ubuntu.com natty-security/universe Sources [6102 B]
Get:34 http://archive.ubuntu.com natty-security/multiverse Sources [649 B]
Get:35 http://archive.ubuntu.com natty-security/main amd64 Packages [42.3 kB]
Get:36 http://archive.ubuntu.com natty-security/restricted amd64 Packages [14 B]
Get:37 http://archive.ubuntu.com natty-security/universe amd64 Packages [20.8 kB]
Get:38 http://archive.ubuntu.com natty-security/multiverse amd64 Packages [1939 B]
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Fetched 13.6 MB in 1min 40s (136 kB/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_universe_binary-amd64_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
amit@amit-VGN-NS290J:~$ sudo dpkg --clear-avail
amit@amit-VGN-NS290J:~$ sudo dpkg --configure -a
amit@amit-VGN-NS290J:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
amit@amit-VGN-NS290J:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
amit@amit-VGN-NS290J:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://archive.canonical.com natty InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty InRelease
Hit http://archive.canonical.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Ign http://archive.ubuntu.com natty-updates InRelease
Hit http://archive.canonical.com natty Release
Ign http://archive.ubuntu.com natty-security InRelease
Hit http://extras.ubuntu.com natty Release
Hit http://archive.canonical.com natty/partner Sources
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://extras.ubuntu.com natty/main Sources
Hit http://archive.canonical.com natty/partner amd64 Packages
Hit http://archive.ubuntu.com natty-updates Release.gpg
Hit http://extras.ubuntu.com natty/main amd64 Packages
Ign http://archive.canonical.com natty/partner TranslationIndex
Hit http://archive.ubuntu.com natty-security Release.gpg
Ign http://extras.ubuntu.com natty/main TranslationIndex
Hit http://archive.ubuntu.com natty Release
Hit http://archive.ubuntu.com natty-updates Release
Hit http://archive.ubuntu.com natty-security Release
Hit http://archive.ubuntu.com natty/main Sources
Ign http://archive.canonical.com natty/partner Translation-en
Hit http://archive.ubuntu.com natty/restricted Sources
Hit http://archive.ubuntu.com natty/universe Sources
Ign http://extras.ubuntu.com natty/main Translation-en
Hit http://archive.ubuntu.com natty/multiverse Sources
Hit http://archive.ubuntu.com natty/main amd64 Packages
Hit http://archive.ubuntu.com natty/restricted amd64 Packages
Hit http://archive.ubuntu.com natty/multiverse amd64 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Hit http://archive.ubuntu.com natty-updates/main Sources
Hit http://archive.ubuntu.com natty-updates/restricted Sources
Hit http://archive.ubuntu.com natty-updates/universe Sources
Hit http://archive.ubuntu.com natty-updates/multiverse Sources
Hit http://archive.ubuntu.com natty-updates/main amd64 Packages
Hit http://archive.ubuntu.com natty-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com natty-updates/universe amd64 Packages
Hit http://archive.ubuntu.com natty-updates/multiverse amd64 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Hit http://archive.ubuntu.com natty-security/main Sources
Hit http://archive.ubuntu.com natty-security/restricted Sources
Hit http://archive.ubuntu.com natty-security/universe Sources
Hit http://archive.ubuntu.com natty-security/multiverse Sources
Hit http://archive.ubuntu.com natty-security/main amd64 Packages
Hit http://archive.ubuntu.com natty-security/restricted amd64 Packages
Hit http://archive.ubuntu.com natty-security/universe amd64 Packages
Hit http://archive.ubuntu.com natty-security/multiverse amd64 Packages
Ign http://archive.ubuntu.com natty-security/main TranslationIndex
Ign http://archive.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-security/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-security/universe TranslationIndex
Get:1 http://archive.ubuntu.com natty/universe amd64 Packages [7733 kB]
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://archive.ubuntu.com natty-security/main Translation-en
Ign http://archive.ubuntu.com natty-security/multiverse Translation-en
Ign http://archive.ubuntu.com natty-security/restricted Translation-en
Ign http://archive.ubuntu.com natty-security/universe Translation-en
Fetched 1 B in 18s (0 B/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_universe_binary-amd64_Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
amit@amit-VGN-NS290J:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

http://forum.ubuntu-fr.org/viewtopic.php?pid=4567051

Suggests switching to the main server, but you are using that. Just try a different repository in software centre. See if it helps

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

try

sudo rm /var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_natty_universe_binary-amd64_Packages
sudo apt-get update
sudo apt-get upgrade

Can you help with this problem?

Provide an answer of your own, or ask Orc for more information if necessary.

To post a message you must log in.