update-manager fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
error message when running update-manager:
=======
Could not initialize the package information
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/
=======
After running sudo apt-get update from terminal I see:
Reading package lists... Error!
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/
E: The package lists or status file could not be parsed or opened.
=======
This seemed like the keys need to be refreshed and so I tried purging my cache.
sudo apt-get clean followed by a new update returns the same error.
sudo apt-key update revealed keys were up to date.
Searched the help forum and found a recent issue with similar problem: http://
Followed steps provided by 2F4U and resolved issue:
cd /var/lib/apt
sudo mv lists lists.old
sudo mkdir -p lists/partial
sudo apt-get update
Thought I would still report the bug.
Running Ubuntu 12.04 Precise Pangolian, update-manager 1:0.156.14.4, apport failed to gather package information.
Thank you for taking the time to report this bug and helping to make Ubuntu better. Reviewing your bug report it seems that you are experiencing bug 346386. This issue happens when you have tried to update your package information when you are a network that didn't return the right files. This issue can be cleaned up by using the following commands in a terminal:
1.) sudo rm /var/lib/ apt/lists/ *
2.) sudo apt-get update
Thanks and good luck!
[This is an automated message. I apologize if it reached you inappropriately; please reopen the bug task if it was incorrect.]