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'
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): apturl- gtk", line 47, in <module> exit(apturl. main()) python3/ dist-packages/ AptUrl/ AptUrl. py", line 191, in main nel(apturl) != RESULT_OK: python3/ dist-packages/ AptUrl/ AptUrl. py", line 99, in enableChannel doEnableChannel (channelpath, channelkey): python3/ dist-packages/ AptUrl/ gtk/GtkUI. py", line 135, in doEnableChannel pkg.Config. FindDir( "Dir::Etc: :sourceparts" )]
File "/usr/bin/
sys.
File "/usr/lib/
if self.enableChan
File "/usr/lib/
if not self.ui.
File "/usr/lib/
apt_
AttributeError: module 'apt_pkg' has no attribute 'Config'