1

I am trying to open ubuntu software-center but it get paused and after that shows complete black and nothing is happening.

Same thing has happened when I try to run from command line. This is the response from it.

$ software-center 2013-10-22 18:41:33,104 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None' 2013-10-22 18:41:33,108 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True 2013-10-22 18:41:33,548 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file 2013-10-22 18:41:33,702 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None. 

as for a solutions I tried:

  1. trying to remove it

    $sudo apt-get purge software-center $sudo apt-get update 
  2. once again install it

    $sudo apt-get install software-center 

but again same thing is happening.

Can anybody suggest me something onto this?

4
  • Have you tried aptitude? Commented Oct 22, 2013 at 13:44
  • Have you looked at any of these pages? Commented Oct 22, 2013 at 14:20
  • You could use Synaptic until it's fixed $ sudo apt-get install synaptic (It's the default application in debian for installing and uninstalling software). Commented Oct 22, 2013 at 20:36
  • aptitude giving same black screen Commented Oct 23, 2013 at 4:39

3 Answers 3

1

Sounds like it's getting hung up on a particular operation that it's trying to perform, so the GUI is likely waiting for something else to complete that is either taking a long time to do so, or can't.

I'd try one of the 2 things to see if you can't isolate what's holding it up.

strace

You can try using strace to see what system call software-center is hanging on:

 $ strace software-center 

open files

The other thing you can do is see what files software-center has opened.

 $ lsof -c software-cen 

My suspicion would be that there is a lock file of some sort that is blocking software-center from proceeding.

What else?

I would go through the results on Google and see if you can't further characterize your issue and also compare the multitude of other people that seem to be having the same issue with software-center freezing/hanging.

0

On Ubuntu it was solved by closing the window to force stop the running process, deleting the cache of software-center:

$ sudo rm -r .cache/software-center/ 
0

Solved when deleted the cache of software-center:

$sudo rm -r .cache/software-center/ 

Now it works fine for me.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.