On Tue, Mar 06, 2018 at 12:56:56PM -0500, Randy Barlow wrote:
On 03/03/2018 01:34 PM, Kevin Kofler wrote:
> That is due to the "Rawhide can never go backwards" policy, which I still
do
> not understand the point of, especially in the light of "distro-sync"
having
> been supported by both the old yum and the new dnf for years.
Sometimes an updated package makes changes to its data structures. For
example, consider if the package does some kind of migration to its data
in such a way that the new version can read it, but the old cannot (e.g.
a PostgreSQL upgrade, and IIRC the Firefox discussion from a while ago
also noted that it cannot be downgraded in all cases). Thus, distro-sync
doesn't work in all cases if the upgraded package has already made
changes on the user's system.
What this tells me is that not all updates, even if they break things, will be
revertable, and for these, it's status quo with what we have today.
Allowing downgrade of updates that can be reverted would give us a little more
flexibility. We'll just have to keep in mind that not everything will be
revertable, which means we'll likely not be able to automatically rollback.
That doesn't sound too bad though, does it?
Pierre