Libavcodec-freeworld vs libavcodec-free?

Hello. I was trying to compile software from source code. It requires the C++ compiler, and some libs, including pipewire-devel, which I didn’t have so I’ve installed using sudo dnf install. Now, when I try to update my system, this happens:

$ sudo dnf update
[sudo] password for paul: 
download.vscodium.com                                                         1.7 kB/s | 833  B     00:00    
Dependencies resolved.

 Problem: package libavcodec-freeworld-6.1.2-1.fc40.x86_64 from rpmfusion-free-updates conflicts with libavcodec-free < 6.1.2 provided by libavcodec-free-6.1.1-19.fc40.x86_64 from @System
  - cannot install the best update candidate for package libavcodec-freeworld-6.1.1-15.fc40.x86_64
  - cannot install the best update candidate for package libavcodec-free-6.1.1-19.fc40.x86_64
==============================================================================================================
 Package                       Architecture    Version                  Repository                       Size
==============================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 libavcodec-freeworld          x86_64          6.1.2-1.fc40             rpmfusion-free-updates          5.0 M

Transaction Summary
==============================================================================================================
Skip  1 Package

Now, if I do this, it tries to remove my entire plasma-desktop

$ sudo dnf update --best --allowerasing
[sudo] password for paul: 
Last metadata expiration check: 0:10:29 ago on Fri 09 Aug 2024 01:31:49 PM -03.
Error: 
 Problem: The operation would result in removing the following protected packages: plasma-desktop
(try to add '--skip-broken' to skip uninstallable packages)

Using skip broken fails successfully!

$ sudo dnf update --skip-broken
Last metadata expiration check: 0:11:57 ago on Fri 09 Aug 2024 01:31:49 PM -03.
Dependencies resolved.

 Problem: package libavcodec-freeworld-6.1.2-1.fc40.x86_64 from rpmfusion-free-updates conflicts with libavcodec-free < 6.1.2 provided by libavcodec-free-6.1.1-19.fc40.x86_64 from @System
  - cannot install the best update candidate for package libavcodec-freeworld-6.1.1-15.fc40.x86_64
  - cannot install the best update candidate for package libavcodec-free-6.1.1-19.fc40.x86_64
==============================================================================================================
 Package                       Architecture    Version                  Repository                       Size
==============================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 libavcodec-freeworld          x86_64          6.1.2-1.fc40             rpmfusion-free-updates          5.0 M

Transaction Summary
==============================================================================================================
Skip  1 Package

Nothing to do.
Complete!

What should I do to fix this conflict?

Found the solution. In case someone else needs it
https://rpmfusion.org/Howto/Multimedia

5 Likes