Updater says "COuld Not initialize package information" and then crashes! What does that mean?

Asked by Manuel Diaz

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/apt/lists/76.73.4.58_ubuntu_dists_precise_universe_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

Then, it crashes and doesn't let me access updater. What can I do to resolve this?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
samuel (samuel-h) said :
#1

Have you attempted to manually add any ppas recentely, it sounds like the list files (the ones which list which packages are available and which are installed on your system), have been corrupted in some form.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2
Revision history for this message
Manuel Diaz (puretodasoul) said :
#3

 This is the full output on terminal: 'E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/76.73.4.58_ubuntu_dists_precise_universe_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.' unless there is another way to get it

Revision history for this message
Manuel Diaz (puretodasoul) said :
#4

This is what it does when I feed it this command:
cool@cool420:~$ sudo apt-get install upgrade
[sudo] password for cool:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/76.73.4.58_ubuntu_dists_precise_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
cool@cool420:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

The problem with "no Package: header" is covered in https://answers.launchpad.net/ubuntu/+faq/1591

You should have followed Mark Rijckenberg's instructions to execute the steps as described in https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure.

The lines

sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial

that are contained in that procedure usually solve that problem.

Can you help with this problem?

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

To post a message you must log in.