Update-Manager and AptDeamon crashes - Ubuntu 14.04

by wowwokele   Last Updated June 14, 2017 17:02 PM

update-manager, when launched, prints some stacktrace errors but keeps working. However, when I push 'install' button it shows only an empty gray frame and prints other errors, ending in:

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.debian.apt': no such name

I found this similar (although not identical) problem: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1539847

I found other similar problems online and in most of the cases it was suggested to do and apt-get update, dist-upgrade and/or upgrade or to reinstall different packages through aptitude (mainly aptdeamon, dbus or update-manager) However, after trying this solutions nothing changed.

Someone said that they had found a temporary solution running 'sudo aptd' in another terminal window and then opening 'update-manager'. Trying this solution and running 'sudo aptd' I get the following stack trace:

Traceback (most recent call last):
  File "/usr/sbin/aptd", line 37, in 
    import aptdaemon.core
  File "/usr/lib/python3/dist-packages/aptdaemon/core.py", line 66, in 
    from .worker import (
  File "/usr/lib/python3/dist-packages/aptdaemon/worker.py", line 56, in 
    import pkg_resources
  File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 72, in 
    import packaging.requirements
  File "/usr/local/lib/python3.4/dist-packages/packaging/requirements.py", line 59, in 
    MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: __call__() missing 1 required positional argument: 'name'

I tried reinstalling aptdeamon and python3.4 without results.

System Informations: Linux 3.19.0-80-generic #88~14.04.1-Ubuntu x86_64 x86_64 x86_64 GNU/Linux

Other info: apt-get, synaptic packet manager and Ubuntu Softwar Center seem to work properly

If more informations are needed, I will be happy to provide any.

Thanks in advance

Related Questions

14.10 Software Updater Crashing

Updated April 18, 2015 21:01 PM

update-manager crash (Ubuntu 14.04 LTS)

Updated January 21, 2016 09:01 AM

Ubuntu insists on installing a broken package

Updated August 23, 2015 18:01 PM