PDA

View Full Version : [ubuntu] Error message while checking for updates



jlapinski4
July 10th, 2012, 01:31 AM
I am receiving this error message when attempting to check for regular updates:

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/us.archive.ubuntu.com_ubuntu_dists_precise_restric ted_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

Any ideas? The only thing that was different was immediately prior to getting this error message I arrived at work and hadn't logged into the wireless network but attempted to check for updates. I canceled, rebooted, and logged into the wireless network. Now each time I attempt to check for updates I get the above error message.

Thanks

jmfal
July 10th, 2012, 02:01 AM
Welcome to Ubuntu,

Run this in a terminal it will unlock that file so you can update


sudo rm /var/lib/dpkg/lock

Then you can update

sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoclean
sudo apt-get autoremove

plucky
July 10th, 2012, 09:05 AM
It the above doesn't work then try removing the .list files with
sudo rm /var/lib/apt/lists/* -rf and then running
sudo apt-get update to reload them.

Good luck

jlapinski4
July 10th, 2012, 09:22 AM
Thank you both!

Now, stupid question since I unlocked and updated from the terminal, do I need to run any further commands to install the updates?

jmfal
July 10th, 2012, 01:52 PM
You should be good to go, if there are problems similar to this you might have to dig a little deeper to correct the problem.

jlapinski4
July 12th, 2012, 12:57 AM
Thanks! I am just having issues getting a downloaded software package to install. I keep getting the error message cannot unpack jar files

MoebusNet
August 17th, 2012, 06:10 PM
This error message showed up today in my upper taskbar:


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, Eroblem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_precise_restric ted_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.'

This thread really saved the day!

Thank you jmfal & plucky!!