Error in update manager

Asked by Paludan

''sudo apt-get update'' in Ubuntu 11.04 yields the following error:
....
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #774182.

Revision history for this message
Paludan (kjaer-daniel9) said :
#1

I don't know if this is a genuine bug or if it is a question.

Revision history for this message
mycae (mycae) said :
#2

Try moving the file out of the way and re-building it.

sudo mv /var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages ~/dk.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages.backup
sudo apt-get update

Revision history for this message
Paludan (kjaer-daniel9) said :
#3

Still error:
...
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dk.archive.ubuntu.com_ubuntu_dists_natty_restricted_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

Revision history for this message
Paludan (kjaer-daniel9) said :
#4

The first command you showed me went right through without error, but after that the apt-get update showed the error I just typed above.

Revision history for this message
Daniel Pisano (sa-san) said :
#5

I have the same error :(

Revision history for this message
Daniel Pisano (sa-san) said :
#6

I had fix this error :).... You have to remove the damaged files with:

sudo rm /var/lib/apt/lists/* -vf

And then get new lists with :

sudo apt-get update

and then :

sudo apt-get upgrade

:)

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7
Revision history for this message
headr (hai-dr) said :
#8

it's still wont work on me.

Can you help with this problem?

Provide an answer of your own, or ask Paludan for more information if necessary.

To post a message you must log in.