Bug 2129592 - 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.
Summary: libjxl-0.7.0-1.fc37 wasn't updated from libjxl-0.7.0rc-1.fc37 since dnf showe...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: jpegxl
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert-André Mauchin 🐧
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-25 07:07 UTC by Matt Fagnani
Modified: 2022-09-25 08:42 UTC (History)
1 user (show)

Fixed In Version: jpegxl-0.7.0-3.fc38
Clone Of:
Environment:
Last Closed: 2022-09-25 08:42:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matt Fagnani 2022-09-25 07:07:09 UTC
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:

Comment 1 Robert-André Mauchin 🐧 2022-09-25 07:50:36 UTC
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.

Comment 2 Fedora Update System 2022-09-25 08:39:56 UTC
FEDORA-2022-8a642affdd has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8a642affdd

Comment 3 Fedora Update System 2022-09-25 08:42:48 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.