Rebasing Kinoite to F44 Fails with "error: Packages not found: java-24-openjdk"

Hello, today I wanted to rebase from Fedora Kinoite 43 to 44, and so I followed the steps in this article.

$ rpm-ostree rebase fedora:fedora/44/x86_64/kinoite worked fine (receiving objects, updating metadata for repositories and importing rpm-md) but then stopped with error: Packages not found: java-24-openjdk. I tried installing it with rpm-ostree but got error: Package/capability 'java-24-openjdk' is already requested . Actually I had the same problem last week, but quickly discovered that the f44 release had been postponed, so I thought that was the reason for that problem. What can I do?

Oh and I do not use RPM Fusion, in case someone asks

There’s no java-24-openjdk in the F43 repos (at least not anymore):

$ dnf list java-2*-openjdk --refresh
Updating and loading repositories:
 Fedora 43 - x86_64                                              100% |   8.7 KiB/s |  20.8 KiB |  00m02s
 Fedora 43 - x86_64 - Updates                                    100% |   7.5 KiB/s |  10.8 KiB |  00m01s
 Fedora 43 openh264 (From Cisco) - x86_64                        100% |   1.5 KiB/s | 986.0   B |  00m01s
Repositories loaded.
Available packages
java-21-openjdk.x86_64 1:21.0.10.0.7-2.fc43 updates
java-25-openjdk.x86_64 1:25.0.2.0.10-5.fc43 updates

You could try removing the package with rpm-ostree uninstall, then rebase, and then layer java-latest-openjdk.

This is on F44:

$ rpm-ostree search java-*-openjdk

===== Name Matched =====
java-25-openjdk : OpenJDK 25 Runtime Environment
java-latest-openjdk : OpenJDK 26 Runtime Environment

Thanks, thats a great idea and seems to work. However now I got this;

…

Resolving dependencies... done
error: Konnte Transaktion nicht depsolven 1 Problem erkannt:
Problem: package winehq-stable-1:11.0.0-2.1.x86_64 from WineHQ requires wine-stable = 1:11.0.0-2.1, but none of the providers can be installed
- widersprĂĽchliche Anforderungen
- nothing provides libavcodec.so.61()(64bit) needed by wine-stable-1:11.0.0-2.1.x86_64 from WineHQ
- nothing provides libavcodec.so.61(LIBAVCODEC_61)(64bit) needed by wine-stable-1:11.0.0-2.1.x86_64 from WineHQ
- nothing provides libavformat.so.61()(64bit) needed by wine-stable-1:11.0.0-2.1.x86_64 from WineHQ
- nothing provides libavformat.so.61(LIBAVFORMAT_61)(64bit) needed by wine-stable-1:11.0.0-2.1.x86_64 from WineHQ
- nothing provides libavutil.so.59()(64bit) needed by wine-stable-1:11.0.0-2.1.x86_64 from WineHQ
- nothing provides libavutil.so.59(LIBAVUTIL_59)(64bit) needed by wine-stable-1:11.0.0-2.1.x86_64 from WineHQ

(Excuse the weird mixture of German and English, somehow this remains the case even if I remove German as the fallback language for Konsole?)

This was a known issue when upgrading to F43, apparently happening with F44 as well. Try uninstalling the layered wine package and reinstalling it after the upgrade.

Edit: Disregard this comment (I will leave it though just so others dont make the same mistakes), I should have just used rpm-ostree uninstall winehq-stable. This worked perfectly, and after a reboot I was able to rebase without a hitch. Thank you so much!

For sudo rpm-ostree uninstall winehq-stable-1:11.0.0-2.1.x86_64 I get error: Package/capability 'winehq-stable-1:11.0.0-2.1.x86_64' is not currently requested
Why is that? I read somewhere that I should try rpm-ostree override remove but this returned error: Package "winehq-stable-1:11.0.0-2.1.x86_64" not found

I have not uninstalled anything using rpm-ostree lately, but this is the case for any other of my overlayed packages