Synaptic backend doesn't work in apturl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apturl (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The Synaptic backend in apturl is non-functional. Trying to use it makes
apturl crash with Python error message.
The fix for this issue is provided in the debdiffs attached to the report.
It's a long-standing bug which is present in all current Ubuntu releases,
starting from Trusty. Would be nice to get it finally fixed. A non-working
backend isn't good at all, especially when the only other backend (aptdaemon)
might be removed soon, as stated in bug 1673258.
[Test Case]
The easiest way to make apturl use the Synaptic backend (without removing
aptdaemon from the system) is to set the environment variable when launching
it from the terminal:
$ UPDATE_
You can use any other package which isn't installed. I chose gnome-calculator
as it wasn't installed in my Xubuntu and Ubuntu MATE systems.
The result of this will be crash of apturl with Python error message.
The package won't be installed.
[Regression Potential]
The patch only affects the Synaptic backend. It doesn't affect aptdaemon
backend or any other parts of code. Since the Synaptic backend was broken
before, it's not possible to break it further with some regression.
[Original Description]
System: Xubuntu 14.10
apturl version: 0.5.2ubuntu4
If you'll tell apturl to use the Synaptic backend (by either removing aptdaemon from the system or specifying UPDATE_
$ UPDATE_
/usr/lib/
GObject.
Traceback (most recent call last):
File "/usr/bin/
ui = GtkUI()
File "/usr/lib/
self.backend = get_backend(
File "/usr/lib/
return InstallBackendS
TypeError: __init__() missing 1 required positional argument: 'action'
tags: | added: trusty |
Changed in apturl (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: zesty |
tags: |
added: artful removed: wily |
description: | updated |
tags: | added: bionic |
tags: | removed: zesty |
tags: | removed: artful |
The effect is exactly the same in Xubuntu 14.04 (apturl's version is also the same, 0.5.2ubuntu4).