10/12/2009

How to fix the apt-get error on Ubuntu.

I got a following error when I tried to install something using apt-get.



'E:Encountered a section with no Package: header, Eroblem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_hardy-updates_multiverse_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'


I checked the web for the solution and found this command worked for me.

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get update

Referral

http://ubuntuforums.org/showthread.php?t=863742

No comments: