Ubuntu 14.04 软件中心崩溃

Ubuntu 14.04 软件中心崩溃

我的 ubuntu 软件中心出现问题已经有一段时间了。它无法完全启动。因此,我查看了所有网络地牢,以寻找恢复失败的答案。首先,我将从在命令行上运行软件中心时遇到的错误开始。这是我得到的:

2014-10-01 14:08:35,558 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2014-10-01 14:08:35,681 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/proxies.py', 410, '_introspect_error_handler')'
2014-10-01 14:08:35,681 - 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 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 /usr/lib/ubuntu-sso-client/ubuntu-sso-login exited with status 1

这是我尝试过但没有成功的解决方案:

第一:

sudo apt-get purge software-center
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install software-center
sudo dpkg-reconfigure software-center --force

第二:

sudo apt-get install -f

第三

sudo pip install --upgrade oauthlib

第四

gksudo software-center

非常感谢任何帮助解决此问题的帮助。所有其他解决方案都会尝试,如果不起作用,会将它们添加到此处的列表中。

一些我尝试过但没有效果的建议解决方案:

第一

sudo chmod -R +rx /usr/local/lib/python2.7/dist-packages/ 

第二

sudo chown -R $USER:$USER /usr/local/lib/python2.7/dist-packages/

第三

sudo apt-get install --reinstall python-ubuntu-sso-client ubuntu-sso-client ubuntu-sso-client-qt

在获得有用的见解后,我被引导到此链接这里这表明这是一个错误,并且有一个错误报告。因此,看来我们得拭目以待。如果有人对此有任何破解,请在此处发布。

黑客

第一

建议使用替代包管理器和 synaptic 包管理器。

sudo apt-get install synaptic

相关内容