New question #254078 on apt in Ubuntu:
https://answers.launchpad.net/ubuntu/+source/apt/+question/254078


root@dumas-VirtualBox:/home/dumas# echo $ftp_proxy

root@dumas-VirtualBox:/home/dumas# grep proxy /etc/bash.bashrc
root@dumas-VirtualBox:/home/dumas# grep proxy ~/.bashrc
root@dumas-VirtualBox:/home/dumas# cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
root@dumas-VirtualBox:/home/dumas# sudo fuser -vvv /var/lib/dpkg/lock
root@dumas-VirtualBox:/home/dumas# sudo fuser -vvv /var/cache/apt/archives/lock
                     USER        PID ACCESS COMMAND
/var/cache/apt/archives/lock:
                     root       2771 F.... jockey-backend
root@dumas-VirtualBox:/home/dumas# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.3 LTS"
root@dumas-VirtualBox:/home/dumas# uname -a
Linux dumas-VirtualBox 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 
16:19:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
root@dumas-VirtualBox:/home/dumas# sudo rm /var/lib/apt/lists/lock
root@dumas-VirtualBox:/home/dumas# sudo rm  /var/cache/apt/archives/lock
root@dumas-VirtualBox:/home/dumas# sudo rm /var/lib/dpkg/lock
root@dumas-VirtualBox:/home/dumas# sudo cp -arf /var/lib/dpkg 
/var/lib/dpkg.backup
root@dumas-VirtualBox:/home/dumas# sudo mv /var/lib/dpkg/status 
/var/lib/dpkg/status-bad
root@dumas-VirtualBox:/home/dumas# sudo cp /var/lib/dpkg/status-old 
/var/lib/dpkg/status  ||  sudo cp /var/backups/apt.extended_states.0 
/var/lib/dpkg/status
root@dumas-VirtualBox:/home/dumas# sudo mv /var/lib/dpkg/available 
/var/lib/dpkg/available-bad
root@dumas-VirtualBox:/home/dumas# sudo cp /var/lib/dpkg/available-old 
/var/lib/dpkg/available
cp: cannot stat `/var/lib/dpkg/available-old': No such file or directory
root@dumas-VirtualBox:/home/dumas# sudo rm -rf /var/lib/dpkg/updates/*
root@dumas-VirtualBox:/home/dumas# sudo rm -rf /var/lib/apt/lists
root@dumas-VirtualBox:/home/dumas# sudo rm /var/cache/apt/*.bin
root@dumas-VirtualBox:/home/dumas# sudo mkdir /var/lib/apt/lists
root@dumas-VirtualBox:/home/dumas# sudo mkdir /var/lib/apt/lists/partial
root@dumas-VirtualBox:/home/dumas# LANG=C;sudo apt-get clean
root@dumas-VirtualBox:/home/dumas# LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree... Done
root@dumas-VirtualBox:/home/dumas# LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@dumas-VirtualBox:/home/dumas# LANG=C;sudo apt-get --fix-missing update -o 
APT::Cache-Limit=100000000
Get:1 http://archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:3 http://archive.ubuntu.com precise-backports Release.gpg [198 B]
Get:4 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Get:5 http://archive.ubuntu.com precise Release [49,6 kB]
Get:6 http://archive.ubuntu.com precise-updates Release [98,7 kB]
Get:7 http://archive.ubuntu.com precise-backports Release [50,8 kB]
Get:8 http://archive.ubuntu.com precise-security Release [50,7 kB]
Get:9 http://archive.ubuntu.com precise-security Release [50,7 kB]
Get:10 http://archive.ubuntu.com precise/main Sources [934 kB]
Ign http://archive.ubuntu.com precise-security Release     
100% [10 Sources bzip2 0 B] [Waiting for headers]          
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 precise/restricted amd64 Packages [8 452 B]    
                                                                                
                                            
Get:12 http://archive.ubuntu.com precise/universe amd64 Packages [4 786 kB]
Get:13 http://archive.ubuntu.com precise/universe amd64 Packages [4 786 kB]     
                                                                                
                                            
Get:14 http://archive.ubuntu.com precise/multiverse amd64 Packages [119 kB]     
                                                                                
                                            
Get:15 http://archive.ubuntu.com precise/main i386 Packages [1 274 kB]          
                                                                                
                                            
100% [13 Packages bzip2 0 B] [15 Packages 1 246 kB/1 274 kB 98%]                
                                                                                
                                 564 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:16 http://archive.ubuntu.com precise/main i386 Packages [1 274 kB]          
                                                                                
                                            
Get:17 http://archive.ubuntu.com precise/restricted i386 Packages [8 431 B]     
                                                                                
                                            
Get:18 http://archive.ubuntu.com precise/universe i386 Packages [4 796 kB]      
                                                                                
                                            
100% [16 Packages bzip2 0 B] [18 Packages 4 739 kB/4 796 kB 99%]                
                                                                                
                                 525 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:19 http://archive.ubuntu.com precise/universe i386 Packages [4 796 kB]      
                                                                                
                                            
Get:20 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]      
                                                                                
                                            
Get:21 http://archive.ubuntu.com precise/main TranslationIndex [3 706 B]        
                                                                                
                                            
Get:22 http://archive.ubuntu.com precise/multiverse TranslationIndex [2 676 B]  
                                                                                
                                            
Get:23 http://archive.ubuntu.com precise/restricted TranslationIndex [2 596 B]  
                                                                                
                                            
Get:24 http://archive.ubuntu.com precise/universe TranslationIndex [2 922 B]    
                                                                                
                                            
Get:25 http://archive.ubuntu.com precise-updates/main Sources [478 kB]          
                                                                                
                                            
100% [19 Packages bzip2 0 B] [25 Sources 472 kB/478 kB 99%]                     
                                                                                
                                 333 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 precise-updates/main Sources [478 kB]          
                                                                                
                                            
Get:27 http://archive.ubuntu.com precise-updates/restricted Sources [8 056 B]   
                                                                                
                                            
Get:28 http://archive.ubuntu.com precise-updates/universe Sources [110 kB]      
                                                                                
                                            
Get:29 http://archive.ubuntu.com precise-updates/multiverse Sources [8 881 B]   
                                                                                
                                            
Get:30 http://archive.ubuntu.com precise-updates/main amd64 Packages [831 kB]   
                                                                                
                                            
100% [26 Sources bzip2 0 B] [30 Packages 829 kB/831 kB 100%]                    
                                                                                
                                 333 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:31 http://archive.ubuntu.com precise-updates/main amd64 Packages [831 kB]   
                                                                                
                                            
Get:32 http://archive.ubuntu.com precise-updates/restricted amd64 Packages 
[13,7 kB]                                                                       
                                                 
Get:33 http://archive.ubuntu.com precise-updates/universe amd64 Packages [247 
kB]                                                                             
                                              
100% [31 Packages bzip2 0 B] [33 Packages 244 kB/247 kB 99%]                    
                                                                                
                                 152 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:34 http://archive.ubuntu.com precise-updates/universe amd64 Packages [247 
kB]                                                                             
                                              
Get:35 http://archive.ubuntu.com precise-updates/multiverse amd64 Packages 
[15,3 kB]                                                                       
                                                 
Get:36 http://archive.ubuntu.com precise-updates/main i386 Packages [862 kB]    
                                                                                
                                            
94% [34 Packages bzip2 0 B] [36 Packages 18,6 kB/862 kB 2%]                     
                                                                                
                               42,8 kB/s 19s
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:37 http://archive.ubuntu.com precise-updates/main i386 Packages [862 kB]    
                                                                                
                                            
Get:38 http://archive.ubuntu.com precise-updates/restricted i386 Packages [13,7 
kB]
Get:39 http://archive.ubuntu.com precise-updates/universe i386 Packages [254 kB]
100% [37 Packages bzip2 0 B] [39 Packages 252 kB/254 kB 99%]
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:40 http://archive.ubuntu.com precise-updates/universe i386 Packages [254 kB]
Get:41 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [15,5 
kB]
Get:42 http://archive.ubuntu.com precise-updates/main TranslationIndex [3 564 B]
Get:43 http://archive.ubuntu.com precise-updates/multiverse TranslationIndex [2 
605 B]                                                                          
                                            
Get:44 http://archive.ubuntu.com precise-updates/restricted TranslationIndex [2 
461 B]                                                                          
                                            
Get:45 http://archive.ubuntu.com precise-updates/universe TranslationIndex [2 
850 B]                                                                          
                                              
Get:46 http://archive.ubuntu.com precise-backports/main Sources [5 145 B]       
                                                                                
                                            
Get:47 http://archive.ubuntu.com precise-backports/restricted Sources [14 B]    
                                                                                
                                            
Get:48 http://archive.ubuntu.com precise-backports/universe Sources [39,4 kB]   
                                                                                
                                            
100% [40 Packages bzip2 0 B] [48 Sources 37,9 kB/39,4 kB 96%]                   
                                                                                
                                48,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:49 http://archive.ubuntu.com precise-backports/universe Sources [39,4 kB]   
                                                                                
                                            
Get:50 http://archive.ubuntu.com precise-backports/multiverse Sources [5 737 B] 
                                                                                
                                            
Get:51 http://archive.ubuntu.com precise-backports/main amd64 Packages [6 412 
B]                                                                              
                                              
Get:52 http://archive.ubuntu.com precise-backports/restricted amd64 Packages 
[14 B]                                                                          
                                               
100% [49 Sources bzip2 0 B] [Waiting for headers]                               
                                                                                
                                10,4 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:53 http://archive.ubuntu.com precise-backports/universe amd64 Packages 
[42,4 kB]                                                                       
                                                 
Get:54 http://archive.ubuntu.com precise-backports/multiverse amd64 Packages [5 
405 B]                                                                          
                                            
Get:55 http://archive.ubuntu.com precise-backports/main i386 Packages [6 420 B] 
                                                                                
                                            
Get:56 http://archive.ubuntu.com precise-backports/restricted i386 Packages [14 
B]                                                                              
                                            
Get:57 http://archive.ubuntu.com precise-backports/universe i386 Packages [42,2 
kB]                                                                             
                                            
Get:58 http://archive.ubuntu.com precise-backports/multiverse i386 Packages [5 
399 B]                                                                          
                                             
Get:59 http://archive.ubuntu.com precise-backports/main TranslationIndex [72 B] 
                                                                                
                                            
Get:60 http://archive.ubuntu.com precise-backports/multiverse TranslationIndex 
[72 B]                                                                          
                                             
Get:61 http://archive.ubuntu.com precise-backports/restricted TranslationIndex 
[70 B]                                                                          
                                             
Get:62 http://archive.ubuntu.com precise-backports/universe TranslationIndex 
[73 B]                                                                          
                                               
Get:63 http://archive.ubuntu.com precise-security/main Sources [110 kB]         
                                                                                
                                            
Get:64 http://archive.ubuntu.com precise-security/restricted Sources [2 494 B]  
                                                                                
                                            
Get:65 http://archive.ubuntu.com precise-security/universe Sources [32,7 kB]    
                                                                                
                                            
Get:66 http://archive.ubuntu.com precise-security/multiverse Sources [1 786 B]  
                                                                                
                                            
Get:67 http://archive.ubuntu.com precise-security/main amd64 Packages [421 kB]  
                                                                                
                                            
Get:68 http://archive.ubuntu.com precise-security/main amd64 Packages [421 kB]  
                                                                                
                                            
Get:69 http://archive.ubuntu.com precise-security/restricted amd64 Packages [4 
627 B]                                                                          
                                             
Get:70 http://archive.ubuntu.com precise-security/universe amd64 Packages [97,4 
kB]                                                                             
                                            
Get:71 http://archive.ubuntu.com precise-security/multiverse amd64 Packages [2 
451 B]                                                                          
                                             
Get:72 http://archive.ubuntu.com precise-security/main i386 Packages [450 kB]   
                                                                                
                                            
100% [68 Packages bzip2 0 B] [72 Packages 446 kB/450 kB 99%]                    
                                                                                
                                 108 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:73 http://archive.ubuntu.com precise-security/main i386 Packages [450 kB]   
                                                                                
                                            
100% [73 Packages bzip2 0 B] [Waiting for headers]                              
                                                                                
                                85,5 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:74 http://archive.ubuntu.com precise-security/restricted i386 Packages [4 
620 B]                                                                          
                                              
Get:75 http://archive.ubuntu.com precise-security/universe i386 Packages [103 
kB]                                                                             
                                              
Get:76 http://archive.ubuntu.com precise-security/multiverse i386 Packages [2 
644 B]                                                                          
                                              
Get:77 http://archive.ubuntu.com precise-security/main TranslationIndex [74 B]  
                                                                                
                                            
Get:78 http://archive.ubuntu.com precise-security/multiverse TranslationIndex 
[72 B]                                                                          
                                              
Get:79 http://archive.ubuntu.com precise-security/restricted TranslationIndex 
[72 B]                                                                          
                                              
Get:80 http://archive.ubuntu.com precise-security/universe TranslationIndex [73 
B]                                                                              
                                            
Get:81 http://archive.ubuntu.com precise/restricted Sources [5 306 B]           
                                                                                
                                            
Get:82 http://archive.ubuntu.com precise/universe Sources [6 239 kB]            
                                                                                
                                            
Get:83 http://archive.ubuntu.com precise/universe Sources [6 239 kB]            
                                                                                
                                            
Get:84 http://archive.ubuntu.com precise/multiverse Sources [188 kB]            
                                                                                
                                            
Get:85 http://archive.ubuntu.com precise/main amd64 Packages [1 640 kB]         
                                                                                
                                            
Get:86 http://archive.ubuntu.com precise/main amd64 Packages [1 640 kB]         
                                                                                
                                            
Get:87 http://archive.ubuntu.com precise/main Translation-en [726 kB]           
                                                                                
                                            
Get:88 http://archive.ubuntu.com precise/main Translation-en [726 kB]           
                                                                                
                                            
Get:89 http://archive.ubuntu.com precise/multiverse Translation-en [93,4 kB]    
                                                                                
                                            
Get:90 http://archive.ubuntu.com precise/restricted Translation-en [2 395 B]    
                                                                                
                                            
Get:91 http://archive.ubuntu.com precise/universe Translation-en [3 341 kB]     
                                                                                
                                            
91% [88 Translation-en bzip2 0 B] [91 Translation-en 885 kB/3 341 kB 26%]       
                                                                                
                                116 kB/s 21s
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:92 http://archive.ubuntu.com precise/universe Translation-en [3 341 kB]     
                                                                                
                                            
100% [92 Translation-en bzip2 0 B] [Waiting for headers]                        
                                                                                
                                 560 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:93 http://archive.ubuntu.com precise-updates/main Translation-en [364 kB]   
                                                                                
                                            
Get:94 http://archive.ubuntu.com precise-updates/main Translation-en [364 kB]   
                                                                                
                                            
100% [94 Translation-en bzip2 0 B]                                              
                                                                                
                                56,9 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:95 http://archive.ubuntu.com precise-updates/multiverse Translation-en [9 
010 B]                                                                          
                                              
Get:96 http://archive.ubuntu.com precise-updates/restricted Translation-en [3 
027 B]                                                                          
                                              
Get:97 http://archive.ubuntu.com precise-updates/universe Translation-en [144 
kB]                                                                             
                                              
Get:98 http://archive.ubuntu.com precise-updates/universe Translation-en [144 
kB]                                                                             
                                              
100% [98 Translation-en bzip2 0 B] [40 Packages bzip2 254 kB]                   
                                                                                
                                  457 B/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:99 http://archive.ubuntu.com precise-backports/main Translation-en [5 882 
B]                                                                              
                                              
Get:100 http://archive.ubuntu.com precise-backports/multiverse Translation-en 
[4 838 B]                                                                       
                                              
Get:101 http://archive.ubuntu.com precise-backports/restricted Translation-en 
[14 B]                                                                          
                                              
Get:102 http://archive.ubuntu.com precise-backports/universe Translation-en 
[33,8 kB]                                                                       
                                                
Get:103 http://archive.ubuntu.com precise-security/main Translation-en [192 kB] 
                                                                                
                                            
Get:104 http://archive.ubuntu.com precise-security/multiverse Translation-en [1 
299 B]                                                                          
                                            
Get:105 http://archive.ubuntu.com precise-security/restricted Translation-en [1 
253 B]                                                                          
                                            
Get:106 http://archive.ubuntu.com precise-security/universe Translation-en 
[60,1 kB]                                                                       
                                                 
Err http://archive.ubuntu.com precise/universe Sources                          
                                                                                
                                            
  404  Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com precise/main amd64 Packages                       
                                                                                
                                            
  404  Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com precise/main i386 Packages                        
                                                                                
                                            
  404  Not Found [IP: 91.189.91.13 80]
100% [98 Translation-en gzip 545 kB]W: GPG error: http://archive.ubuntu.com 
precise-security Release: The following signatures were invalid: BADSIG 
40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
E: Unable to parse package file 
/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-updates_universe_i18n_Translation-en.decomp
 (1)
Fetched 2 994 kB in 4min 53s (10,2 kB/s)
W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources
  Hash Sum mismatch

W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/precise/universe/source/Sources  404  
Not Found [IP: 91.189.91.13 80]

W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/Packages  404  
Not Found [IP: 91.189.91.13 80]

W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages
  Hash Sum mismatch

W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-i386/Packages  404  
Not Found [IP: 91.189.91.13 80]

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

W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources
  Hash Sum mismatch

W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-amd64_Packages
  Hash Sum mismatch

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

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

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

W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-backports_universe_source_Sources
  Hash Sum mismatch

W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-security_main_binary-amd64_Packages
  Encountered a section with no Package: header

W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-security_main_binary-i386_Packages
  Encountered a section with no Package: header

W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Translation-en
  Encountered a section with no Package: header

W: Failed to fetch 
gzip:/var/lib/apt/lists/partial/archive.ubuntu.com_ubuntu_dists_precise-updates_universe_i18n_Translation-en
  

E: Some index files failed to download. They have been ignored, or old ones 
used instead.
root@dumas-VirtualBox:/home/dumas# sudo dpkg --configure -a
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.8.0-29-generic
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for software-center ...
INFO:softwarecenter.db.update:no translation information in database needed
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for ureadahead ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@dumas-VirtualBox:/home/dumas# sudo dpkg --clear-avail
root@dumas-VirtualBox:/home/dumas# LANG=C;sudo apt-get -f install
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList 
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
root@dumas-VirtualBox:/home/dumas# LANG=C;sudo apt-get --fix-missing install
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList 
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
root@dumas-VirtualBox:/home/dumas# LANG=C;sudo apt-get update -o 
APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit http://archive.ubuntu.com precise Release.gpg
Hit http://archive.ubuntu.com precise-updates Release.gpg
Hit http://archive.ubuntu.com precise-backports Release.gpg
Get:1 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Hit http://archive.ubuntu.com precise Release
Hit http://archive.ubuntu.com precise-updates Release
Hit http://archive.ubuntu.com precise-backports Release
Hit http://archive.ubuntu.com precise-security Release
Hit http://archive.ubuntu.com precise/restricted Sources
Get:2 http://archive.ubuntu.com precise/multiverse Sources [155 kB]
Ign http://archive.ubuntu.com precise-security Release 
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Get:3 http://archive.ubuntu.com precise/multiverse amd64 Packages [1 274 kB]
12% [2 Sources bzip2 0 B] [3 Packages 11,7 kB/1 274 kB 1%]
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.

Hit http://archive.ubuntu.com precise/main i386 Packages  
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Ign http://archive.ubuntu.com precise/universe TranslationIndex
Hit http://archive.ubuntu.com precise-updates/main Sources
Hit http://archive.ubuntu.com precise-updates/restricted Sources
Hit http://archive.ubuntu.com precise-updates/universe Sources
Hit http://archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://archive.ubuntu.com precise-updates/main i386 Packages
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://archive.ubuntu.com precise-backports/main Sources
Hit http://archive.ubuntu.com precise-backports/universe Sources
Hit http://archive.ubuntu.com precise-backports/multiverse Sources
Hit http://archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise-backports/main i386 Packages
Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
Get:4 http://archive.ubuntu.com precise-backports/universe TranslationIndex [1 
175 kB]
Get:5 http://archive.ubuntu.com precise/main Sources [6 239 kB]        
Ign http://archive.ubuntu.com precise-security/main Sources/DiffIndex
Ign http://archive.ubuntu.com precise-security/restricted Sources/DiffIndex
Ign http://archive.ubuntu.com precise-security/universe Sources/DiffIndex
Ign http://archive.ubuntu.com precise-security/multiverse Sources/DiffIndex
Ign http://archive.ubuntu.com precise-security/restricted amd64 
Packages/DiffIndex
Ign http://archive.ubuntu.com precise-security/universe amd64 Packages/DiffIndex
Ign http://archive.ubuntu.com precise-security/multiverse amd64 
Packages/DiffIndex
Ign http://archive.ubuntu.com precise-security/restricted i386 
Packages/DiffIndex
Ign http://archive.ubuntu.com precise-security/universe i386 Packages/DiffIndex
Hit http://archive.ubuntu.com precise-security/multiverse i386 
Packages/DiffIndex
W: GPG error: http://archive.ubuntu.com precise-security Release: The following 
signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic 
Signing Key <[email protected]>
E: Could not open file 
/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-i386_Packages.IndexDiff
 - open (2: No such file or directory)
root@dumas-VirtualBox:/home/dumas# find /etc/apt -name '*.list' -exec bash -c 
'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1  # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 
(20130820.1)]/ dists/precise/main/binary-i386/
     2  
     3  # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 
(20130820.1)]/ dists/precise/restricted/binary-i386/
     4  # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release amd64 
(20130820.1)]/ precise main restricted
     5  
     6  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade 
to
     7  # newer versions of the distribution.
     8  deb http://archive.ubuntu.com/ubuntu precise main restricted
     9  deb-src http://archive.ubuntu.com/ubuntu precise main restricted
    10  
    11  ## Major bug fix updates produced after the final release of the
    12  ## distribution.
    13  deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
    14  deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted
    15  
    16  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the 
Ubuntu
    17  ## team. Also, please note that software in universe WILL NOT receive 
any
    18  ## review or updates from the Ubuntu security team.
    19  deb http://archive.ubuntu.com/ubuntu precise universe
    20  deb-src http://archive.ubuntu.com/ubuntu precise universe
    21  deb http://archive.ubuntu.com/ubuntu precise-updates universe
    22  deb-src http://archive.ubuntu.com/ubuntu precise-updates universe
    23  
    24  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the 
Ubuntu 
    25  ## team, and may not be under a free licence. Please satisfy yourself 
as to 
    26  ## your rights to use the software. Also, please note that software in 
    27  ## multiverse WILL NOT receive any review or updates from the Ubuntu
    28  ## security team.
    29  deb http://archive.ubuntu.com/ubuntu precise multiverse
    30  deb-src http://archive.ubuntu.com/ubuntu precise multiverse
    31  deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
    32  deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse
    33  
    34  ## N.B. software from this repository may not have been tested as
    35  ## extensively as that contained in the main release, although it 
includes
    36  ## newer versions of some applications which may provide useful 
features.
    37  ## Also, please note that software in backports WILL NOT receive any 
review
    38  ## or updates from the Ubuntu security team.
    39  deb http://archive.ubuntu.com/ubuntu precise-backports main restricted 
universe multiverse
    40  deb-src http://archive.ubuntu.com/ubuntu precise-backports main 
restricted universe multiverse
    41  
    42  deb http://archive.ubuntu.com/ubuntu precise-security main restricted
    43  deb-src http://archive.ubuntu.com/ubuntu precise-security main 
restricted
    44  deb http://archive.ubuntu.com/ubuntu precise-security universe
    45  deb-src http://archive.ubuntu.com/ubuntu precise-security universe
    46  deb http://archive.ubuntu.com/ubuntu precise-security multiverse
    47  deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse
    48  
    49  ## Uncomment the following two lines to add software from Canonical's
    50  ## 'partner' repository.
    51  ## This software is not part of Ubuntu, but is offered by Canonical and 
the
    52  ## respective vendors as a service to Ubuntu users.
    53  # deb http://archive.canonical.com/ubuntu precise partner
    54  # deb-src http://archive.canonical.com/ubuntu precise partner
    55  
    56  ## This software is not part of Ubuntu, but is offered by third-party
    57  ## developers who want to ship their latest software.
    58  # deb http://extras.ubuntu.com/ubuntu precise main
    59  # deb-src http://extras.ubuntu.com/ubuntu precise main
root@dumas-VirtualBox:/home/dumas# 


-- 
You received this question notification because you are a member of
Communauté d'aide d'Ubuntu en Français, which is an answer contact for
Ubuntu.

-- 
Mailing list: https://launchpad.net/~aide
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aide
More help   : https://help.launchpad.net/ListHelp

Reply via email to