Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I deleted some unnecessary icon themes and now my application icons are changed. I cannot open Ubuntu software center also.... the following message is displayed....

success@user-pc:~$ software-center
2012-09-12 22:24:52,048 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2012-09-12 22:24:52,055 - softwarecenter.db.database - INFO - open() database: path=None 
use_axi=True use_agent=True
Traceback (most recent call last):
  File "/usr/bin/software-center", line 142, in <module>
    app = SoftwareCenterAppGtk3(datadir, xapian_base_path, options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 387, in __init__
    self.datadir)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/historypane.py", line 
78, in __init__
    self._get_emblems(self.icons)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/historypane.py", line 192, in _get_emblems
    pb = icons.load_icon(emblem, self.ICON_SIZE, 0)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Icon 'package-install' not present in theme

I also tried the following code to change the icon but no didnt work....

gksu gedit /usr/share/applications/ubuntu-software-center.desktop
share|improve this question
    
Was the answer helpful? –  i08in Feb 18 at 21:13

1 Answer 1

Some of the icons that you deleted were required by the software center, one of them being package-install located in /usr/share/icons/Humanity/actions/16/package-install.svg Try to get this file from a friend and then check if it works. Just a guess, not sure if this would work.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.