complexlogic / rsgain

A simple, but powerful ReplayGain 2.0 tagging utility
Other
289 stars 21 forks source link

Cannot install: package conflict between ffmpeg free libs and ffmpeg libs (Fedora 38) #95

Closed thiasmad closed 1 year ago

thiasmad commented 1 year ago

I am on Fedora 38. Packages ffmpeg and ffmpeg-libs are installed. I can't install the free ffmpeg libraries as they are in conflict, consequently rsgain will not install. Is there any way I can point rsgain to the installed ffmpeg libraries somehow?

> sudo dnf install --allowerasing rsgain.rpm

Installing:
 rsgain                                                  x86_64                                      3.4-1                                               @commandline                                                 151 k
Installing dependencies:
 cjson                                                   x86_64                                      1.7.14-7.fc38                                       fedora                                                        31 k
 codec2                                                  x86_64                                      1.0.5-2.fc38                                        fedora                                                       641 k
 flite                                                   x86_64                                      2.2-5.fc38                                          fedora                                                        13 M
 game-music-emu                                          x86_64                                      0.6.3-11.fc38                                       fedora                                                       157 k
 libavc1394                                              x86_64                                      0.5.4-19.fc38                                       fedora                                                        55 k
 libavcodec-free                                         x86_64                                      6.0-5.fc38                                          updates                                                      4.1 M
 libavdevice-free                                        x86_64                                      6.0-5.fc38                                          updates                                                       90 k
 libavfilter-free                                        x86_64                                      6.0-5.fc38                                          updates                                                      1.5 M
 libavformat-free                                        x86_64                                      6.0-5.fc38                                          updates                                                      1.1 M
 libavutil-free                                          x86_64                                      6.0-5.fc38                                          updates                                                      339 k
 libdc1394                                               x86_64                                      2.2.6-9.fc38                                        fedora                                                       130 k
 libebur128                                              x86_64                                      1.2.6-5.fc38                                        fedora                                                        24 k
 libiec61883                                             x86_64                                      1.2.0-31.fc38                                       fedora                                                        40 k
 libpostproc-free                                        x86_64                                      6.0-5.fc38                                          updates                                                       49 k
 librabbitmq                                             x86_64                                      0.13.0-1.fc38                                       fedora                                                        43 k
 libraw1394                                              x86_64                                      2.1.2-17.fc38                                       fedora                                                        64 k
 librist                                                 x86_64                                      0.2.7-1.fc38                                        fedora                                                        77 k
 libswresample-free                                      x86_64                                      6.0-5.fc38                                          updates                                                       69 k
 libswscale-free                                         x86_64                                      6.0-5.fc38                                          updates                                                      190 k
 lpcnetfreedv                                            x86_64                                      0.2-13.fc38                                         fedora                                                       7.3 M
 mbedtls                                                 x86_64                                      2.28.5-1.fc38                                       updates                                                      396 k
Removing dependent packages:
 ffmpeg                                                  x86_64                                      6.0-11.fc38                                         @rpmfusion-free-updates                                      2.2 M
 ffmpeg-libs                                             x86_64                                      6.0-11.fc38                                         @rpmfusion-free-updates                                       21 M
 libavdevice                                             x86_64                                      6.0-11.fc38                                         @rpmfusion-free-updates                                      167 k
> ffmpeg -version

libavutil      58.  2.100 / 58.  2.100
libavcodec     60.  3.100 / 60.  3.100
libavformat    60.  3.100 / 60.  3.100
libavdevice    60.  1.100 / 60.  1.100
libavfilter     9.  3.100 /  9.  3.100
libswscale      7.  1.100 /  7.  1.100
libswresample   4. 10.100 /  4. 10.100
libpostproc    57.  1.100 / 57.  1.100
complexlogic commented 1 year ago

Your issue is the same as #85.

You have the RPM fusion build of FFmpeg installed which conflicts with the official Fedora build of FFmpeg that the rsgain Fedora package uses. You can't use the provided rsgain RPM package with the RPM fusion FFmpeg. Your options are as follows:

  1. Use the static build of rsgain I mentioned in https://github.com/complexlogic/rsgain/issues/85#issuecomment-1763775197
  2. Build rsgain from source yourself (Guide)
  3. Switch your system to use the official FFmpeg package instead of the RPM fusion one