Matthias Klumpp [2012-06-01 12:28 -0000]:
> http://www.packagekit.org/pk-matrix.html

Nice!

> Why does the Apt backend need plugins? What are plugins for?

One is for adding particular WhatProvides() types; I wrote a blurb
about that in [1]. The other kind of plugin is what language-selector
does to the apt.Cache() object after selecting new packages to install
(i. e. add the corresponding language support packages), and what
software-center does (I'm not quite sure what that does).

> PK provides an extremely powerful plugin-api itself nowadays,
> developed with stuff like the Listaller 3rd-party appinstaller in
> mind, so you can do pretty much anything with it, in a
> distro-agnostic way.

Indeed. I haven't looked into native PK plugins yet; I guess we'd need
to rewrite the plugins in C then?

When I wrote the plugins, I made some effort for implementing the
corresponding functionality in PK's apt backend as well (e. g.
MODALIAS lookup), but I considered it too much effort to also look at
aptcc: For some reason I had the impression that aptcc was going to be
phased out and replaced with the apt backend. You seem to suggest that
this isn't the case, so I don't really know where I picked that up
from.

> It's weird that these are the reasons for using aptd, I expected
> some other points ^^

It's mostly because over the years aptd has become the standard way of
installing stuff in Ubuntu, so we have become quite used to this.
Sebastian already pointed out the reasons which existed back then. It
allows us to implement the PK API in a very extensible and pluggable
way (using Python), while at the desktop side it still just looks like
PK.

> So, if there's anything special which you need at Ubuntu, there's a
> perfect time now to ask or it :-)

I wrote what's missing for driver lookup/installtion. I'm afraid I
don't have a good overview of what else we are using aptd for,
Sebastian and Michael know much better about this.

Thank you, and enjoy the weekend!

Martin

[1] http://www.piware.de/2012/02/packagekitaptdaemon-what-provides-
plugin-support/

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1007249

Title:
  Trying to install packagekit on quantal uninstalls ubuntu-desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1007249/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to