I have had a problem with my ubuntu software-center for a while now. It refuses to start completely. So i have looked into all the web dungeons for answers with failed attempts in recovery. First I will start with the error i get when running software center on the command line. This is what i get:
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
This is are the solutions that i have tried without success:
1st:
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
2nd:
sudo apt-get install -f
3rd
sudo pip install --upgrade oauthlib
4th
gksudo software-center
Will appreciate any help in getting this problem solved. All other solutions that come will try them and if they don't work will add them to the list here.
Some suggested solutions that i have tried and not worked:
1st
sudo chmod -R +rx /usr/local/lib/python2.7/dist-packages/
2nd
sudo chown -R $USER:$USER /usr/local/lib/python2.7/dist-packages/
3rd
sudo apt-get install --reinstall python-ubuntu-sso-client ubuntu-sso-client ubuntu-sso-client-qt
After helpful insight, i have been directed to this link here that shows this being a bug and there is a bug report on it. So it seems we shall have to wait and see. If anyone has any hacks through this please post it here.
HACKS
1st
Use an alternative package manager and synaptic package manager is recommended.
sudo apt-get install synaptic
sudo apt-get install synaptic
and to run synaptic:sudo synaptic
sudo software-center
/usr/lib/ubuntu-sso-client/ubuntu-sso-login
in a terminal to see what errors it has, and why it won't start. A common reason this happens is that you've done something under sudo, which causes files to be created as root user in your home directory, causing permissions problems when running as a normal user.