0

For some reason Ubuntu Software Center will not open, i have tried reinstalling it however no luck still won't open. Here is the error output i got via a traceback!

  File "/usr/bin/software-center", line 40, in <module>
    import softwarecenter.log
  File "/usr/share/software-center/softwarecenter/log.py", line 119, in <module>
    logfile_path, maxBytes=100 * 1000, backupCount=5)
  File "/usr/lib/python2.7/logging/handlers.py", line 118, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/handlers.py", line 65, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/__init__.py", line 897, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 916, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 5] Input/output error: '/home/shaq/.cache/software-center/software-center.log'

Hope someone can help me out with this and help me fix this. This error occured after i installed updates.

I'm using ubuntu 12.04

Braiam
  • 69,112

1 Answers1

2

These three commands worked for me:

rm -r ~/.cache/software-center
sudo apt-get remove software-center
sudo apt-get install software-center
Eliah Kagan
  • 119,640