Ubuntu 11.04 Update Manager Could not initialize the package information.
I have been running the latest Ubuntu 11.04 for about a month now, and the update manager was always working like a charm, though I had an error few days back when trying to update my Ubuntu using Ubuntu Update Manger. The error was as follow:
Could not initialize the package information. Please report this bug agaist the ‘update-manager’ package that include the following error message:
‘E:Encoutered a section with no Package: header, E:problem with MergeList /var/lib/apt/lists/ae.archive.ubuntu.com_ubuntu_dist_natty_main_binary-amd64_Package, E:The package lists or status files could not be parsed or opened.’
A snapshot image of the error is showing below:
As I fuzzed with the error for two days, I thought I will share how I resolved it with other Ubuntu users in the community to make sure they are well on in no time. below is the commands I have ran that resolved the above problem & should work out for you too:
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
After that just run the Ubuntu Update Manager, & you should be all ready to go.
Enjoy using Ubuntu & happy updating.
Ubuntu is like any other distro of Linux is also greatly used by many of the best 10 web hosting and is referred to as LAMP at times. Linux, Apache, MySQL and PHP are all great solutions to using Linux for a web hosting alternative. Its great that the community always respond to such Linux bugs with fixes in a very quick manner, that has always kept Linux the most spread webhosting platform.
May 21st, 2012 at 9:08 am |
“Couldn’t initialize it?” I can’t even find it. I have never seen a more compiled conglomeration of garbage than the Linux Operating Systems; at this point I’m pretty much done with it. What is it that usually happens to something you get for free? You throw it in the trash!
June 16th, 2012 at 5:48 am |
This uBuntu is junk… i also have this problem of
rm: cannot remove `/var/lib/apt/lists/partial’: Is a directory
why is it so hard in linux?
If i try to delete the partial directory, i get permission error
also, i cannot change attrib to 777…
planning to un-install… this is not workable…
July 1st, 2012 at 10:42 am |
Hi Ravi,
I guess you should run back to Windows if you can not spend some time to adapt to the great Linux. Don’t forget that you have spent most of your life learning windows, so if you needed few weeks to adapt to Linux that should not be bad.
Enjoy,
Erick
July 7th, 2012 at 5:33 am |
This works like a charm and helped me save a lot of time.
Many Thanks!
September 18th, 2012 at 10:40 am |
It’s very easy to find out any matter on web as compared to textbooks, as I found this piece of writing at this web page.
March 31st, 2013 at 10:27 pm |
thanks a lot!!!
its very helped me 🙂