我尝试通过命令行输入 software-center 来打开 ubuntu 软件中心,然后得到以下信息
2013-02-10 12:09:54,006 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-02-10 12:09:54,013 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-02-10 12:09:54,115 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/proxies.py', 410, '_introspect_error_handler')'
2013-02-10 12:09:54,115 - dbus.proxies - ERROR - Introspect error on com.ubuntu.sso:/com/ubuntu/sso/credentials: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/ubuntu-sso-client/ubuntu-sso-login 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 337, 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 139, in find_oauth_token_sync
sso.find_credentials()
File "/usr/share/software-center/softwarecenter/backend/login_impl/login_sso.py", line 75, 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 /usr/lib/ubuntu-sso-client/ubuntu-sso-login exited with status 1
该怎么办?我尝试用其他方式打开它,但没有结果。
答案1
您可能从官方存储库以外的其他来源安装了 Zope 模块,要解决此问题,请运行以下命令:
cd /usr/local/lib/python2.7/dist-packages/zope sudo ln -s /usr/share/pyshared/zope/interface/
来源: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1085425
答案2
您有辅助显示器吗?如果有,请将其打开 - 更新中心可能位于您的扩展工作区中。否则,请检查您的显示设置,看看您是否有一个“伪”扩展显示器,您的所有窗口都隐藏在其中。