Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
“Problem with MergeList” error when trying to do an update

I get the following message when running apt on this public hotel wifi:

$ sudo apt-get update
Ign natty InRelease
Ign natty-security InRelease                        
Ign natty InRelease                                   
OK natty Release.gpg                            
OK natty-security Release.gpg                 
OK natty Release.gpg                            
Ign natty InRelease                           
Ign natty-updates InRelease                   
OK natty Release                            
Ign natty-security InRelease                  
OK natty Release                                
OK natty-security Release                     
OK natty Release.gpg                        
OK natty-updates Release.gpg               
OK natty/partner i386 Packages             
Hole:1 natty-security Release.gpg [198 B]         
Ign natty/partner TranslationIndex                
OK natty/main Sources                               
OK natty/main i386 Packages                     
Ign natty/main TranslationIndex                       
OK natty Release                                
OK natty-security/main i386 Packages          
OK natty-security/restricted i386 Packages        
OK natty-security/universe i386 Packages          
OK natty-security/multiverse i386 Packages        
Ign natty-security/main TranslationIndex            
OK natty-updates Release                        
Ign natty-security/multiverse TranslationIndex      
Ign natty-security/restricted TranslationIndex      
Ign natty-security/universe TranslationIndex        
Hole:2 natty-security Release [23,2 kB]           
OK natty/main Sources                           
OK natty/restricted Sources                     
OK natty/universe Sources                       
OK natty/multiverse Sources                     
OK natty/main i386 Packages                     
OK natty/restricted i386 Packages               
OK natty/universe i386 Packages                 
OK natty/multiverse i386 Packages               
Ign natty/main TranslationIndex                   
Ign natty/multiverse TranslationIndex             
Ign natty/restricted TranslationIndex             
Ign natty/universe TranslationIndex               
OK natty-updates/main Sources                   
OK natty-updates/restricted Sources             
OK natty-updates/universe Sources               
OK natty-updates/multiverse Sources             
OK natty-updates/main i386 Packages             
OK natty-updates/restricted i386 Packages       
OK natty-updates/universe i386 Packages         
Ign natty/partner Translation-de_DE               
OK natty-updates/multiverse i386 Packages       
Ign natty/main Translation-de_DE                      
Ign natty-updates/main TranslationIndex           
Ign natty/partner Translation-de                  
Ign natty-updates/multiverse TranslationIndex     
Ign natty-updates/restricted TranslationIndex     
Ign natty-updates/universe TranslationIndex       
Ign natty/main Translation-de                         
OK natty/main Translation-de                    
Ign natty/partner Translation-en                  
Ign natty/main Translation-en                         
Hole:3 natty-security/main Sources [5.941 B]  
Hole:4 natty-security/restricted Sources [14 B]
Hole:5 natty-security/universe Sources [2.145 B]
Hole:6 natty-security/multiverse Sources [14 B]
Ign natty-security/main Translation-de_DE
Ign natty-security/main Translation-de
OK natty/multiverse Translation-de        
OK natty/restricted Translation-de        
Ign natty-security/main Translation-en        
Ign natty-security/multiverse Translation-de_DE
Ign natty-security/multiverse Translation-de
Ign natty-security/multiverse Translation-en
Ign natty-security/restricted Translation-de_DE
Ign natty-security/restricted Translation-de
OK natty/universe Translation-de
Ign natty-security/restricted Translation-en
Ign natty-security/universe Translation-de_DE
Ign natty-security/universe Translation-de
Ign natty-security/universe Translation-en
Ign natty/main Translation-de_DE
Ign natty/main Translation-en
Ign natty/multiverse Translation-de_DE
Ign natty/multiverse Translation-en
Ign natty/restricted Translation-de_DE
Ign natty/restricted Translation-en
Ign natty/universe Translation-de_DE
Ign natty/universe Translation-en
Ign natty-updates/main Translation-de_DE
Ign natty-updates/main Translation-de
Ign natty-updates/main Translation-en
Ign natty-updates/multiverse Translation-de_DE
Ign natty-updates/multiverse Translation-de
Ign natty-updates/multiverse Translation-en
Ign natty-updates/restricted Translation-de_DE
Ign natty-updates/restricted Translation-de
Ign natty-updates/restricted Translation-en
Ign natty-updates/universe Translation-de_DE
Ign natty-updates/universe Translation-de
Ign natty-updates/universe Translation-en
Es wurden 31,5 kB in 4 s geholt (7.340 B/s)
Paketlisten werden gelesen... Fehler!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages
E: Die Paketliste oder die Statusdatei konnte nicht eingelesen oder geöffnet werden.

Package list are read ... Error! E: Encountered ... E: The package file or the status file could not be read or opened

How can I fix that?

share|improve this question

marked as duplicate by Jorge Castro, Marco Ceppi Jul 14 '11 at 3:17

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 2 down vote accepted

Just delete the lists that apt has cached with a rm -rf /var/lib/apt/lists/* and it will reload them from scratch.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.