LMDE mintBackup broke with debian update to pythin-apt 0.8.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
With the release of python-apt 0.7.100, the debian folks announced "Applications using the old API should be updated to the new API because the old ones will be dropped in a future release. To build a python-apt variant without the deprecated API, build it without the -DCOMPAT_0_7 compiler flag." With the 0.8.0 release, which appears to have hit wheezy fairly recently, the deprecated API was dropped. (http://
So, I'm sure mintBackup wasn't the only thing hit by this, but mintbackup is broken. The traceback looks like this:
$ mintbackup
Traceback (most recent call last):
File "/usr/lib/
class MessageDialog(
AttributeError: 'module' object has no attribute 'FetchProgress'
I've found the equivalent class in the new api. By importing apt.progress.gtk2 and then changing line 87 as follows:
-class MessageDialog(
+class MessageDialog(
things appear to run properly again.
I'm testing now and working on getting myself setup to submit the patch (as I'd like to contribute where I can anyhow, this seems like a great place to start).
I've examined the other python-apt calls in this script and from what I can tell, they seem to be supported, but I'll continue testing and update if i find anything else.
I'm running LMDE Xfce 64bit, fwiw.
Effecting me too.
LMDE 64 bit on Gnome