Migrated from 11.04 to 11.10 via update manager. Now update manager fails.

Asked by Roger Deslauriers

     I've looked through the other posts and see similar posts but not exactly what I've experienced. When I try update manager I get:

E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/ca.archive.ubuntu.com_ubuntu_dists_oneiric-updates_main_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.

    How can I resolve this?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade

Revision history for this message
Roger Deslauriers (dinamos) said :
#2

     Yes. This is what I like about the Ubuntu community. Problem solved.
     Thank you.