On Mon, Aug 23, 2021 at 08:52:50AM +0200, Erwan David wrote: > After upgrading to a new version of KDE with a small bug, I would have loked > to > return back to previous version. Howeever the upgrade was ~ 400 pacakges and > that makes it complicated, getting all packages in the logs. So I thought of > the 1 feature I miss from yum in apt : the possibility, after an upgrade to > rollback to the previous versions of package list That would be a good feature > for apt
Your given example is precisely the case in which a rollback will (generally) not work. Nowhere, not even in yum. First of all: Downgrades (aka going back to an older version) are not supported in Debian. Full stop. It kinda works most of the time and the lower in the stack the package is, the more likely it is actually that it will work. yum is optimistic in this regard, apt isn't. Graphical applications are far removed from "low in the stack" through. Most, if not all will create & edit files in your home directory which might be completely incompatible with previous versions. darktable reminds me of this every other big version bump actually on the first start of the new version as it will proceed to change the database then. Many others also warn while most don't and just explode if you would ever try (some games don't even have forward compat for their savegames, I highly doubt they have backward compat…). So a simple rollback of that one package wont work. What exactly do you expect to happen if ~400 packages are involved? We might get something like that some day. We introduced the history.log sort of with this in mind, but haven't added much tooling to work with it yet. But it will never work like you imagine here, as it simply can't. It might work, if you are lucky, but if not, you have likely two problems instead of one. Best regards David Kalnischkies
signature.asc
Description: PGP signature