[packagekit] package reinstallation

Michal Minář miminar at redhat.com
Mon Jul 7 08:21:48 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/07/2014 04:51 PM, Richard Hughes wrote:
> On 7 July 2014 15:36, Michal Minář <miminar at redhat.com> wrote:
>> I don't see a way how to reinstall or downgrade a package
> 
> Why do you need to re-install or downgrade? At least the latter
> isn't supported as it's really hard to also downgrade deps of the
> thing you're trying to dowgrade to also downgrade, especially if
> other things have been installed since. There are some interesting
> security gotchas with downgrading too.
> 
The thing is that our previous implementation used yum as a backend.
We've covered most of its functionality and *reinstall* is one of its
commands. Now we'd like to have PackageKit-based implementation
supporting all the features of the former one.

I see it as a problem of backend to solve the dependencies and security
gotchas. I can imagine that several supported ones don't have this
functionality since it's nontrivial to implement (I haven't checked).
Well this doesn't have to be mandatory feature for each backend.

> Re-installing typically does nothing on most package systems
> (unless the user has manually removed package-managed files), so
> I'm interested to hear why you need this.
You are right. This is a fairly common use case though. And it's not
just my experience and needs. Check out our bugzilla for number of bugs
related to reinstall [1] and downgrade [2].

Michal

[1]
https://bugzilla.redhat.com/buglist.cgi?component=yum&list_id=2626813&short_desc=reinstall&short_desc_type=allwordssubstr
(21)
[2]
https://bugzilla.redhat.com/buglist.cgi?component=yum&list_id=2626823&short_desc=downgrade&short_desc_type=allwordssubstr
(16)

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTursMAAoJEPezUylxRFUDifcH/3bHdEFfnMHhlIIJghqydDGY
35Nc4C+1JM9ie9RlndFl43EdKQncsxlD31AKieQy1yu5r959sicNd6zN8PXLcqsv
OL08PWUCFPu6x6vWLGsprR22m3JTSYLhtNNWLNV0bm+xE7dEfFu9ijdD9uXV1BYn
+/4uC31vjXIPDmEe+k83Q/zb/IEIX/0mnvZn7l8iPO199RZZ51S3P5V3FCiVWVdr
hbWeX3cBG62TxlmE8ZnUYaw5IxmLVK8IYVFIOKDYaIiOF0FroeUs0oKhwXDzgjBS
SZRmkuWsyNlb4Xc61k4yecumj8wru6+TdYKVbeI1LwredEAJmmUkZdioZpKF8ZA=
=Hzu9
-----END PGP SIGNATURE-----


More information about the PackageKit mailing list