PDA

View Full Version : [ubuntu] Look here if you get E: Encountered a section with no Package: header E: Problem with



zintinio
July 14th, 2009, 04:57 PM
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lists or status file could not be parsed or opened.

If you are not comfortable in the terminal, just type in
~$ gksu nautilus
It will open nautilus. From there navigate to /var/lib/dpkg
Then you will see a few files that say status, status old, and status-bad. Delete them all. Then right click, and create a new Document. Rename it status. Your package manager will now work again.

Partyboi2
July 15th, 2009, 11:41 AM
You should be able to replace your existing status file with the old one without having to delete everything :)

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.broke
sudo cp /var/lib/dpkg/status.old /var/lib/dpkg/status

zintinio
July 15th, 2009, 04:05 PM
If it works...:KS

chriswcy
August 26th, 2009, 04:56 AM
You can try following commands:

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