Comment 1 for bug 1566201

Revision history for this message
Brian Murray (brian-murray) wrote :

I was able to recreate this by changing $distro in the ProcCmdline from the a report to xenial. So this command crashes:

/usr/bin/python3 /usr/bin/apturl-gtk "apt:adobe-flashplugin?channel=xenial-partner"

With the following Traceback:

Traceback (most recent call last):
  File "/usr/bin/apturl-gtk", line 47, in <module>
    sys.exit(apturl.main())
  File "/usr/lib/python3/dist-packages/AptUrl/AptUrl.py", line 191, in main
    if self.enableChannel(apturl) != RESULT_OK:
  File "/usr/lib/python3/dist-packages/AptUrl/AptUrl.py", line 99, in enableChannel
    if not self.ui.doEnableChannel(channelpath, channelkey):
  File "/usr/lib/python3/dist-packages/AptUrl/gtk/GtkUI.py", line 135, in doEnableChannel
    apt_pkg.Config.FindDir("Dir::Etc::sourceparts")]
AttributeError: module 'apt_pkg' has no attribute 'Config'