Created attachment 17232 [details] [review]
Fix apt backend doResolve()
Apt backend's doResolve() in 0.2.2 has two bugs which break it completely, and thus make the apt backend unusable:
* is_package_visible() does not exist, it should be _is_package_visible()
* function receives a string "name" (in particular, a Dbus.String), but tries to pass it to _is_package_visible() and _emit_package(). Those expect a package object from apt.Cache(), though.
Attached patch fixes both. Now standard operations like "search", "install", "remove", "get-details" etc. work fine.
Fixed in my local repository. I will upload the fix soon.
This isn't in 0.2.3 yet. Sebastian, will you push your repo to trunk soon, or shall I just commit the fix to trunk? Thanks!