recently I installed Peppermint 5 to a friends Compaq Presario CQ56 laptop and he’s having problems writing to a pen drive, so I tried to install gparted and I get this error when I try to open Synaptic Package Manager
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/extras.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.
running an update from the terminal ends with the same error message
any help or advice would be much appreciated
Can you post up the contents of /etc/apt/sources.list ?
Clean any stored packages:
sudo apt-get clean
then move the package cache lists:
sudo mv -v /var/lib/apt/lists /var/lib/apt/lists-broken
then reacreate the directories for the new package cache lists:
sudo mkdir -p /var/lib/apt/lists/partial
then refresh the package cache lists:
sudo apt-get update
then just in case you have any half installed packages:
sudo apt-get -f install
if there were no errors … try opening your package manager now.
Thank you Mark that fixed it, I’ll mark this solved, but just out of curiosity what actually went wrong and why ?
One of the package cache lists at
became corrupted … so when running apt-get update it couldn’t update the stored list of packages for a repository
Or in technical terms - Your computer busterated itself
As for “why”, you’ll have to ask the computer gods.