Calling InitSystem() or InitConfig() raises AttributeError
Bug #1216655 reported by
Tyler Hicks
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Starting with python-apt 0.8.9.1ubuntu1 in Saucy, calling InitSystem() and InitConfig() fails:
$ python -c 'import apt_pkg; apt_pkg.
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'module' object has no attribute 'InitSystem'
Downgrading to 0.8.8.2ubuntu1 results in the expected behavior:
$ python -c 'import apt_pkg; apt_pkg.
$ echo $?
0
tags: | removed: patch |
To post a comment you must log in.
Does anything in Ubuntu still use those interfaces that were deprecated in 2010 and disabled in Debian in 2011? You should not.