Problem updating Fedora Kinoite 40 after installing ffmpeg from RPM Fusion

I am running into some package conflicts when I try to update my system. When I had Kinoite 39, I overrode and removed the lib*-free packages in favor of ffmpeg from RPM Fusion. Specifically, I used something along the lines of:

rpm-ostree override remove libavcodec-free libavfilter-free libavformat-free libavutil-free libpostproc-free libswresample-free libswscale-free --install ffmpeg 

to install ffmpeg. I did that to stream videos on Firefox (not the Flatpak version of Firefox) without the issues that I used to have with Kinoite 38 and Kinoite 39. It was perfect, and I could even upgrade to Kinoite 40 without any problems.

But recently, when I try to update my system, I am running into this:

error: Could not depsolve transaction; 2 problems detected:
 Problem 1: package libavdevice-free-6.1.1-12.fc40.x86_64 from @System requires libavcodec-free(x86-64) = 6.1.1-12.fc40, but none of the providers can be installed
  - conflicting requests
 Problem 2: package ffmpeg-free-6.1.1-12.fc40.x86_64 from @System requires libavfilter-free(x86-64) = 6.1.1-12.fc40, but none of the providers can be installed
  - conflicting requests

The problem is, I do not have ffmpeg-free, or libavdevice-free installed anyway, so I do not know why those packages will give me any trouble. I tried uninstalling ffmpeg, and then updating the system; but the issue persists.

I can’t figure this out, can anyone help me through this please? I do not mind getting my hands dirty while fixing this. I have NVIDIA, if that is relevant (but I don’t think it should be).

I would suggest first resetting the system:

rpm-ostree reset

Then, layer libavcodec-freeworld and ffmpeg-free instead:

rpm-ostree install libavcodec-freeworld ffmpeg-free <other_layered_packages>

You can check Fedora Project Wiki on Firefox Hardware Acceleration.

You don’t need ffmpeg-free if you only need to play videos in Firefox.

First reset overrides then update the system (restart?). Lastly override again with extra ffmpeg-free & libvavdevice-free packages.

rpm-ostree override reset \
    libavcodec-free \
    libavfilter-free \
    libavformat-free \
    libavutil-free \
    libpostproc-free \
    libswresample-free \
    libswscale-free

rpm-ostree upgrade --reboot

rpm-ostree override remove \
    ffmpeg-free \
    libavcodec-free \
    libavdevice-free \
    libavfilter-free \
    libavformat-free \
    libavutil-free \
    libpostproc-free \
    libswresample-free \
    libswscale-free \
    --install \
        ffmpeg

Note: I am using ffmpegthumbnailer package instead ffmpeg package on my system.

Fixed it with @queeup 's help.

I couldn’t have just done

rpm-ostree reset

as @yuntaz suggested, since that would’ve removed all my layered packages like NVIDIA drivers, firefoxpwa, howdy, several other local packages, etc.

I did not however remove ffmpeg-free for now, will give it another try to see if I can get by without changing the base atomic installation. And if I really need ffmpeg, I might try with exporting from a distrobox first before overriding the base system.

1 Like