Hello,
I’m trying to upgrade from f36 (KDE spin) to f37, and when running the dnf system-upgrade command, I get this error message that won’t disappear even after a system reboot and with the --allowerasing and --skip-broken flags
Error:
Problem: package ffmpeg-5.0.1-3.fc36.x86_64 requires ffmpeg-libs(x86-64) = 5.0.1-3.fc36, but none of the providers can be installed
- conflicting requests
- nothing provides libsrt.so.1.4()(64bit) needed by ffmpeg-libs-5.0.1-3.fc36.x86_64
- nothing provides libilbc.so.0()(64bit) needed by ffmpeg-libs-5.0.1-3.fc36.x86_64
First, thanks for the reply. But I already removed ffmpeg and ffmpeg-libs but the result is still the same. Weird thing is that the errors concerns ffmpeg version 5.0.1-3 but the version I had on my machine was version 5.0.1-8
Where was ffmpeg installed from?
If rpmfusion then you should not need to change. If not from rpmfusion then I suggest removing it as above and the reinstall should be from rpmfusion.
You can see what repo it was installed from with the command dnf list installed ffmpeg*
Note that fedora now ships the ffmpeg-free package which is limited in codecs and does not include the ffmpeg-libs package.
Available Packages
Name : ffmpeg
Version : 5.0.1
Release : 8.fc36
Architecture : x86_64
Size : 1.6 M
Source : ffmpeg-5.0.1-8.fc36.src.rpm
Repository : rpmfusion-free-updates
Summary : Digital VCR and streaming server
URL : http://ffmpeg.org/
License : GPLv3+
Description : FFmpeg is a complete and free Internet live audio and video
: broadcasting solution for Linux/Unix. It also includes a digital
: VCR. It can encode in real time in many formats including MPEG1 audio
: and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.
It seems there may be a relic in the rpm db.
The db can be cleaned up with sudo rpmdb --rebuilddb which will look at installed packages and make the database match the installed packages.
After doing the rebuild then try the upgrade again.
It also may be a relic from some other repo since you have multiple 3rd party repos enabled.
The ones I note are
Visual Studio Code
Docker CE Stable - x86_64
Opera packages
ProtonVPN Fedora Stable repository
RPM Sphere - Basearch
RPM Sphere - Noarch
teams
TeamViewer - x86_64
and I would suggest that ALL those be disabled while attempting to upgrade from fedora 36 to 37 since it is very easy for one of those to have a conflicting package name.
You can see the actual repo name to disable by using dnf repolist and the name in the first column is the one to disable.
In general, when doing a release version upgrade most of the 3rd party repos should be disabled to avoid these types of conflicts.
or you could also give this a try, script -c "sudo dnf rq --installed --queryformat %{name} | xargs -i -t sudo dnf rq -C --depends --resolve {} | grep ffmpeg" ~/ffmpeg.txt
Basically will go through everything that’s installed hunting for anything that depends on ffmpeg.
It’s going to output to ffmpeg.txt in your home directory.
When it finds something it will look something like this,
sudo dnf rq -C --depends --resolve libavdevice
Last metadata expiration check: 0:15:02 ago on Mon 21 Nov 2022 02:14:47 PM EST.
ffmpeg-libs-0:5.1.2-3.fc37.i686
ffmpeg-libs-0:5.1.2-3.fc37.x86_64