PackageKit API incompatibility

Asked by Thomas Leonard on 2012-03-15

PackageKit's InstallPackages takes two arguments:

 http://www.packagekit.org/gtk-doc/Transaction.html#Transaction.InstallPackages

InstallPackages (in 'b' only_trusted, in 'as' package_ids)

However, aptdaemon requires an extra argument:

def InstallPackages(self, only_trusted, package_ids, sender):

I'd like to get this fixed for precise. I could add a workaround in my software (it already copes with two versions of this API), but there's no point if it will be fixed quickly in aptdaemon. What should I do?

The original bug report I'm responding to is here: https://bugs.launchpad.net/ubuntu/+source/zeroinstall-injector/+bug/953756

Thanks,

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu aptdaemon Edit question
Assignee:
No assignee Edit question
Solved by:
Thomas Leonard
Solved:
2012-03-16
Last query:
2012-03-16
Last reply:
Thomas Leonard (talex5) said : #1

Never mind. I've put in a fix now (the problem was that it tried the old API first, but PackageKit and aptdaemon report the problem differently).