rpm-ostree rebase fedora:fedora/38/x86_64/silverblue --uninstall rpmfusion-free-release-36-1.noarch --install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-38.noarch.rpm --install https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-38.noarch.rpm
This results in the error:
error: Could not depsolve transaction; 1 problem detected:
Problem: conflicting requests
package ffmpeg-libs-6.0-6.fc38.i686 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
package ffmpeg-libs-6.0-6.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
I tried adding --uninstall libavcodec-free to the command, but that didn’t help, and instead gave this error:
error: Package/capability ‘libavcodec-free’ is not currently requested
What do I do? Is it possible to update in a single step, or am I going to have to jump through hoops removing ffmpeg-libs first, then rebasing, then overriding libavcodec-free?
I believe that you would need to use the libavcodec-freeworld package to eliminate that error. It is an rpm provided from rpmfusion (as is ffmpeg) and on a workstation I use dnf swap libavcodec-free libavcodec-freeworld. I am not sure of the command to swap files like that with rpm-ostree, but it may be rpm-ostree --uninstall libavcodec-free --install libavcodec-freeworld or similar.