document that there are better alternatives to alternatives? #1440
Labels
No labels
announce
bootstrap
Closed As
accepted
Closed As
duplicate
Closed As
exceptionexpired
Closed As
fixed
Closed As
invalid
Closed As
nothingtodo
Closed As
permanentexception
Closed As
rejected
Closed As
temporaryexception
Closed As
wontfix
cmake
committee
draftneeded
hasdraft
meeting
meson
needinfo
Priority
In Committee
Priority
Needs Review
Priority
Waiting For Reporter
rust
writeup
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
packaging/guidelines#1440
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
alternatives are old and creaky and don't work everywhere. alternatives exist (based on mechanisms in RPM and / or dnf, using virtual Provides and Requires, and package
swapping).Examples of the RPM based way:
sddm-wayland-*packagesfedora-release-identity-*packagesinitial-setup-gui-wayland-*packagesThe RPM based way has the major disadvantage of only one provider can be selected via installation at a time, and swapping is an "expensive" package management action.
It is done by creating some kind of virtual name that all alternatives
ProvidesandConflictson:(Note it doesn't matter what this is, as long as it isn't a real package name.)
Some example virtual names in use are:
sddm-greeter-displayserversddm-wayland-genericsddm-wayland-plasmasddm-wayland-miriwayfedora-release-identityfedora-release-identity-kdefedora-release-identity-lxqtfirstboot(gui-backend)initial-setup-gui-wayland-genericinitial-setup-gui-wayland-plasmainitial-setup-gui-wayland-miriwaylxqt-wayland-session-default-compositorlxqt-wayland-session-default-compositor-miriwayThere may be more, but these should be good enough to illustrate the model.
The only ways to switch providers is to use DNF to do it, like so:
dnf swap sddm-wayland-generic sddm-wayland-miriwaydnf install --allowerasing lxqt-wayland-session-default-compositor-miriway