Having problem with updating Fedora Rawhide

Hi,

I am facing some problems with updating my system because of something that might have to do with conflicting packages/libraries or that is what it seems to me.

Here below is the output I get when I run sudo dnf update:

Problem 1: cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package libjxl-1:0.7.0-6.fc38.x86_64
  - cannot install the best update candidate for package ffmpeg-libs-6.0-12.fc39.x86_64
 Problem 2: package webkitgtk6.0-2.41.5-3.fc39.x86_64 requires libjxl.so.0.8()(64bit), but none of the providers can be installed
  - package webkitgtk6.0-2.41.5-3.fc39.x86_64 requires libjxl.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64
  - package libavcodec-freeworld-6.0-12.fc39.x86_64 requires libjxl.so.0.7()(64bit), but none of the providers can be installed
  - package libavcodec-freeworld-6.0-12.fc39.x86_64 requires libjxl.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package libavcodec-freeworld-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7()(64bit), but none of the providers can be installed
  - package libavcodec-freeworld-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package webkitgtk6.0-2.41.5-1.fc39.x86_64
  - cannot install the best update candidate for package libavcodec-freeworld-6.0-12.fc39.x86_64
 Problem 3: problem with installed package 
  - package libavcodec-freeworld-6.0-12.fc39.x86_64 requires libjxl.so.0.7()(64bit), but none of the providers can be installed
  - package libavcodec-freeworld-6.0-12.fc39.x86_64 requires libjxl.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package libavcodec-freeworld-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7()(64bit), but none of the providers can be installed
  - package libavcodec-freeworld-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package webkit2gtk4.1-2.41.5-3.fc39.x86_64 requires libjxl.so.0.8()(64bit), but none of the providers can be installed
  - package webkit2gtk4.1-2.41.5-3.fc39.x86_64 requires libjxl.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64
  - cannot install the best update candidate for package webkit2gtk4.1-2.41.5-1.fc39.x86_64
 Problem 4: package libavdevice-6.0-12.fc39.x86_64 requires ffmpeg-libs(x86-64) = 6.0-12.fc39, but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package webkit2gtk4.0-2.41.5-3.fc39.x86_64 requires libjxl.so.0.8()(64bit), but none of the providers can be installed
  - package webkit2gtk4.0-2.41.5-3.fc39.x86_64 requires libjxl.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64
  - cannot install the best update candidate for package webkit2gtk4.0-2.41.5-1.fc39.x86_64
  - cannot install the best update candidate for package libavdevice-6.0-12.fc39.x86_64
 Problem 5: package ffmpeg-6.0-12.fc39.x86_64 requires ffmpeg-libs(x86-64) = 6.0-12.fc39, but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package libaom-3.6.1-1.fc39.x86_64 requires libjxl.so.0.8()(64bit), but none of the providers can be installed
  - package libaom-3.6.1-1.fc39.x86_64 requires libjxl.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64
  - cannot install the best update candidate for package libaom-3.6.0-1.fc39.x86_64
  - cannot install the best update candidate for package ffmpeg-6.0-12.fc39.x86_64
 Problem 6: problem with installed package 
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package jxl-pixbuf-loader-1:0.8.1-2.fc39.x86_64 requires libjxl.so.0.8()(64bit), but none of the providers can be installed
  - package jxl-pixbuf-loader-1:0.8.1-2.fc39.x86_64 requires libjxl.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - package jxl-pixbuf-loader-1:0.8.1-2.fc39.x86_64 requires libjxl_threads.so.0.8()(64bit), but none of the providers can be installed
  - package jxl-pixbuf-loader-1:0.8.1-2.fc39.x86_64 requires libjxl_threads.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64
  - cannot install the best update candidate for package jxl-pixbuf-loader-1:0.7.0-6.fc38.x86_64
 Problem 7: problem with installed package 
  - package libavdevice-6.0-12.fc39.x86_64 requires ffmpeg-libs(x86-64) = 6.0-12.fc39, but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package imlib2-1.11.1-2.fc39.x86_64 requires libjxl.so.0.8()(64bit), but none of the providers can be installed
  - package imlib2-1.11.1-2.fc39.x86_64 requires libjxl.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - package imlib2-1.11.1-2.fc39.x86_64 requires libjxl_threads.so.0.8()(64bit), but none of the providers can be installed
  - package imlib2-1.11.1-2.fc39.x86_64 requires libjxl_threads.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64
  - cannot install the best update candidate for package imlib2-1.11.1-1.fc39.x86_64
 Problem 8: problem with installed package 
  - package ffmpeg-6.0-12.fc39.x86_64 requires ffmpeg-libs(x86-64) = 6.0-12.fc39, but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7()(64bit), but none of the providers can be installed
  - package ffmpeg-libs-6.0-12.fc39.x86_64 requires libjxl_threads.so.0.7(JXL_0)(64bit), but none of the providers can be installed
  - package gthumb-1:3.12.2-8.fc39.x86_64 requires libjxl.so.0.8()(64bit), but none of the providers can be installed
  - package gthumb-1:3.12.2-8.fc39.x86_64 requires libjxl.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - package gthumb-1:3.12.2-8.fc39.x86_64 requires libjxl_threads.so.0.8()(64bit), but none of the providers can be installed
  - package gthumb-1:3.12.2-8.fc39.x86_64 requires libjxl_threads.so.0.8(JXL_0)(64bit), but none of the providers can be installed
  - cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64
  - cannot install the best update candidate for package gthumb-1:3.12.2-7.fc39.x86_64

Nothing to do.

These are my repositories:

repo id                                                                                                    repo name                                                                                                                           
copr:copr.fedorainfracloud.org:phracek:PyCharm                                                             Copr repo for PyCharm owned by phracek                                                                                              
fedora                                                                                                     Fedora rawhide - x86_64                                                                                                             
fedora-cisco-openh264                                                                                      Fedora rawhide openh264 (From Cisco) - x86_64                                                                                       
rawhide                                                                                                    Fedora - Rawhide - Developmental packages for the next Fedora release                                                               
rpmfusion-free-rawhide                                                                                     RPM Fusion for Fedora Rawhide - Free                                                                                                
updates                                                                                                    Fedora rawhide - x86_64 - Updates

Please let me know if I need to post anything else.

Have you tried any options with dnf in relation to those errors?
Have you tried again to do the update?

Note that with a version that is in rapid flux like rawhide, and with more than one repo involved, it is not uncommon for the various repos involved to be out of sync with packages. If you were running F38 it would be common for those errors to pop up today and be fixed tomorrow. How quickly the issues get fixed with rawhide is a guess.

However it appears at least part of the issue is with repos being out of sync for certain packages. In problem 6 you note that ffmpeg-libs (rpmfusion) wants libjxl.so.0.7 and at the same time jxl-pixbuff-loader (rawhide) wants libjxl.so.0.8 so there is a conflict.
- cannot install both libjxl-1:0.7.0-6.fc38.x86_64 and libjxl-1:0.8.1-2.fc39.x86_64

I would guess that removing ffmpeg-libs and libavcodec-freeworld would fix all those errors.

I just did a new clean install of rawhide on a VM and then added the rpmfusion repos.
This is my repolist

# dnf repolist
repo id                                         repo name                                                              
copr:copr.fedorainfracloud.org:phracek:PyCharm  Copr repo for PyCharm owned by phracek                                 
fedora-cisco-openh264                           Fedora rawhide openh264 (From Cisco) - x86_64                          
google-chrome                                   google-chrome                                                          
rawhide                                         Fedora - Rawhide - Developmental packages for the next Fedora release  
rpmfusion-free-rawhide                          RPM Fusion for Fedora Rawhide - Free                                   
rpmfusion-nonfree-nvidia-driver                 RPM Fusion for Fedora rawhide - Nonfree - NVIDIA Driver                
rpmfusion-nonfree-rawhide                       RPM Fusion for Fedora Rawhide - Nonfree                                
rpmfusion-nonfree-steam                         RPM Fusion for Fedora rawhide - Nonfree - Steam                        

I enabled the 3rd party repos which accounts for google-chrome, rpmfusion-nonfree-nvidia-driver, and rpmfusion-nonfree-steam.

I note that you have the following repos enabled,

fedora
updates

which are not part of the rawhide repos.
What happens if you use the options --disablerepo=fedora,updates with your dnf command? Those repos may easily conflict with the rawhide repo.

Note also that rawhide has just recently switched from using dnf to the new & improved dnf5 which may also introduce some bugs for a short time.

1 Like

Hi @computersavvy and thanks for your reply!

No, I didn’t. I just tried sudo dnf update and also having noticed the switch to dnf5 in a previous update, I tried sudo dnf5 update

Right after I posted about the issue, I did a search on the forum to see if I would find posts about similar issue. I found adding --allowerasing --bestcould possibly solve this issue so I went ahead and did sudo dnf5 update --allowerasing --best

Not sure now that if it was the right thing to do but it did resolve the issue and the update went well.

This system was converted from F37 to Rawhide. Some time ago I posted about if my repos were correctly configured. For reference: Are my repos correctly configured?

Do you think I should disable these two repos: fedora an updates?

You may want to read

Rawhide is the development version and it is expected to break from time to time.

If you want a more stable experience, I’d recommend the latest fedora release (currently F38)

1 Like

You also may want to note this comment which affects rawhide due to the change from dnf to dnf5

1 Like

Hi @augenauf
Thanks for pointing out the documentation.

I converted this system from F37 to Rawhide. Coming from Archlinux, I am used to a fast update pace but Rawhide seems to be ahead of Arch when it comes to updates. Or perhaps you cannot compare the two.

Arch’s packages get into the stable repos after passing through the testing repo where some intial tests have been done. But Rawhide being a development version, how much testing is done on the packages before they are released?

Also, this system is meant to be a testing system and for learning how Fedora works. I admit that I need to consult the documentation more to get acquaited with the fedora way of system maintenance.

Since @computersavvy mentioned that the two repositories: fedora and update are not part of a fresh installation of Rawhide, I wonder if I should be disabling them.

Thanks @jakfrost, I appreciate the input!

None.

You could also run F38 with updates-testing repository enabled.

1 Like

Right, kind of suspected that :slightly_smiling_face:

That sounds great!

So if I choose to run F38 with update-testing enabled, should I reconfigure my repos and downgrade all the packages? Would you mind pointing me to the documentation where I could read what to do?

Or is it better to go for fresh install?

Downgrading from rawhide to f38 is not supported. I would backup anything important and do a clean install of F38.

1 Like

Alright.

I think I would keep Rawhide for now and if it becomes unmanageable for me I would certainly take your advice and do a clean install of F38.

Thank you all for your support!