我偶尔会使用 Ubuntu,但并不是专家。我一直在寻找解决这个问题的方法,但无济于事。Ubuntu 软件中心工作正常,现在突然无法启动。起初我以为这与安装 Synaptic 包管理器有关,所以我删除了它,并尝试重新安装软件中心,如本文所述问题。 它不起作用。
尝试software-center
在终端运行产生以下结果:
2016-01-30 12:36:02,351 - softwarecenter.backend.zeitgeist_logger - WARNING - Support for Zeitgeist disabled
2016-01-30 12:36:02,415 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2016-01-30 12:36:02,474 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/proxies.py', 410, '_introspect_error_handler')'
2016-01-30 12:36:02,474 - dbus.proxies - ERROR - Introspect error on com.ubuntu.sso:/com/ubuntu/sso/credentials: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process com.ubuntu.sso exited with status 1
Traceback (most recent call last):
File "/usr/bin/software-center", line 130, in <module>
app = SoftwareCenterAppGtk3(options, args)
File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 338, in __init__
self.icons)
File "/usr/share/software-center/softwarecenter/ui/gtk3/session/appmanager.py", line 66, in __init__
self.oauth_token = helper.find_oauth_token_sync()
File "/usr/share/software-center/softwarecenter/backend/ubuntusso.py", line 141, in find_oauth_token_sync
sso.find_credentials()
File "/usr/share/software-center/softwarecenter/backend/login_impl/login_sso.py", line 74, in find_credentials
self.proxy.find_credentials(self.appname, self._get_params())
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process com.ubuntu.sso exited with status 1
答案1
显然这是符号链接的问题。答案如下:这里幫助了。
$ cd /usr/local/lib/python2.7/dist-packages/zope
$ ln -s /usr/lib/python2.7/dist-packages/zope/interface