0

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.  

1 Answers1

0

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
  • 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 09: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 04: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 09:43