[packagekit] package reinstallation

Richard Hughes hughsient at gmail.com
Tue Jul 8 06:44:14 PDT 2014


On 8 July 2014 14:42, Michal Minář <miminar at redhat.com> wrote:
>  1. Addition of ALLOW_DOWNGRADE and ALLOW_REINSTALL flags to
>     PkTransactionFlagEnum.

Right.

>  2. Processing of these flags in install_files() and install_packages()
>     functions of backends that properly support it. Leave the current
>     behaviour ("error: already installed") for others.

Right.

>  3. Add action ids "org.freedesktop.packagekit.package-reinstall" and
>     "org.freedesktop.packagekit.package-downgrade" to
>     org.freedesktop.packagekit.policy and handle them in
>     pk-transaction.c.

Correct.

> I hope I haven't omitted anything crucial. I'll create an RFE bug in
> upstream bugzilla to track this.

A patch would be awesome, but I know it's a big ask. :)

Richard.


More information about the PackageKit mailing list