After install RPMfusion by default it enable rpmfusion-free-rawhide.repo and rpmfusion-nonfree-rawhide.repo

The problem was that after install RPMfusion repositories by default it enables rawhide free and nonfree.
I had problems trying to install or swap ffmpeg.

chris@fedora:~$ sudo dnf swap ffmpeg-free ffmpeg --allowerasing
[sudo] password for chris: 
Last metadata expiration check: 0:23:02 ago on Sun 26 May 2024 10:58:50 PM -05.
Error: 
 Problem: package ffmpeg-6.1.1-9.fc41.x86_64 from rpmfusion-free-rawhide requires ffmpeg-libs(x86-64) = 6.1.1-9.fc41, but none of the providers can be installed
  - conflicting requests
  - nothing provides libjxl.so.0.10()(64bit) needed by ffmpeg-libs-6.1.1-9.fc41.x86_64 from rpmfusion-free-rawhide
  - nothing provides libjxl.so.0.10(JXL_0)(64bit) needed by ffmpeg-libs-6.1.1-9.fc41.x86_64 from rpmfusion-free-rawhide
  - nothing provides libjxl_threads.so.0.10()(64bit) needed by ffmpeg-libs-6.1.1-9.fc41.x86_64 from rpmfusion-free-rawhide
  - nothing provides libjxl_threads.so.0.10(JXL_0)(64bit) needed by ffmpeg-libs-6.1.1-9.fc41.x86_64 from rpmfusion-free-rawhide
(try to add '--skip-broken' to skip uninstallable packages)

This was the alert when tried to update.

chris@fedora:~$ sudo dnf up
[sudo] password for chris: 
Last metadata expiration check: 0:37:41 ago on Sun 26 May 2024 10:58:50 PM -05.
Dependencies resolved.

 Problem 1: cannot install the best update candidate for package rpmfusion-free-release-40-0.1.noarch
  - nothing provides system-release(41) needed by rpmfusion-free-release-41-0.1.noarch from rpmfusion-free-rawhide
 Problem 2: cannot install the best update candidate for package rpmfusion-nonfree-release-40-0.1.noarch
  - nothing provides system-release(41) needed by rpmfusion-nonfree-release-41-0.1.noarch from rpmfusion-nonfree-rawhide
=============================================================================================================================================================================
 Package                                            Architecture                    Version                         Repository                                          Size
=============================================================================================================================================================================
Skipping packages with broken dependencies:
 rpmfusion-free-release                             noarch                          41-0.1                          rpmfusion-free-rawhide                              12 k
 rpmfusion-nonfree-release                          noarch                          41-0.1                          rpmfusion-nonfree-rawhide                           12 k

Transaction Summary
=============================================================================================================================================================================
Skip  2 Packages

Nothing to do.
Complete!

Then I checked the repolist and It showed this

chris@fedora:~$ dnf repolist 
repo id                                                                        repo name
fedora                                                                         Fedora 40 - x86_64
fedora-cisco-openh264                                                          Fedora 40 openh264 (From Cisco) - x86_64
google-chrome                                                                  google-chrome
rpmfusion-free-rawhide                                                         RPM Fusion for Fedora Rawhide - Free
rpmfusion-nonfree-rawhide                                                      RPM Fusion for Fedora Rawhide - Nonfree
updates                                                                        Fedora 40 - x86_64 - Updates

There appears packages of the next release 41.
Can you explain me how to manage this behavior?
I had to manually disabling rpmfusion-rawhide and enabling rpmfusion-free/nonfree

# disable
sudo dnf config-manager --set-disabled rpmfusion-free-rawhide && \
sudo dnf config-manager --set-disabled rpmfusion-nonfree-rawhide && \
sudo dnf config-manager --set-disabled rpmfusion-free-rawhide && \
sudo dnf config-manager --set-disabled rpmfusion-nonfree-rawhide
# enable
sudo dnf config-manager --set-enabled rpmfusion-free && \
sudo dnf config-manager --set-enabled rpmfusion-free-updates && \
sudo dnf config-manager --set-enabled rpmfusion-nonfree && \
sudo dnf config-manager --set-enabled rpmfusion-nonfree-updates

But there showed me a warning when trying to run an update

chris@fedora:~$ sudo dnf up
RPM Fusion for Fedora 40 - Free                                                                                                              120 kB/s | 164 kB     00:01    
RPM Fusion for Fedora 40 - Free - Updates                                                                                                    6.2 kB/s |  33 kB     00:05    
RPM Fusion for Fedora 40 - Nonfree                                                                                                            62 kB/s |  69 kB     00:01    
RPM Fusion for Fedora 40 - Nonfree - Updates                                                                                                  25 kB/s |  17 kB     00:00    
Dependencies resolved.
=============================================================================================================================================================================
 Package                                              Architecture                      Version                           Repository                                    Size
=============================================================================================================================================================================
Upgrading:
 rpmfusion-free-release                               noarch                            40-1                              rpmfusion-free                                11 k
 rpmfusion-nonfree-release                            noarch                            40-1                              rpmfusion-nonfree                             11 k

Transaction Summary
=============================================================================================================================================================================
Upgrade  2 Packages

Total download size: 23 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): rpmfusion-free-release-40-1.noarch.rpm                                                                                                 57 kB/s |  11 kB     00:00    
(2/2): rpmfusion-nonfree-release-40-1.noarch.rpm                                                                                              55 kB/s |  11 kB     00:00    
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                         16 kB/s |  23 kB     00:01     
RPM Fusion for Fedora 40 - Free                                                                                                              1.6 MB/s | 1.7 kB     00:00    
Importing GPG key 0xD651FF2E:
 Userid     : "RPM Fusion free repository for Fedora (2020) <rpmfusion-buildsys@lists.rpmfusion.org>"
 Fingerprint: E9A4 91A3 DE24 7814 E7E0 67EA E06F 8ECD D651 FF2E
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-40
Is this ok [y/N]: y
Key imported successfully
RPM Fusion for Fedora 40 - Nonfree                                                                                                           1.6 MB/s | 1.7 kB     00:00    
Importing GPG key 0x94843C65:
 Userid     : "RPM Fusion nonfree repository for Fedora (2020) <rpmfusion-buildsys@lists.rpmfusion.org>"
 Fingerprint: 79BD B88F 9BBF 7391 0FD4 095B 6A2A F961 9484 3C65
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-40
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                     1/1 
  Upgrading        : rpmfusion-nonfree-release-40-1.noarch                                                                                                               1/4 
warning: /etc/yum.repos.d/rpmfusion-nonfree-updates.repo created as /etc/yum.repos.d/rpmfusion-nonfree-updates.repo.rpmnew
warning: /etc/yum.repos.d/rpmfusion-nonfree.repo created as /etc/yum.repos.d/rpmfusion-nonfree.repo.rpmnew

  Upgrading        : rpmfusion-free-release-40-1.noarch                                                                                                                  2/4 
warning: /etc/yum.repos.d/rpmfusion-free-updates.repo created as /etc/yum.repos.d/rpmfusion-free-updates.repo.rpmnew

  Cleanup          : rpmfusion-nonfree-release-40-0.1.noarch                                                                                                             3/4 
warning: /etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo saved as /etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo.rpmsave

  Cleanup          : rpmfusion-free-release-40-0.1.noarch                                                                                                                4/4 
warning: /etc/yum.repos.d/rpmfusion-free-rawhide.repo saved as /etc/yum.repos.d/rpmfusion-free-rawhide.repo.rpmsave


Upgraded:
  rpmfusion-free-release-40-1.noarch                                                  rpmfusion-nonfree-release-40-1.noarch                                                 

Complete!

This is the list of the repositories files. Notice that

  • rpmfusion-free-rawhide.repo.rpmsave
  • rpmfusion-free-updates.repo.rpmnew
  • rpmfusion-nonfree-rawhide.repo.rpmsave
  • rpmfusion-nonfree.repo.rpmnew
  • rpmfusion-nonfree-updates.repo.rpmnew
chris@fedora:~$ ll /etc/yum.repos.d/
total 76
-rw-r--r--. 1 root root  376 Jan 23 19:00 _copr:copr.fedorainfracloud.org:phracek:PyCharm.repo
-rw-r--r--. 1 root root 1102 Apr  5 19:00 fedora-cisco-openh264.repo
-rw-r--r--. 1 root root 1239 Apr  5 19:00 fedora.repo
-rw-r--r--. 1 root root 1286 Apr  5 19:00 fedora-updates.repo
-rw-r--r--. 1 root root 1344 Apr  5 19:00 fedora-updates-testing.repo
-rw-r--r--. 1 root root  174 May 26 22:56 google-chrome.repo
-rw-r--r--. 1 root root 1319 May 26 23:52 rpmfusion-free-rawhide.repo.rpmsave
-rw-r--r--. 1 root root 1248 Apr 19 19:00 rpmfusion-free.repo
-rw-r--r--. 1 root root 1245 May 26 23:53 rpmfusion-free-updates.repo
-rw-r--r--. 1 root root 1264 Apr 19 19:00 rpmfusion-free-updates.repo.rpmnew
-rw-r--r--. 1 root root 1324 Apr 19 19:00 rpmfusion-free-updates-testing.repo
-rw-r--r--. 1 root root 1487 Jan 23 19:00 rpmfusion-nonfree-nvidia-driver.repo
-rw-r--r--. 1 root root 1373 May 26 23:52 rpmfusion-nonfree-rawhide.repo.rpmsave
-rw-r--r--. 1 root root 1293 May 26 23:53 rpmfusion-nonfree.repo
-rw-r--r--. 1 root root 1312 Apr 19 19:00 rpmfusion-nonfree.repo.rpmnew
-rw-r--r--. 1 root root 1391 Jan 23 19:00 rpmfusion-nonfree-steam.repo
-rw-r--r--. 1 root root 1290 May 26 23:53 rpmfusion-nonfree-updates.repo
-rw-r--r--. 1 root root 1309 Apr 19 19:00 rpmfusion-nonfree-updates.repo.rpmnew
-rw-r--r--. 1 root root 1369 Apr 19 19:00 rpmfusion-nonfree-updates-testing.repo
chris@fedora:~$

But now I was able to swap to ffmpeg and run an update

chris@fedora:/etc/yum.repos.d$ sudo dnf up
[sudo] password for chris: 
Last metadata expiration check: 1:05:52 ago on Sun 26 May 2024 11:53:42 PM -05.
Dependencies resolved.
Nothing to do.
Complete!
chris@fedora:/etc/yum.repos.d$ 

Thanks in advance for your advice in what we should take into account

You should remove the packages rpmfusion-free-release-rawhide and rpmfusion-nonfree-release-rawhide.

Also remove the files rpmfusion-nonfree-rawhide.repo.rpmsave and rpmfusion-free-rawhide.repo.rpmsave.

Then rename
rpmfusion-free-updates.repo.rpmnew to rpmfusion-free-updates.repo
rpmfusion-nonfree.repo.rpmnew to rpmfusion-nonfree.repo
rpmfusion-nonfree-updates.repo.rpmnew to rpmfusion-nonfree-updates.repo

1 Like

You also should be able to replace the packages from the rawhide repo with sudo dnf distro-sync --allowerasing so the one that are not from the current release version are removed properly.

I am having the same issue.

Can I just follow Jeff V’s instructions, or is it necessary for me to do some of the other instructions given in this thread (like the renaming of the repos, which I don’t know how to do) ?

Thank you

If you provide the mirror url we can remove it, post the info to 7016 – rpmfusion-free-release for Fedora 40 points to Rawhide

sudo rename -l .rpmnew "" /etc/yum.repos.d/*.rpmnew
sudo dnf config-manager --disable \*-rawhide

I do not know how to see which mirror is being used to download the package. I search a bit online but found no clear answer. I will gladly report it, if you can tell me how to find that out.

Thank you

Post

sudo dnf download --url x264

Posted.
I am not sure I am savy enough to post on that list but I did it.
thanks.

The mirror looks ok, can you post

sudo dnf repolist
rpm -qa rpmfusion-*-release*
cat /etc/fedora-release

To add the repository I followed the instructions in rpmfusion.org and did:
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

repo id repo name
fedora Fedora 40 - x86_64
fedora-cisco-openh264 Fedora 40 openh264 (From Cisco) - x86_64
rpmfusion-free-rawhide RPM Fusion for Fedora Rawhide - Free
rpmfusion-nonfree RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 40 - Nonfree - Updates
updates Fedora 40 - x86_64 - Updates

rpmfusion-nonfree-release-40-1.noarch
rpmfusion-free-release-40-0.1.noarch

Fedora release 40 (Forty)

Try this (it’s all 1 line).

sudo dnf update https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm

$ sudo dnf update https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm

Last metadata expiration check: 3:17:39 ago on vie 09 ago 2024 09:16:27.
rpmfusion-nonfree-release-40.noarch.rpm 9.0 kB/s | 11 kB 00:01
rpmfusion-free-release-40.noarch.rpm 13 kB/s | 11 kB 00:00
The same or higher version of rpmfusion-nonfree-release is already installed, cannot update it.
Dependencies resolved.

Package Architecture Version Repository Size

Upgrading:
rpmfusion-free-release noarch 40-1 @commandline 11 k

Transaction Summary

Upgrade 1 Package

Total size: 11 k
Is this ok [y/N]: n
Operation aborted.

Should I say yes?

Yes, upgrade the package

Hey Leigh,

I had to remove the installed packages because I needed to install some other software before I could follow your last instructions.

So now I just followed the instructions you gave me in a previous post of mine and did:
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-40.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-40.noarch.rpm

So I guess I’m just having issues with that other url (mirror?) for some reason.

thank you,