Friday, January 13, 2012

Unable to update using apt-get on Ubuntu 11.04

Sometimes after the installation process does not go well, I encountered problems when using apt-get update message appears like this:
E :  Encountered a section with no package : header
E : Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_binary_i386_packages
E : The package lists or status file could not be parsed or opened.

The solution is remove all the listings package does not remove the package repository, only a list of packages in them. Removing the list of packages will force apt-get to rebuild.
The first step is open a terminal by pressing ctrl + alt + T and log in as super user with the command sudo-i then type the command rm / var / lib / apt / lists / *-vf then rebuild the package listings by typing the command apt-get update .

Hopefully this post a little help and hope everything goes smoothly.

No comments:

Post a Comment