Update Manager Problem

Asked by Mostafa A. Hamid

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

Sorry for the inconvenience, but I get this error message when I use the update manager, this error prevents me from using the update manager science I upgraded to Ubuntu 11.0.
Cannot Update.
Can it be solved.
Thank you for your interest in reading this question.

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 autoclean
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
Luky Winarto (luckyborneo) said :
#2

Hi Mostafa A. Hamid ,

Try to change your repository to somewhere else.

Revision history for this message
Mostafa A. Hamid (mostafa-a-hamid) said :
#3

Thank you for your interest in solving such problem.
This solution went very fine.
The update is successfully done.