joelk
June 15th, 2013, 02:21 PM
Ubuntu 12.04.2 AMD 64-bit, which is up to date running 3.2.0-45 kernel. I have thee problems that I think are all releated and I don't remember when these problems first started but it was probably several weeks ago. I believe the problem started after a routine update as I have not installed any new packages in months.
The first problem is that nothing happens when I click the "Install Updates" button in Update Manager. The second problem is that Software Center just produces an all white window. The third problem is that aptdaemon won't start.
But I can run apt-get commands manually to get my system up to date. For example all of these commands work fine.
$ sudo apt-get clean
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Synaptic also reports that there are no broken packages or missing dependencies.
I have spent many hours searching for a solution to these problems on Ubuntu forums, an others, but no luck so far. I have tried reinstalling dozens of packages including aptdaemon, software-center, update-manager and python2.7. I am almost a point where I would consider reinstalling Ubunutu, but I want to give this a few more tries.
Now some details. First here is what happens when I try to run aptd.
joelk@joelk-ubuntu-amd64:~
Thu Jun 13, 20:34:09 $ sudo aptd -td --replace
[sudo] password for joelk:
20:54:13 AptDaemon [INFO]: Initializing daemon
Traceback (most recent call last):
File "/usr/sbin/aptd", line 28, in <module>
aptdaemon.core.main()
File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 2203, in main
daemon = AptDaemon(options, bus=bus)
File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 1407, in __init__
from . import pkcompat
File "/usr/lib/python2.7/dist-packages/aptdaemon/pkcompat.py", line 55, in <module>
import aptdaemon.networking
ValueError: bad marshal data (unknown type code)
joelk@joelk-ubuntu-amd64:~
Thu Jun 13, 20:54:13 $
Here is what happens when I try to run to start Software Center from the command line.
joelk@joelk-ubuntu-amd64:~
Sun Jun 02, 06:49:53 $ software-center
2013-06-02 06:50:16,973 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-06-02 06:50:16,978 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-06-02 06:50:17,350 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2013-06-02 06:50:17,476 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2013-06-02 06:50:17,823 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 607, in msg_reply_handler
*message.get_args_list()))
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 69, in error_cb
callback('')
File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 156, in _register_active_transactions_watch
current, queued = apt_daemon.GetActiveTransactions()
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.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 607, in msg_reply_handler
*message.get_args_list()))
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 69, in error_cb
callback('')
File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 156, in _register_active_transactions_watch
current, queued = apt_daemon.GetActiveTransactions()
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)
And then this next section repeats endlessly until I close the Software Center window...
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
2013-06-02 06:50:18,467 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/connection.py', 234, 'maybe_handle_message')'
2013-06-02 06:50:18,466 - dbus.connection - ERROR - Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
self._handler(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 65, in signal_cb
callback(new_owner)
File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 156, in _register_active_transactions_watch
current, queued = apt_daemon.GetActiveTransactions()
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)
Along with all of the package reinstallations and apt-get commands I listed previously here are some other things I have tried.
$ sudo apt-get -f install
$ sudo apt-get --fix-broken install
$ sudo dpkg --configure --pending
$ rm ~/.cache/software-center -R; unity --reset &
$ sudo dpkg --configure --pending
I also tried adding "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1" to the Startup applications.
This dpkg-reconfigure command just hangs.
$ sudo dpkg-reconfigure -a
Any other ideas?
The first problem is that nothing happens when I click the "Install Updates" button in Update Manager. The second problem is that Software Center just produces an all white window. The third problem is that aptdaemon won't start.
But I can run apt-get commands manually to get my system up to date. For example all of these commands work fine.
$ sudo apt-get clean
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
Synaptic also reports that there are no broken packages or missing dependencies.
I have spent many hours searching for a solution to these problems on Ubuntu forums, an others, but no luck so far. I have tried reinstalling dozens of packages including aptdaemon, software-center, update-manager and python2.7. I am almost a point where I would consider reinstalling Ubunutu, but I want to give this a few more tries.
Now some details. First here is what happens when I try to run aptd.
joelk@joelk-ubuntu-amd64:~
Thu Jun 13, 20:34:09 $ sudo aptd -td --replace
[sudo] password for joelk:
20:54:13 AptDaemon [INFO]: Initializing daemon
Traceback (most recent call last):
File "/usr/sbin/aptd", line 28, in <module>
aptdaemon.core.main()
File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 2203, in main
daemon = AptDaemon(options, bus=bus)
File "/usr/lib/python2.7/dist-packages/aptdaemon/core.py", line 1407, in __init__
from . import pkcompat
File "/usr/lib/python2.7/dist-packages/aptdaemon/pkcompat.py", line 55, in <module>
import aptdaemon.networking
ValueError: bad marshal data (unknown type code)
joelk@joelk-ubuntu-amd64:~
Thu Jun 13, 20:54:13 $
Here is what happens when I try to run to start Software Center from the command line.
joelk@joelk-ubuntu-amd64:~
Sun Jun 02, 06:49:53 $ software-center
2013-06-02 06:50:16,973 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-06-02 06:50:16,978 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2013-06-02 06:50:17,350 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2013-06-02 06:50:17,476 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '', app is None.
2013-06-02 06:50:17,823 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 607, in msg_reply_handler
*message.get_args_list()))
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 69, in error_cb
callback('')
File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 156, in _register_active_transactions_watch
current, queued = apt_daemon.GetActiveTransactions()
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.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 607, in msg_reply_handler
*message.get_args_list()))
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 69, in error_cb
callback('')
File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 156, in _register_active_transactions_watch
current, queued = apt_daemon.GetActiveTransactions()
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)
And then this next section repeats endlessly until I close the Software Center window...
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
2013-06-02 06:50:18,467 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/dbus/connection.py', 234, 'maybe_handle_message')'
2013-06-02 06:50:18,466 - dbus.connection - ERROR - Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
self._handler(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 65, in signal_cb
callback(new_owner)
File "/usr/share/software-center/softwarecenter/backend/installbackend_impl/aptd.py", line 156, in _register_active_transactions_watch
current, queued = apt_daemon.GetActiveTransactions()
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)
Along with all of the package reinstallations and apt-get commands I listed previously here are some other things I have tried.
$ sudo apt-get -f install
$ sudo apt-get --fix-broken install
$ sudo dpkg --configure --pending
$ rm ~/.cache/software-center -R; unity --reset &
$ sudo dpkg --configure --pending
I also tried adding "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1" to the Startup applications.
This dpkg-reconfigure command just hangs.
$ sudo dpkg-reconfigure -a
Any other ideas?