Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
How do I fix a “Problem with MergeList” error when trying to do an update?

I click on software center and it opens and closes so i tried to reinstall it in terminal and i get this error how do i fix this ?

Reading package lists... Error!  
E: Encountered a section with no Package: header  
E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_universe_binary-i386_Packages  
E: The package lists or status file could not be parsed or opened.  
share|improve this question
add comment

marked as duplicate by Jorge Castro, Eric Carvalho, qbi, hhlp, Ringtail Jan 27 '13 at 17:04

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.

1 Answer

Looks like you have a corrupt file. Fortunately it can be thrown away and reloaded with afew simple commands:

sudo rm /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_universe_binary-i386_Packages
sudo apt-get update
share|improve this answer
    
i cant remove that file with that command what can i do ? –  user126392 Jan 27 '13 at 23:56
    
What's the error you get? –  Dennis Kaarsemaker Jan 28 '13 at 9:00
    
Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_quantal-security_multiverse_‌​i18n_Translation-en E: The package lists or status file could not be parsed or opened. –  user126392 Jan 30 '13 at 4:01
    
That's not a possible error for sudo rm ... Looks like the rm worked, but you have more lists that need to be removed. Try this: sudo rm /var/lib/apt/lists/*Packages and then `sudo apt-get update. –  Dennis Kaarsemaker Jan 30 '13 at 9:43
add comment

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