Bug 2403170

Summary: dnf-system-upgrade: 41 to 43 fails due to jxl-pixbuf-loader
Product: [Fedora] Fedora Reporter: Osama Albahrani <osalbahr>
Component: jpegxlAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: daniel.mach, decathorpe, dominik, eclipseo, iysheng, jmracek, jrohel, kparal, lruzicka, mblaha, multimedia-sig, ngompa13, pkratoch, ppisar, ToddAndMargo
Target Milestone: ---Keywords: Upgrades
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AcceptedFreezeException
Fixed In Version: jpegxl-0.11.1-6.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-23 23:53:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2324226    

Description Osama Albahrani 2025-10-10 18:43:03 UTC
In Fedora 41, upgrading to Fedora 43 fails.

Reproducible: Always

Steps to Reproduce:
1. Install Fedora 41 (https://dl.fedoraproject.org/pub/fedora/linux/releases/41/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-41-1.4.iso)
2. `sudo dnf upgrade`
3. Reboot
4. `sudo dnf system-upgrade download --releasever 43`
Actual Results:
```
$ sudo dnf system-upgrade download --releasever 43
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: installed package jxl-pixbuf-loader-1:0.10.4-1.fc41.x86_64 requires libjxl.so.0.10()(64bit), but none of the providers can be installed
  - installed package jxl-pixbuf-loader-1:0.10.4-1.fc41.x86_64 requires libjxl.so.0.10(JXL_0)(64bit), but none of the providers can be installed
  - installed package jxl-pixbuf-loader-1:0.10.4-1.fc41.x86_64 requires libjxl_threads.so.0.10()(64bit), but none of the providers can be installed
  - installed package jxl-pixbuf-loader-1:0.10.4-1.fc41.x86_64 requires libjxl_threads.so.0.10(JXL_0)(64bit), but none of the providers can be installed
  - libjxl-1:0.10.4-1.fc41.x86_64 does not belong to a distupgrade repository
  - problem with installed package
```

Expected Results:
The N to N+2 upgrade succeeds, as per the docs: https://docs.fedoraproject.org/en-US/quick-docs/upgrading-fedora-offline

Additional Information:
See https://discussion.fedoraproject.org/t/dnf-system-upgrade-41-to-43-fails-libjxl-1-does-not-belong-to-a-distupgrade-repository/168071

Comment 1 Petr Pisar 2025-10-13 07:51:33 UTC
What do you think DNF can do to fix it?

Comment 2 Petr Pisar 2025-10-13 07:52:51 UTC
From jpegxl-0.11.1-5.fc43 changelog:

* Fri Sep 05 2025 Michael Catanzaro <mcatanzaro> - 1:0.11.1-5
- Disable the pixbuf loader and thumbnailer

Comment 3 Fabio Valentini 2025-10-13 09:09:13 UTC
I see the issue. That commit added the Obsoletes to a non-existent package.
It should have been added to libjxl. I'll make a followup fix.
https://src.fedoraproject.org/rpms/jpegxl/pull-request/14

Comment 4 Miloš Komarčević 2025-10-13 11:41:20 UTC
Could you please check libavif and libheif too as they have also removed gdk-pixbuf loaders?

Comment 5 Fabio Valentini 2025-10-13 18:32:17 UTC
Yes, this was handled correctly in libheif and libavif.

The only case where it was broken was jpegxl, it's the only one where the source package (jpegxl) name does not match the built package name (libjxl), so it's kind of easy to see how this happened.

Comment 6 Fedora Update System 2025-10-16 23:19:06 UTC
FEDORA-2025-b2b48e2699 (jpegxl-0.11.1-6.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b2b48e2699

Comment 7 Fedora Update System 2025-10-17 01:43:35 UTC
FEDORA-2025-b2b48e2699 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b2b48e2699`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b2b48e2699

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Blocker Bugs Application 2025-10-17 13:12:03 UTC
Proposed as a Freeze Exception for 43-final by Fedora user decathorpe using the blocker tracking app because:

 This update fixes upgrade issues to Fedora 43 (which would otherwise require passing `--allowerasing` to the system-ugprade command, and I'm not sure if GUI based upgrade methods need a workaround too).

The necessary Obsoletes were "added" to the jpegxl spec file, but due to a packaging mistake they were missing from the built packages. The linked jpegxl update contains no changes other than fixed Obsoletes to fix the upgrade path from Fedora 42 and 41.

Comment 9 Lukas Ruzicka (Red Hat) 2025-10-17 15:49:53 UTC
The above update seems to be working.

Comment 10 Kamil Páral (Red Hat) 2025-10-20 13:06:15 UTC
Accepted as a freeze exception in https://pagure.io/fedora-qa/blocker-review/issue/1996

Comment 11 Fedora Update System 2025-10-23 23:53:56 UTC
FEDORA-2025-b2b48e2699 (jpegxl-0.11.1-6.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Petr Pisar 2025-10-24 08:23:28 UTC
*** Bug 2406147 has been marked as a duplicate of this bug. ***