I tried installing few packages using apt-get on my Ubuntu machine and it kept failing and also the Ubuntu Software Center kept crashing on launch.
Reading package lists… Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
To fixed the issue by deleting all the package lists files inside “/var/lib/apt/lists/” and downloaded the package lists from the repositories and “updated” them to get information on the newest versions of packages and their dependencies (sudo apt-get update).
sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
This seemed to fix the problem. Not sure what was the reason for the corruption of the files in the first place.