Bugzilla – Bug 1213078
dnf5 broke snapper on fedora rawhide
Last modified: 2023-07-07 06:03:00 UTC
New dnf, dnf5, has recently replaced version 4 of dnf. snapper does not work now on RHEL systems such as fedora rawhide that has replaced dnf version 4 with dnf5. How to replicate bug: dnf check-update --refresh && dnf upgrade. Then, check that dnf was replaced with dnf5. You can see a new symbolic link for dnf in /usr/bin pointing to /usr/bin/dnf5. fedora does keep an older version of dnf in /usr/bin, but it is not reached by dnf due to the new symbolic link pointing to /usr/bin/dnf5. That older version of dnf is found at /usr/bin/dnf-3 if I remember correctly. All this said, once dnf5 is installed, snapper no longer works to make pre and post snapshots automatically for dnf upgrade command. The fedora rawhide team is aware of the bug, but this is my first reporting to the developers at OpenSUSE about this snapper failing with dnf5.