1

I can run the Ubuntu Software Center only with sudo software-center in the terminal. When I click on the desktop icon, Ubuntu Software Center opens, and is frozen and shows a dimmed screen, and I have to kill the task in order to close it.

How I can fix the desktop icon?

3
  • Can you run software-center (without sudo)?
    – cg505
    Jun 10, 2013 at 1:14
  • probably a permission error, try adding the word "gksudo" before "software-centre" in the desktop shortcut Jun 10, 2013 at 1:28
  • Can you run software-center from terminal without sudo? And if it gives an error when you do that, can you post the error?
    – daboross
    Jun 10, 2013 at 17:13

2 Answers 2

0

The root user has only a few programs under the home folder. Maybe it freezes while loading all of your installed programs. Try waiting a minute or two depending on the speed of your HD. If its your first time successfully running the program under your user name, you may have to wait longer in order for it to sync. Sometimes when I run soft-cen on my netbook it freezes while loading, but then recoveres because I have too many installed programs for such a weak CPU and slow HD.

3
  • 1
    sudo doesn't change the home directory path though? gksudo does but I am pretty sure that sudo doesn't.
    – daboross
    Jun 10, 2013 at 2:24
  • @DaboRoss Confirmed; I just ran sudo sh -c "echo $HOME" and it gives my home directory, not /root
    – jackweirdy
    Jun 10, 2013 at 12:21
  • your right, i wrote that cuz i used to run a program on gksudo and it saved setting under the root directory Jun 13, 2013 at 21:19
0

It is likely trying to update the cache or you possibly (but not likely) have a corrupt cache.

Two things you can try to do. 1) wait a while to see if it finishes or 2) open a terminal and run sudo apt-get update to give software-center a head start on updating the cache as it will still need to run a update when opened and it will download icons when opened as well.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .