I had the same problem, also upgrade from 10.04 and on amd64.
I solved by applying chmod 755 to the /var/log/apt/ directory.
Here the output of an unsuccessful and then successful start:
user@hostname:~$ software-center
Traceback (most recent call last):
File "/usr/bin/software-center", line 90, in <module>
app = SoftwareCenterApp(datadir, xapian_base_path, options, args)
File "/usr/share/software-center/softwarecenter/app.py", line 149, in __init__
self.history = get_apt_history()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 178,
in get_apt_history
apt_history = AptHistory()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 83,
in __init__
self.rescan()
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 97,
in rescan
cmp=self._mtime_cmp):
File "/usr/share/software-center/softwarecenter/apt/apthistory.py", line 92,
in _mtime_cmp
return cmp(os.path.getmtime(a), os.path.getmtime(b))
File "/usr/lib/python2.6/genericpath.py", line 54, in getmtime
return os.stat(filename).st_mtime
OSError: [Errno 13] Permission denied: '/var/log/apt/history.log.3.gz'
user@hostname:~$ software-center
2011-03-03 17:06:00,273 - softwarecenter.fixme - WARNING - logs to the root
logger:
'('/usr/share/software-center/softwarecenter/view/widgets/mkit_themes.py', 675,
'retrieve')'
2011-03-03 17:06:00,273 - root - WARNING - No styling hints for A-New-Hope were
found... using Human hints.
2011-03-03 17:06:03,735 - softwarecenter.app - INFO - software-center-agent
finished with status 1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/677924
Title:
Software Center wont run
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs