Ubuntu: Software Center does not open



Question:

When I try to open the Software Center, I get a message saying "Could not determine the package name."

I am a new Linux user, detailed help is most appreciated!


Solution:1

Run the following in a terminal:

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


Solution:2

The solution that I have found to solve this bug, after many months of research, and many misleading information found on the web/google/blogs/forums is very simple, but difficult to understand for newbies and non-coders.

CAUTION: The Internet is full of 'false solution' (ie. or very case singular) to software-center bug affecting ubuntu users, and that lead to make your system even more corrupted and buggier than before, so please do take your time to understand what you are intending to "sudo" with or you will be in trouble.

After reading around quite a bit on several similar and somewhat related bug reports, the following 2 steps solved it for me (or seem to have solved it for all the systems I could identify with same crash log - which is also misleading - caution reading logs!).

Does not need to purge software-center or upgrade distribution or worst: DO NOT REINSTALL YOUR SYSTEM! Does not have to do with dbus or proxy or hardware problems, these are just side effects.

I diagnosed the problem as a 'pip' bug or 'pip configuration' corruption and its consequence on python subsystem.

So I targeted it as the result of a python 'pip' installation bug after a wrong 'pip' installation of a non standard package repository.

The solution is in part found for the 'pip' problem here:

REF: https://github.com/pypa/pip/issues/2686 User: jayachar88 commented on Apr 15, 2015

The solution is very simple at the end, just do this:

$ sudo python -m pip install --upgrade --force setuptools  $ sudo python -m pip install --upgrade --force pip  

Not only does this solves python exception error with pip upgrade, but also a greater bug of Ubuntu community, which is the software-center crash bug.

Cheers!


Solution:3

Maybe You removed it by mistake reinstall it

open terminal :

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


Solution:4

Open terminal use this command to remove software center

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

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »