Bug 6684

Summary: Versions mismatch between Fedora and RPM Fusion
Product: Fedora Reporter: Clodoaldo Pinto Neto <clodoaldo.pinto>
Component: ffmpegAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: RESOLVED FIXED    
Severity: normal CC: belegdol, kwizart, leigh123linux
Priority: P1    
Version: f38   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Clodoaldo Pinto Neto 2023-05-14 14:13:35 CEST
Trying to system-upgrade from F37 to F38:

# dnf system-upgrade download --releasever=38
...
Error: 
 Problem 1: problem with installed package ffmpeg-free-5.1.3-1.fc37.x86_64
  - package ffmpeg-6.0-6.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-2.fc38.x86_64
  - package ffmpeg-6.0-6.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-4.fc38.x86_64
  - conflicting requests
  - package ffmpeg-6.0-10.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-2.fc38.x86_64
  - package ffmpeg-6.0-10.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-4.fc38.x86_64
  - ffmpeg-free-5.1.3-1.fc37.x86_64 does not belong to a distupgrade repository
 Problem 2: problem with installed package firefox-113.0-1.fc37.x86_64
  - conflicting requests
  - package ffmpeg-libs-6.0-6.fc38.i686 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-6.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-10.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - problem with installed package libavcodec-free-5.1.3-1.fc37.x86_64
  - problem with installed package chromium-113.0.5672.63-1.fc37.x86_64
  - 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
  - package ffmpeg-libs-6.0-10.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
  - nothing provides libopenh264.so.7 needed by ffmpeg-libs-6.0-10.fc38.i686
  - chromium-113.0.5672.63-1.fc37.x86_64 does not belong to a distupgrade repository
  - libavcodec-free-5.1.3-1.fc37.x86_64 does not belong to a distupgrade repository
  - firefox-113.0-1.fc37.x86_64 does not belong to a distupgrade repository

It seems the problem is that the minimum ffmpeg version in RPM Fusion is 6.0.6 and the max version in Fedora is 6.0.4. And similar problem with ffmpeg-libs and libavcodec.

Could the older 6.0.4 versions be included in the repository?
Comment 1 leigh scott 2023-05-14 14:41:52 CEST
Run this and try again.


sudo dnf config-manager --set-enabled fedora-cisco-openh264
Comment 2 Clodoaldo Pinto Neto 2023-05-14 14:47:15 CEST
(In reply to leigh scott from comment #1)
> Run this and try again.
> 
> 
> sudo dnf config-manager --set-enabled fedora-cisco-openh264

I did it and now this is the erro:

Error: 
 Problem 1: problem with installed package ffmpeg-free-5.1.3-1.fc37.x86_64
  - package ffmpeg-6.0-6.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-2.fc38.x86_64
  - package ffmpeg-6.0-6.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-4.fc38.x86_64
  - conflicting requests
  - package ffmpeg-6.0-10.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-2.fc38.x86_64
  - package ffmpeg-6.0-10.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-4.fc38.x86_64
  - ffmpeg-free-5.1.3-1.fc37.x86_64 does not belong to a distupgrade repository
 Problem 2: problem with installed package chromium-113.0.5672.63-1.fc37.x86_64
  - conflicting requests
  - package ffmpeg-libs-6.0-6.fc38.i686 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-6.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-10.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - problem with installed package libavcodec-free-5.1.3-1.fc37.x86_64
  - 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
  - package ffmpeg-libs-6.0-10.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
  - nothing provides libopenh264.so.7 needed by ffmpeg-libs-6.0-10.fc38.i686
  - chromium-113.0.5672.63-1.fc37.x86_64 does not belong to a distupgrade repository
  - libavcodec-free-5.1.3-1.fc37.x86_64 does not belong to a distupgrade repository
 Problem 3: problem with installed package firefox-113.0-1.fc37.x86_64
  - conflicting requests
  - package ffmpeg-libs-6.0-6.fc38.i686 conflicts with libavformat-free provided by libavformat-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-6.fc38.x86_64 conflicts with libavformat-free provided by libavformat-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-10.fc38.x86_64 conflicts with libavformat-free provided by libavformat-free-6.0-2.fc38.x86_64
  - problem with installed package libavformat-free-5.1.3-1.fc37.x86_64
  - package libavformat-free-6.0-4.fc38.x86_64 requires libavcodec-free(x86-64) = 6.0-4.fc38, but none of the providers can be installed
  - 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
  - package ffmpeg-libs-6.0-10.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
  - firefox-113.0-1.fc37.x86_64 does not belong to a distupgrade repository
  - nothing provides libopenh264.so.7 needed by ffmpeg-libs-6.0-10.fc38.i686
  - libavformat-free-5.1.3-1.fc37.x86_64 does not belong to a distupgrade repository
Comment 3 leigh scott 2023-05-14 15:16:34 CEST
It appears fedora cisco repo isn't multiarch, openh264.i686 is missing.

https://codecs.fedoraproject.org/openh264/38/x86_64/os/Packages/o/

I will need to rebuild ffmpeg and drop openh264 support for ffmpeg-libs.i686.
Comment 5 Clodoaldo Pinto Neto 2023-05-14 22:17:26 CEST
(In reply to leigh scott from comment #4)
> https://mirror.netsite.dk/rpmfusion/free/fedora/updates/38/x86_64/repoview/
> ffmpeg.html

It is already catching 6.0.11 but the problem persists:

Error: 
 Problem 1: problem with installed package ffmpeg-free-5.1.3-1.fc37.x86_64
  - package ffmpeg-6.0-6.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-2.fc38.x86_64
  - package ffmpeg-6.0-6.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-4.fc38.x86_64
  - conflicting requests
  - package ffmpeg-6.0-11.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-2.fc38.x86_64
  - package ffmpeg-6.0-11.fc38.x86_64 conflicts with ffmpeg-free provided by ffmpeg-free-6.0-4.fc38.x86_64
  - ffmpeg-free-5.1.3-1.fc37.x86_64 does not belong to a distupgrade repository
 Problem 2: problem with installed package chromium-113.0.5672.63-1.fc37.x86_64
  - conflicting requests
  - package ffmpeg-libs-6.0-6.fc38.i686 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-6.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-11.fc38.i686 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-11.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-2.fc38.x86_64
  - problem with installed package libavcodec-free-5.1.3-1.fc37.x86_64
  - 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
  - package ffmpeg-libs-6.0-11.fc38.i686 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
  - package ffmpeg-libs-6.0-11.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
  - chromium-113.0.5672.63-1.fc37.x86_64 does not belong to a distupgrade repository
  - libavcodec-free-5.1.3-1.fc37.x86_64 does not belong to a distupgrade repository
 Problem 3: problem with installed package firefox-113.0-1.fc37.x86_64
  - conflicting requests
  - package ffmpeg-libs-6.0-6.fc38.i686 conflicts with libavformat-free provided by libavformat-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-6.fc38.x86_64 conflicts with libavformat-free provided by libavformat-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-11.fc38.i686 conflicts with libavformat-free provided by libavformat-free-6.0-2.fc38.x86_64
  - package ffmpeg-libs-6.0-11.fc38.x86_64 conflicts with libavformat-free provided by libavformat-free-6.0-2.fc38.x86_64
  - problem with installed package libavformat-free-5.1.3-1.fc37.x86_64
  - package libavformat-free-6.0-4.fc38.x86_64 requires libavcodec-free(x86-64) = 6.0-4.fc38, but none of the providers can be installed
  - 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
  - package ffmpeg-libs-6.0-11.fc38.i686 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
  - package ffmpeg-libs-6.0-11.fc38.x86_64 conflicts with libavcodec-free provided by libavcodec-free-6.0-4.fc38.x86_64
  - firefox-113.0-1.fc37.x86_64 does not belong to a distupgrade repository
  - libavformat-free-5.1.3-1.fc37.x86_64 does not belong to a distupgrade repository
Comment 6 leigh scott 2023-05-15 06:13:18 CEST
See the ffmpeg section

https://rpmfusion.org/CommonBugs


You need to purge fedora ffmpeg
Comment 7 Clodoaldo Pinto Neto 2023-05-15 11:50:14 CEST
(In reply to leigh scott from comment #6)
> See the ffmpeg section
> 
> https://rpmfusion.org/CommonBugs
> 
> 
> You need to purge fedora ffmpeg

I did:

dnf swap ffmpeg-free ffmpeg --allowerasing

and now it is downloading the packages