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