Software Center does not load

Posted by eim on Ask Ubuntu See other posts from Ask Ubuntu or by eim
Published on 2012-10-25T02:02:15Z Indexed on 2012/10/25 5:21 UTC
Read the original article Hit count: 209

Filed under:

I'm having problems with opening my Software center and it just shuts off after loading a few seconds. I can't even get it to the main page of the Software Center.

I did try to follow these commands but of no avail:

sudo apt-get purge software-center
sudo apt-get update
sudo apt-get install software-center

Instead, I get an error after entering the first command:

eim@eim-VAIO:~$ sudo apt-get purge software-cente
Reading package lists... Error!
E: Encountered a section with no Package: header

E: **Problem with MergeList** /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_precise-security_universe_i18n_Translation-en

E: The package lists or status file could not be parsed or opened.

I tried doing this aswell:

Run : cd ~/.cache; rm -r software-center

(nothing happened)

And this:

Add /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 to the Startup applications

error message:

eim@eim-VAIO:~$ /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Gtk-Message: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

** (polkit-gnome-authentication-agent-1:3563): WARNING **: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject
Cannot register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject

I think I've done all the possible fix to this problem as suggested on my research. But I can't seem to get this work.

Can someone please help?


NOTE:

Okay...

Guess I just found the solution to my problem. I'll just post the answer here since I can't answer my own question yet.

Open terminal:

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

Now I can open my Software Center!

I found the answer here:

How do I fix a "Problem with MergeList" error when trying to do an update?

© Ask Ubuntu or respective owner

Related posts about 12.04