3

I just upgraded from Ubuntu GNOME 16.04 to 16.10, then I cannot run software-properties-gtk.

Output of that command is:

Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 37, in <module>
    from softwareproperties.gtk.SoftwarePropertiesGtk import SoftwarePropertiesGtk
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 34, in <module>
    from aptdaemon import client
  File "/usr/lib/python3/dist-packages/aptdaemon/client.py", line 43, in <module>
    import defer
ImportError: No module named 'defer'

This means that all other programs relying on aptd are throwing errors.

I have tried reinstalling the package python-defer which proceeded without any errors but that did not correct this problem.

Any suggestions what went wrong? Thanks!

Majal
  • 8,249

1 Answers1

2

Check if you installed defer for different python versions. If i remember correctly, you can either use pip2 install defer or pip3 install defer

thuyein
  • 206