[packagekit] Suggestion

PEDRO MACANAS VALVERDE macanas_ped at gva.es
Mon Feb 11 06:07:56 PST 2008


DO IT

I think it can be a good starting point for later improvements (this is,
the steps before one have the repository CD, i.e. download the packages,
and previously, create a list of the packages to download).

And also add the possibility one can use a USB key instead of a CD.

Regards.

Pedro.
-----Mensaje original-----
De: packagekit-bounces at lists.freedesktop.org
[mailto:packagekit-bounces at lists.freedesktop.org] En nombre de Richard
Hughes
Enviado el: domingo, 10 de febrero de 2008 23:09
Para: PackageKit users and developers list
CC: mvo at debian.org; Alexander Larsson
Asunto: Re: [packagekit] Suggestion

On Sun, 2008-02-10 at 15:05 +0100, Sebastian Heinlein wrote:
> > If it's the later, I think some sort of integration with a "service
> > pack" type CD would be useful, but only when we've identified valid
> use
> > cases and sane interactions for this. Try not to think about what
> the
> > tools can (or could) do, think about what the user is trying to
> achieve.
> > Ideas welcome.
> 
> Michael Vogt worked on add-on cds for Ubuntu. Perhaps it is worth a
> chat.

Sure. I think the ideal use case is this:

[1] insert CD with service pack .debs on
[2a] cdrom is autorun by gnome-volume-manager and the location passed to
gnome-packagekit to initiate a service pack update
[2b] gnome-packagekit watches for a cdrom to be inserted
[2c] gvfs does the new-fangled thing for autolaunch
[3] gnome-packagekit asks the user to confirm it's a valid update CD and
asks for PolicyKit auth and runs the ServicePack() backend method on the
CD device.

For [2] we'll need an identifier that can be recognized by PackageKit,
maybe just the presence of the file packagekit-update.txt on the CDROM
or DVD. I don't know what the new gvfs world order is on this, ideas
welcome.

For [3] we can make the ServicePack() method just do something like "rpm
-Fvh $LOCATION/updates/*.rpm" (backend specific obviously)

I really think this could rock. Ideas?

Richard.


_______________________________________________
PackageKit mailing list
PackageKit at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit



More information about the PackageKit mailing list