The error above was occurring when using the unpatched package. With the patched package I get another error:
$ software-properties-gtk
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 51, in <module>
from softwareproperties.SoftwareProperties import SoftwareProperties
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 57, in <module>
from . import shortcuts
File "/usr/lib/python3/dist-packages/softwareproperties/shortcuts.py", line 23, in <module>
_DEF_CODENAME = aptsources.distro.get_distro().codename
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 490, in get_distro
codename = result['Suite']
KeyError: 'Suite'
The error above was occurring when using the unpatched package. With the patched package I get another error:
$ software- properties- gtk software- properties- gtk", line 37, in <module> ies.gtk. SoftwarePropert iesGtk import SoftwarePropert iesGtk python3/ dist-packages/ softwarepropert ies/gtk/ SoftwarePropert iesGtk. py", line 51, in <module> ies.SoftwarePro perties import SoftwareProperties python3/ dist-packages/ softwarepropert ies/SoftwarePro perties. py", line 57, in <module> python3/ dist-packages/ softwarepropert ies/shortcuts. py", line 23, in <module> distro. get_distro( ).codename python3/ dist-packages/ aptsources/ distro. py", line 490, in get_distro
Traceback (most recent call last):
File "/usr/bin/
from softwarepropert
File "/usr/lib/
from softwarepropert
File "/usr/lib/
from . import shortcuts
File "/usr/lib/
_DEF_CODENAME = aptsources.
File "/usr/lib/
codename = result['Suite']
KeyError: 'Suite'