Description of problem: I ran sudo dnf upgrade --refresh in a Fedora 37 KDE Plasma installation with updates-testing enabled. libjxl-0.7.0rc-1.fc37.x86_64 and jxl-pixbuf-loader-0.7.0rc-1.fc37.x86_64 were installed, but they weren't updated to libjxl-0.7.0-1.fc37.x86_64 and jxl-pixbuf-loader-0.7.0-1.fc37.x86_64 by dnf from updates-testing https://bodhi.fedoraproject.org/updates/FEDORA-2022-510f57e972 When I tried to update them from koji, dnf gave errors like The same or higher version of libjxl is already installed, cannot update it. sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/jpegxl/0.7.0/1.fc37/x86_64/jxl-pixbuf-loader-0.7.0-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/jpegxl/0.7.0/1.fc37/x86_64/libjxl-0.7.0-1.fc37.x86_64.rpm Last metadata expiration check: 0:03:43 ago on Sun 25 Sep 2022 02:41:02 AM. jxl-pixbuf-loader-0.7.0-1.fc37.x86_64.rpm 151 kB/s | 56 kB 00:00 libjxl-0.7.0-1.fc37.x86_64.rpm 1.8 MB/s | 1.1 MB 00:00 The same or higher version of jxl-pixbuf-loader is already installed, cannot update it. The same or higher version of libjxl is already installed, cannot update it. Dependencies resolved. Nothing to do. Complete! Downgrading to libjxl-0.7.0-1.fc37.x86_64 and jxl-pixbuf-loader-0.7.0-1.fc37.x86_64 from koji was allowed by dnf. sudo dnf downgrade https://kojipkgs.fedoraproject.org//packages/jpegxl/0.7.0/1.fc37/x86_64/jxl-pixbuf-loader-0.7.0-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/jpegxl/0.7.0/1.fc37/x86_64/libjxl-0.7.0-1.fc37.x86_64.rpm Last metadata expiration check: 0:05:14 ago on Sun 25 Sep 2022 02:41:02 AM. jxl-pixbuf-loader-0.7.0-1.fc37.x86_64.rpm 202 kB/s | 56 kB 00:00 libjxl-0.7.0-1.fc37.x86_64.rpm 1.8 MB/s | 1.1 MB 00:00 Dependencies resolved. ====================================================================================================== Package Architecture Version Repository Size ====================================================================================================== Downgrading: jxl-pixbuf-loader x86_64 0.7.0-1.fc37 @commandline 56 k libjxl x86_64 0.7.0-1.fc37 @commandline 1.1 M Transaction Summary ====================================================================================================== Downgrade 2 Packages Total size: 1.1 M Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Downgrading : libjxl-0.7.0-1.fc37.x86_64 1/4 Downgrading : jxl-pixbuf-loader-0.7.0-1.fc37.x86_64 2/4 Cleanup : jxl-pixbuf-loader-0.7.0rc-1.fc37.x86_64 3/4 Cleanup : libjxl-0.7.0rc-1.fc37.x86_64 4/4 Running scriptlet: libjxl-0.7.0rc-1.fc37.x86_64 4/4 Verifying : jxl-pixbuf-loader-0.7.0-1.fc37.x86_64 1/4 Verifying : jxl-pixbuf-loader-0.7.0rc-1.fc37.x86_64 2/4 Verifying : libjxl-0.7.0-1.fc37.x86_64 3/4 Verifying : libjxl-0.7.0rc-1.fc37.x86_64 4/4 Downgraded: jxl-pixbuf-loader-0.7.0-1.fc37.x86_64 libjxl-0.7.0-1.fc37.x86_64 Complete! Version-Release number of selected component (if applicable): libjxl-0.7.0-1.fc37.x86_64 How reproducible: I tried each dnf command once, but they should give the same output each time. Steps to Reproduce: 1. Boot a Fedora 37 KDE Plasma installation in which libjxl-0.7.0rc-1.fc37.x86_64 and jxl-pixbuf-loader-0.7.0rc-1.fc37.x86_64 are installed 2. Log in to Plasma on Wayland 3. Start Konsole 4. Run sudo dnf upgrade --refresh (with updates-testing enabled) 5. sudo dnf upgrade https://kojipkgs.fedoraproject.org//packages/jpegxl/0.7.0/1.fc37/x86_64/jxl-pixbuf-loader-0.7.0-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/jpegxl/0.7.0/1.fc37/x86_64/libjxl-0.7.0-1.fc37.x86_64.rpm 6. sudo dnf downgrade https://kojipkgs.fedoraproject.org//packages/jpegxl/0.7.0/1.fc37/x86_64/jxl-pixbuf-loader-0.7.0-1.fc37.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/jpegxl/0.7.0/1.fc37/x86_64/libjxl-0.7.0-1.fc37.x86_64.rpm Actual results: libjxl-0.7.0-1.fc37 wasn't updated from libjxl-0.7.0rc-1.fc37 since dnf showed The same or higher version of libjxl is already installed, cannot update it. Expected results: libjxl-0.7.0-1.fc37 would be updated from libjxl-0.7.0rc-1.fc37 Additional info:
Indeed my bad, i thought i had checked it before rpmdev-vercmp 0.7.0rc-1 0.7.0-1 0.7.0rc-1 > 0.7.0-1 I'm gonna need to bump Epoch to get out of this situation.
FEDORA-2022-8a642affdd has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8a642affdd
FEDORA-2022-8a642affdd has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.