I used maverick for some time and never had a problem with updating or installing new software. I performed 2 back to back upgrades to get to 11.10. Since then I've been mostly unable to install new software or update anything. After many tries and several days of "Hash Sum Mismatch" I managed to install Gnome. I've made no changes to my internal network or my ISP.
The following steps were recommended to aid you in solving this issue:
jeff@Linux1:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for jeff:
Sorry, try again.
[sudo] password for jeff:
[1]+ Stopped sudo grep -R proxy /etc/apt/*
jeff@Linux1:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for jeff:
jeff@Linux1:~$ sudo fuser -vvv /var/lib/dpkg/lock
jeff@Linux1:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
jeff@Linux1:~$ uname -a
Linux Linux1 3.0.0-22-generic-pae #36-Ubuntu SMP Tue Jun 12 17:31:49 UTC 2012 i686 athlon i386 GNU/Linux
jeff@Linux1:~$ sudo rm /var/lib/apt/lists/lock
jeff@Linux1:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
jeff@Linux1:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
jeff@Linux1:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
jeff@Linux1:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
jeff@Linux1:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
jeff@Linux1:~$ sudo rm -rf /var/lib/dpkg/updates/*
jeff@Linux1:~$ sudo rm -rf /var/lib/apt/lists
jeff@Linux1:~$ sudo rm /var/cache/apt/*.bin
jeff@Linux1:~$ sudo mkdir /var/lib/apt/lists
jeff@Linux1:~$ sudo mkdir /var/lib/apt/lists/partial
jeff@Linux1:~$ LANG=C;sudo apt-get clean
jeff@Linux1:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
jeff@Linux1:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libgladeui-1-11*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 2585 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 204219 files and directories currently installed.)
Removing libgladeui-1-11 ...
Purging configuration files for libgladeui-1-11 ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Setting up gnome-shell (3.2.2.1-0ubuntu0.1) ...
Setting up gnome-themes-standard (3.2.1-0ubuntu1.1) ...
jeff@Linux1:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-security InRelease
Get:1 http://archive.ubuntu.com oneiric Release.gpg [198 B]
Get:2 http://archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:3 http://archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:4 http://archive.ubuntu.com oneiric Release [40.8 kB]
Get:5 http://archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:6 http://archive.ubuntu.com oneiric-security Release [40.8 kB]
Get:7 http://archive.ubuntu.com oneiric/main Sources [877 kB]
Get:8 http://archive.ubuntu.com oneiric/restricted Sources [5351 B]
Get:9 http://archive.ubuntu.com oneiric/universe Sources [4677 kB]
Get:10 http://archive.ubuntu.com oneiric/multiverse Sources [149 kB]
97% [9 Sources bzip2 0 B] [10 Sources 729 B/149 kB 0%] 161 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:11 http://archive.ubuntu.com oneiric/main i386 Packages [1226 kB]
Get:12 http://archive.ubuntu.com oneiric/restricted i386 Packages [8216 B]
Get:13 http://archive.ubuntu.com oneiric/universe i386 Packages [4468 kB]
Get:14 http://archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
98% [13 Packages bzip2 0 B] [14 Packages 441 B/119 kB 0%] 552 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:15 http://archive.ubuntu.com oneiric/main TranslationIndex [3289 B]
Get:16 http://archive.ubuntu.com oneiric/multiverse TranslationIndex [2265 B]
Get:17 http://archive.ubuntu.com oneiric/restricted TranslationIndex [2263 B]
Get:18 http://archive.ubuntu.com oneiric/universe TranslationIndex [2640 B]
Get:19 http://archive.ubuntu.com oneiric-updates/main Sources [148 kB]
Get:20 http://archive.ubuntu.com oneiric-updates/restricted Sources [3347 B]
Get:21 http://archive.ubuntu.com oneiric-updates/universe Sources [57.6 kB]
Get:22 http://archive.ubuntu.com oneiric-updates/multiverse Sources [3666 B]
Get:23 http://archive.ubuntu.com oneiric-updates/main i386 Packages [373 kB]
Get:24 http://archive.ubuntu.com oneiric-updates/restricted i386 Packages [6631 B]
Get:25 http://archive.ubuntu.com oneiric-updates/universe i386 Packages [124 kB]
99% [23 Packages bzip2 0 B] [25 Packages 0 B/124 kB 0%] 217 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:26 http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6371 B]
Get:27 http://archive.ubuntu.com oneiric-updates/main TranslationIndex [74 B]
Get:28 http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:29 http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex [72 B]
Get:30 http://archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:31 http://archive.ubuntu.com oneiric-security/main Sources [51.9 kB]
Get:32 http://archive.ubuntu.com oneiric-security/restricted Sources [1959 B]
Get:33 http://archive.ubuntu.com oneiric-security/universe Sources [18.9 kB]
Get:34 http://archive.ubuntu.com oneiric-security/multiverse Sources [1641 B]
Get:35 http://archive.ubuntu.com oneiric-security/main i386 Packages [190 kB]
Get:36 http://archive.ubuntu.com oneiric-security/restricted i386 Packages [3939 B]
Get:37 http://archive.ubuntu.com oneiric-security/universe i386 Packages [50.7 kB]
Get:38 http://archive.ubuntu.com oneiric-security/multiverse i386 Packages [3380 B]
Get:39 http://archive.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:40 http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:41 http://archive.ubuntu.com oneiric-security/restricted TranslationIndex [71 B]
Get:42 http://archive.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
99% [37 Packages bzip2 0 B] 127 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:43 http://archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:44 http://archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:45 http://archive.ubuntu.com oneiric/restricted Translation-en [2229 B]
Get:46 http://archive.ubuntu.com oneiric/universe Translation-en [3165 kB]
Get:47 http://archive.ubuntu.com oneiric-updates/main Translation-en [179 kB]
Get:48 http://archive.ubuntu.com oneiric-updates/multiverse Translation-en [3524 B]
Get:49 http://archive.ubuntu.com oneiric-updates/restricted Translation-en [1547 B]
Get:50 http://archive.ubuntu.com oneiric-updates/universe Translation-en [75.4 kB]
Get:51 http://archive.ubuntu.com oneiric-security/main Translation-en [89.8 kB]
Get:52 http://archive.ubuntu.com oneiric-security/multiverse Translation-en [1494 B]
Get:53 http://archive.ubuntu.com oneiric-security/restricted Translation-en [978 B]
Get:54 http://archive.ubuntu.com oneiric-security/universe Translation-en [33.7 kB]
Fetched 17.1 MB in 60s (282 kB/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric_universe_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-security_universe_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
jeff@Linux1:~$ sudo dpkg --configure -a
jeff@Linux1:~$ sudo dpkg --clear-avail
jeff@Linux1:~$ 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 64 not upgraded.
jeff@Linux1:~$ 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 64 not upgraded.
jeff@Linux1:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-security InRelease
Hit http://archive.ubuntu.com oneiric Release.gpg
Hit http://archive.ubuntu.com oneiric-updates Release.gpg
Hit http://archive.ubuntu.com oneiric-security Release.gpg
Hit http://archive.ubuntu.com oneiric Release
Hit http://archive.ubuntu.com oneiric-updates Release
Hit http://archive.ubuntu.com oneiric-security Release
Hit http://archive.ubuntu.com oneiric/main Sources
Hit http://archive.ubuntu.com oneiric/restricted Sources
Hit http://archive.ubuntu.com oneiric/multiverse Sources
Hit http://archive.ubuntu.com oneiric/main i386 Packages
Hit http://archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/main Sources
Hit http://archive.ubuntu.com oneiric-updates/restricted Sources
Hit http://archive.ubuntu.com oneiric-updates/universe Sources
Hit http://archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Get:1 http://archive.ubuntu.com oneiric/universe Sources [5792 kB]
Hit http://archive.ubuntu.com oneiric-security/main Sources
Hit http://archive.ubuntu.com oneiric-security/restricted Sources
Hit http://archive.ubuntu.com oneiric-security/universe Sources
Hit http://archive.ubuntu.com oneiric-security/multiverse Sources
Hit http://archive.ubuntu.com oneiric-security/main i386 Packages
Hit http://archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Get:2 http://archive.ubuntu.com oneiric/universe i386 Packages [5769 kB]
Hit http://archive.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric/restricted Translation-en
Hit http://archive.ubuntu.com oneiric/universe Translation-en
Get:3 http://archive.ubuntu.com oneiric-updates/main i386 Packages [482 kB]
Hit http://archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-updates/universe Translation-en
Get:4 http://archive.ubuntu.com oneiric-security/universe i386 Packages [62.6 kB]
Hit http://archive.ubuntu.com oneiric-security/main Translation-en
Hit http://archive.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-security/universe Translation-en
Fetched 4 B in 2s (1 B/s)
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric_universe_source_Sources Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_binary-i386_Packages Hash Sum mismatch
W: Failed to fetch gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_oneiric-security_universe_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
jeff@Linux1:~$
Thank you for your time.