<p dir="ltr">Hi,</p>
<p dir="ltr">Just my 2 cents. I also think that reinstallation is a useful feature. It is useful if I test some package (for example if I'm working at an update for some package that is installed in the system) or change its configuration and I want to restore the original stable package by reinstalling it.</p>
<p dir="ltr">Eugene</p>
<div class="gmail_quote">Am 07.07.2014 18:34 schrieb "Daniel Nicoletti" <<a href="mailto:dantti12@gmail.com">dantti12@gmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
IMO we don't need an API to downgrade,<br>
just calling install() with an older version should<br>
be enough for the backend that can do that notice<br>
that the user wants an older version.<br>
<br>
For reinstalls I have alread asked for it, and I got<br>
many users asking for that, and there are interesting<br>
use-cases, like removing NetworkManager and<br>
installing it again (in two steps) will fail because<br>
you then get's out of internet.<br>
<br>
Best,<br>
<br>
2014-07-07 12:49 GMT-03:00 Richard Hughes <<a href="mailto:hughsient@gmail.com">hughsient@gmail.com</a>>:<br>
> On 7 July 2014 16:21, Michal Minář <<a href="mailto:miminar@redhat.com">miminar@redhat.com</a>> wrote:<br>
>> The thing is that our previous implementation used yum as a backend.<br>
>> We've covered most of its functionality and *reinstall* is one of its<br>
>> commands. Now we'd like to have PackageKit-based implementation<br>
>> supporting all the features of the former one.<br>
><br>
> But why? What problem are you expecting re-install to fix?<br>
><br>
>> I see it as a problem of backend to solve the dependencies and security<br>
>> gotchas.<br>
><br>
> There's a significant amount of policy required on how to handle<br>
> downgrading. It's further complicated as distros like fedora only<br>
> carry the latest version of a package on the mirrors, so you have to<br>
> go hunting for an old mirror which is further complexity, and also a<br>
> security risk as the mirrors have to be treated as untrusted.<br>
><br>
>> You are right. This is a fairly common use case though.<br>
><br>
> It is? What actual uses cases can you identify? I couldn't see many<br>
> requirements from those bugzillas you linked, but only looked quickly.<br>
> Thanks.<br>
><br>
> Richard.<br>
> _______________________________________________<br>
> PackageKit mailing list<br>
> <a href="mailto:PackageKit@lists.freedesktop.org">PackageKit@lists.freedesktop.org</a><br>
> <a href="http://lists.freedesktop.org/mailman/listinfo/packagekit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/packagekit</a><br>
<br>
<br>
<br>
--<br>
Daniel Nicoletti<br>
<br>
KDE Developer - <a href="http://dantti.wordpress.com" target="_blank">http://dantti.wordpress.com</a><br>
_______________________________________________<br>
PackageKit mailing list<br>
<a href="mailto:PackageKit@lists.freedesktop.org">PackageKit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/packagekit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/packagekit</a><br>
</blockquote></div>