Update Manager can't refresh package list (Solved)

Hi guys

I’m having a problem with update manager in Peppermint 2, the icon on the taskbar is showinh a red “x” and when I hover the mouse over it, it says " could not refresh list of packages" and if I try to download & install updates I get this error message

E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages E: The package lists or status file could not be parsed or opened. E: _cache->open() failed, please report
.

Any help would be much appreciated

Many thanks

Graeme

AFAIK, both the Ubuntu 11.04 and Peppermint 2 repo’s have been archived/discontinued.

What’s the output from:

sudo apt-get update

Hi Mark I’m sorry that was a typo I meant to type Peppermint 3

Try this -

sudo apt-get clean

then

sudo mv -v /var/lib/apt/lists /var/lib/apt/lists.broken

then

sudo mkdir -p /var/lib/apt/lists/partial

then

sudo apt-get update

If there’s no errors … open the update manager, and tell it to refresh its package cache (check for updates).

OK that sorted it, once it was refreshed it offered updates so i installed them and everything is well

Once again many thanks

Graeme