The 6.8 update to plasma and kwin apparently includes a particularly nasty surprise in that it obsoletes the -x11 variants of kwin and plasma. I would entirely understand that in F45 as a major upgrade often comes with forced feature retirement, but I certainly didn’t expect a routine dnf upgrade on F44 to blow away the X11 session. As the -x11 packages aren’t maintained by the SIG, I myself hoped the SIG would leave them alone so my plan was to skip F45 and hope that KDE finally gets session restore support by the time F44 goes EOL.
Is there a compelling technical reason why the -x11 packages have to be obsoleted by 6.8, even on F44? If so, was this sort of a breaking change in the middle of the lifecycle of the release communicated widely and I just somehow happened to miss it? Or did the Obsoletes just somehow accidentally slip into F44, making unsuspecting users like me scramble to restore their work machines back to working order?
Yes, I know upstream 6.8 is Wayland-only, but my understanding is that had the Obsoletes not been there, systems currently relying on the separate opt-in -x11 packages would have just ignored the update to 6.8 and kept using the 6.7 x11 versions. Perhaps not ideal in terms of general updates to Plasma, but that’s expected when you install the x11 packages that have already been marked as not officially supported so their users have deliberately opted for x11 instead of the latest and greatest, presumably for good reasons.
No, it would have been broken due to a mismatch between those packages being on 6.7 and the rest of the stack being 6.8 with all the X11 session support code being deleted.
Those packages are also expressly deprecated and expected to be removed as soon as they were dropped upstream. Plasma X11 has also been unsupported since Fedora 40 when Plasma 6 was introduced.
So you’re saying that dnf wouldn’t have figured out that the 6.8 packages have unsatisfiable dependencies because of the installed -x11 flavours, automatically skipping the 6.8 updates as broken? It does tend to work that way in other similar cases (e.g. various -freeworld variants of Fedora packages in third-party repos).
If so, it sounds like we need to give the -x11 packages something like Conflicts: plasma-whatever > 6.8.0 or whatever else is necessary to block the 6.8 update on machines that rely on X11. If that would be against some Fedora packaging policies, I’ll get to work to set up a copr with that.
Just in case it helps anyone else in a similar situation, I made a tiny package in Copr that blocks the 6.8 updates from installing and preserves the -x11 versions:
It probably won’t fix systems that already upgraded to 6.8, so get it in place quickly before that happens to you. Suggestions for improvements are welcome.
FYI there are packages in the stack that rely on other subpackages which will get updated over time (Qt being an example). Locking the plasma version will cause your system over time to just no longer any updates for the UI.