Upgrade from F41 to F42 fails due to gstreamer conflicts

Using the DNF plugin to upgrade my system as I normally do I have run into conflicts between gstreamer1-plugins-bad-freeworld and gstreamer1-plugins-bad. I didn’t explicitly want gstreamer1-plugins-bad-freeworld but the upgrade has decided to install it and it conflicts. Any advice on how to resolve this issue?

sudo dnf system-upgrade download --releasever=42 --allowerasing --best

Transaction failed: Rpm transaction failed.

  • file /usr/lib64/gstreamer-1.0/libgstde265.so conflicts between attempted installs of gstreamer1-plugins-bad-freeworld-1:1.26.0-1.fc42.x86_64 and gstreamer1-plugins-bad-1:1.26.0-1.fc42.x86_64
  • file /usr/lib64/gstreamer-1.0/libgstdvdspu.so conflicts between attempted installs of gstreamer1-plugins-bad-freeworld-1:1.26.0-1.fc42.x86_64 and gstreamer1-plugins-bad-1:1.26.0-1.fc42.x86_64
  • file /usr/lib64/gstreamer-1.0/libgstmpeg2enc.so conflicts between attempted installs of gstreamer1-plugins-bad-freeworld-1:1.26.0-1.fc42.x86_64 and gstreamer1-plugins-bad-1:1.26.0-1.fc42.x86_64
  • file /usr/lib64/gstreamer-1.0/libgstmplex.so conflicts between attempted installs of gstreamer1-plugins-bad-freeworld-1:1.26.0-1.fc42.x86_64 and gstreamer1-plugins-bad-1:1.26.0-1.fc42.x86_64
  • file /usr/lib64/gstreamer-1.0/libgstrtmp.so conflicts between attempted installs of gstreamer1-plugins-bad-freeworld-1:1.26.0-1.fc42.x86_64 and gstreamer1-plugins-bad-1:1.26.0-1.fc42.x86_64
  • file /usr/lib64/gstreamer-1.0/libgstx265.so conflicts between attempted installs of gstreamer1-plugins-bad-freeworld-1:1.26.0-1.fc42.x86_64 and gstreamer1-plugins-bad-1:1.26.0-1.fc42.x86_64

You have used a non compatible repo, the gstreamer1-plugins-bad isn’t provided by fedora and has replaced fedora provided files.

You need to either switch back to fedora gstreamer1-plugins-* packages and use rpmfusion or decide to use the bad repo and disable rpmfusion

Assuming you’re using RPMFusion, try this:

sudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-plugin

Per Howto/Multimedia - RPM Fusion

Alternatively, you might try uninstalling gstreamer1-plugins-bad(-freeworld) and reinstalling it after the upgrade.

It took a bit but I have got rid of it at last. Thanks

1 Like