F45 Reinstall — Unable to install RPM Fusion Free or NonFree for that matter

Both the Software App (from a file) and the CLI using dnf yield the same message

Failed to resolve transaction:
Problem: conflicting requests

  • nothing provides /usr/share/dnf5/libdnf.conf.d/ needed by rpmfusion-free-release-45-1.noarch from @commandline

Please keep in mind my environment is a Fedora Reinstall over F44 using the installer from a USB. The normal approved method of installing F45 did not work either.

Any help in clearing this up so I can get Wi-Fi back would be pretty wonderful.

Please see this:

That didn’t work for me, sorry. Here’s the output:

paul@fedora:~$ sudo dnf remove rpmfusion-free-release
No packages to remove for argument: rpmfusion-free-release

Nothing to do.
paul@fedora:~$ sudo dnf install
Making sure you're not a bot!(rpm -E %fedora).noarch.rpm
Making sure you're not a bot!(rpm -E %fedora).noarch.rpm
Updating and loading repositories:
Repositories loaded.
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-45.noarch.rpm 100% | 61.2 KiB/s | 11.3 KiB | 00m00s
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-45.noarch.rpm 100% | 39.7 KiB/s | 11.3 KiB | 00m00s
Failed to resolve the transaction:
Problem 1: conflicting requests

  • nothing provides /usr/share/dnf5/libdnf.conf.d/ needed by rpmfusion-free-release-45-1.noarch from @commandline
    Problem 2: conflicting requests
  • nothing provides /usr/share/dnf5/libdnf.conf.d/ needed by rpmfusion-nonfree-release-45-1.noarch from @commandline
    You can try to add to command line:
    –setopt=optional_metadata_types=filelists to load additional filelists metadata
    –skip-broken to skip uninstallable packages

This confirms the root cause: your base system is missing the dnf5 package (or it’s too old). The directory /usr/share/dnf5/libdnf.conf.d/ is provided by the dnf5 package on Fedora 45 — without it, no package that Requires that path can be installed.

Step 1 — Verify the directory is actually missing:

ls /usr/share/dnf5/libdnf.conf.d/

Step 2 — Update the base system first (this pulls in the latest dnf5 and libdnf5):

sudo dnf upgrade --refresh

Step 3 — If the directory still doesn’t exist after the upgrade, install dnf5 explicitly:

sudo dnf install dnf5

Step 4 — Now install the RPM Fusion release packages:

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

Thanks

Got the same issue in another discussion.

Removed all old RPMFusion repos, and now I’m not able to install them again.

The folder is available in my F45 installation.

$ ls /usr/share/dnf5/libdnf.conf.d/
20-fedora-defaults.conf  protect-setup.conf  protect-sudo.conf  protect-systemd.conf

The problem isn’t per se that the directory is missing. The problem is that no package claims to provide that directory.

So the fact the directory exists (it probably does on a non-fresh system that was upgraded from F44) doesn’t mitigate the problem.

STEP 1

paul@fedora:~$ ls /usr/share/dnf5/libdnf.conf.d/
20-fedora-defaults.conf protect-setup.conf protect-sudo.conf protect-systemd.conf

STEP 2

paul@fedora:~$ sudo dnf update --refresh
[sudo] password for paul:
Updating and loading repositories:
Fedora 45 - x86_64 - Updates 100% | 28.2 KiB/s | 19.6 KiB | 00m01s
RPM Fusion for Fedora 45 - Nonfree - Steam 100% | 17.6 KiB/s | 5.1 KiB | 00m00s
RPM Fusion for Fedora 45 - Nonfree - NVIDIA Driver 100% | 17.9 KiB/s | 5.3 KiB | 00m00s
google-chrome 100% | 23.6 KiB/s | 1.3 KiB | 00m00s
Fedora 45 openh264 (From Cisco) - x86_64 100% | 1.4 KiB/s | 986.0 B | 00m01s
Fedora 45 - x86_64 100% | 29.0 KiB/s | 20.6 KiB | 00m01s
Repositories loaded.
Nothing to do.

STEP 3

paul@fedora:~$ sudo dnf install dnf5
Updating and loading repositories:
Repositories loaded.
Package “dnf5-5.4.6.0-3.fc45.x86_64” is already installed.

Nothing to do.

STEP 4

paul@fedora:~$ sudo dnf install
Making sure you're not a bot! (rpm -E %fedora).noarch.rpm
Making sure you're not a bot! (rpm -E %fedora).noarch.rpm
Updating and loading repositories:
Repositories loaded.
~~https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-45.noarch.rpm~~ 100% | 48.0 KiB/s | 11.3 KiB | 00m00s
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-45.noarch.rpm 100% | 41.0 KiB/s | 11.3 KiB | 00m00s
Failed to resolve the transaction:
Problem 1: conflicting requests

  • nothing provides /usr/share/dnf5/libdnf.conf.d/ needed by rpmfusion-free-release-45-1.noarch from @commandline
    Problem 2: conflicting requests
  • nothing provides /usr/share/dnf5/libdnf.conf.d/ needed by rpmfusion-nonfree-release-45-1.noarch from @commandline
    You can try to add to command line:
    –setopt=optional_metadata_types=filelists to load additional filelists metadata
    –skip-broken to skip uninstallable packages

Fixed, the mirrors will take a while to sync

But why is this an issue now? I used F45 beta since the release. I upgraded from F44, and there were no issues with RPMFusion repos in version 45-0.3. I’m confused … :thinking:

Looks as if we wait for the mirros to sync @leigh123linux just confirmed.
Thanks

stat /usr/share/dnf5/libdnf.conf.d && rpm -qa libdnf
  File: /usr/share/dnf5/libdnf.conf.d
  Size: 156             Blocks: 0          IO Block: 4096   directory
Device: 0,39    Inode: 75771       Links: 1
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Context: system_u:object_r:usr_t:s0
Access: 2026-11-03 06:58:58.800948165 -0700
Modify: 2026-11-01 06:29:27.178934244 -0700
Change: 2026-11-01 06:29:27.178934244 -0700
 Birth: 2026-10-27 09:10:05.370634046 -0600

**libdnf-0.76.0-1.fc45.x86_64**


I’m not sure tbh. At first sight it looks like libdnf5-5.4.6.0-3.fc45 should satisfy the dependency fine. So there’s something I’m missing.

Great! Let’s see if it works after sync is done. Thanks!

It fails because of ending /

update

sudo dnf update https://download1.rpmfusion.org/free/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-free-release-45-2.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-nonfree-release-45-2.noarch.rpm

install

sudo dnf install https://download1.rpmfusion.org/free/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-free-release-45-2.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-nonfree-release-45-2.noarch.rpm

paul@fedora:~$ sudo dnf install https://download1.rpmfusion.org/free/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-free-release-45-2.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-nonfree-release-45-2.noarch.rpm
Updating and loading repositories:
Repositories loaded.
Index of /free/fedora/releases/45/Everything/x86_64/os/Packages/r 100% | 46.5 KiB/s | 11.7 KiB | 00m00s
https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Package 100% | 45.6 KiB/s | 11.8 KiB | 00m00s
Package Arch Version Repository Size
Installing:
rpmfusion-free-release noarch 0:45-2 @commandline 5.7 KiB
rpmfusion-nonfree-release noarch 0:45-2 @commandline 5.8 KiB

Transaction Summary:
Installing: 2 packages

Total size of inbound packages is 23 KiB. Need to download 0 B.
After this operation, 12 KiB extra will be used (install 12 KiB, remove 0 B).
Is this ok [y/N]: y
Running transaction
[1/4] Verify package files 100% | 100.0 B/s | 2.0 B | 00m00s
[2/4] Prepare transaction 100% | 7.0 B/s | 2.0 B | 00m00s
[3/4] Installing rpmfusion-nonfree-release-0:45-2.noarch 100% | 207.6 KiB/s | 7.7 KiB | 00m00s
[4/4] Installing rpmfusion-free-release-0:45-2.noarch 100% | 9.9 KiB/s | 7.5 KiB | 00m01s
Warning: skipped OpenPGP checks for 2 packages from repository: @commandline
Complete!

This issue is with nothing provides /usr/share/dnf5/libdnf.conf.d/ is preventing me from upgrading from F44 to F45 using the sudo dnf system-upgrade download --releasever=45 command. I’m not in a big hurry so I can probably just wait and it will work later?

Working now.

Hey Leigh! Strange thing is that I get different packages when using your dnf install instead of using the configuration command from the RPMFusion website.

RPMFusion website:

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

Result:

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.rpmch.rpmfedora).noarch.rpm htt
Updating and loading repositories:
Repositories loaded.
 https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-45.noarch.rpm     100% |  47.8 KiB/s |  11.7 KiB |  00m00s
 https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-45.noarch.r 100% |  21.6 KiB/s |  11.4 KiB |  00m01s
Package                                  Arch       Version                                  Repository                 Size
Installing:
 rpmfusion-free-release                  noarch     0:45-2                                   @commandline            5.7 KiB
 rpmfusion-nonfree-release               noarch     0:45-0.2                                 @commandline            5.7 KiB

Transaction Summary:
 Installing:         2 packages

Your install command:

sudo dnf install https://download1.rpmfusion.org/free/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-free-release-45-2.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-nonfree-release-45-2.noarch.rpm

Result:

sudo dnf install https://download1.rpmfusion.org/free/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-free-release-45-2.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-nonfree-release-45-2.noarch.rpm
Updating and loading repositories:
Repositories loaded.
 https://download1.rpmfusion.org/free/fedora/releases/45/Everything/x86_64/os/Packa 100% | 212.1 KiB/s |  11.7 KiB |  00m00s
 https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Pa 100% | 213.7 KiB/s |  11.8 KiB |  00m00s
Package                                  Arch       Version                                  Repository                 Size
Installing:
 rpmfusion-free-release                  noarch     0:45-2                                   @commandline            5.7 KiB
 rpmfusion-nonfree-release               noarch     0:45-2                                   @commandline            5.8 KiB

Transaction Summary:
 Installing:         2 packages

You see the different version number from rpmfusion-nonfree-release ? Which installation method should I use now? :thinking:

download1.rpmfusion.org is the main mirror that the others sync from, you used links managed by mirrormanager service.

Good to know. So it shouldn’t matter what command I use for installation. If all mirrors are synced, I should get the latest updates. But if I use your direct download link, I’m on the latest version right after installation. :+1:

So I installed all 4 RPMFusion repos from your direct download link. :wink:

sudo dnf install https://download1.rpmfusion.org/free/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-free-release-45-2.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-nonfree-release-45-2.noarch.rpm https://download1.rpmfusion.org/free/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-free-release-tainted-45-2.noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/releases/45/Everything/x86_64/os/Packages/r/rpmfusion-nonfree-release-tainted-45-2.noarch.rpm