N/APosted on - 06/15/2012
I just installed Ubuntu 10.10 in my Pc.
After the installation is completed, I want to download some softwares via "Ubuntu Software Center" which is present in the applications menu.
But here I got the problem.
It isn’t working but instead I got an error message:
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/ extras.ubuntu.com_ubuntu_dists_maverick_main_binary.i386_package.E:the package lists or status file could not be parsed or opened.
So, I need some solution on how can I fix this.
Thanks in advance.
Problem in Ubuntu Software Center.
This error usually happens after updating your version of Ubuntu. This happens because there is an error in the listing of your packages. So you need to remove all of your packages listings and rebuilding them. This does not mean that you will remove your packages repositories rather you will remove the listing of the packages inside them.
Removing all the package listings forces apt-get to rebuild everything so it is normal for it to take a bit longer than normal.
-First you delete all of the old listings by issuing the following command at the terminal (ALT+CTRL+T)
sudo rm /var/lib/apt/lists/* -vf
-Then you will use apt-get to rebuild you listings, by using the following command at the terminal
sudo apt-get update
And thats it you should now be able to open your Ubuntu Software Center and download programs as you like.
Hope this helps you.