PackageKit API incompatibility

Asked by Thomas Leonard

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:
Last query:
Last reply:
Revision history for this message
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).