Upgrading to Fedora 40 pre-beta issue

So after issuing the following command I get the Error below. Any ideas how to solve?
sudo dnf system-upgrade download --releasever=40 --skip-broken --allowerasing

Error:
Problem: conflicting requests

  • package gstreamer1-plugins-bad-free-1.22.9-3.fc40.x86_64 from fedora requires libva.so.2()(64bit), but none of the providers can be installed
  • intel-media-driver-24.1.3-2.fc40.i686 from rpmfusion-nonfree does not belong to a distupgrade repository
  • package vlc-plugin-gstreamer-1:3.0.20-12.fc40.x86_64 from fedora requires gstreamer1-plugins-bad-free(x86-64), but none of the providers can be installed
  • package libva-intel-media-driver-24.1.3-1.fc40.i686 from fedora conflicts with intel-media-driver provided by intel-media-driver-24.1.3-2.fc40.x86_64 from rpmfusion-nonfree
  • package libva-intel-media-driver-24.1.3-1.fc40.x86_64 from fedora conflicts with intel-media-driver provided by intel-media-driver-24.1.3-2.fc40.x86_64 from rpmfusion-nonfree
  • libva-2.20.0-2.fc39.x86_64 from @System does not belong to a distupgrade repository
  • gstreamer1-plugins-bad-free-1.22.9-1.fc39.x86_64 from @System does not belong to a distupgrade repository

It looks very similar to this issue:

1 Like

Oh, and I’m running KDE atm. Wonder if the following bug mentioned on that thread has anything to do with it:

https://bugzilla.rpmfusion.org/show_bug.cgi?id=6861

You are attempting to upgrade to a version that is still branched (not yet even in Beta) so some other repos are not in sync.

You would probably need to revert to the basic fedora installed packages then do the upgrade. Those messages show that the rpmfusion repo is not fully up to date with F40 so is giving the errors.

Rpmfusion does their best to remain in sync with fedora but sometimes the timing just is not there.

You might add --allowerasing, --best, or --skip-broken as options for dnf to be able to move forward.

OK, just wanted to try kde 6, but guess i can try kde neon in a VM till F40 is released or Rpmfusion is in sync with a released beta version.

Ran the same command today and no errrors!!

ok, spoke to soon, following download of all packages i get:

error: Transaction test error:
file /usr/lib64/dri/iHD_drv_video.so conflicts between attempted installs of intel-media-driver-24.1.3-2.fc40.x86_64 and libva-intel-media-driver-24.1.3-3.fc40.x86_64

Did you do dnf -y system-upgrade download --releasever=40 --skip-broken --best --allowerasing
:thinking:

yes that’s the command i ran.

If you want to, you could do dnf swap It might fix that problem. . . But if it does not, you would need to revert that transaction using dnf history

Under the hood, dnf swap uses DNF’s --allowerasing option to resolve any package conflict issues

So what would be different to using --allowerasing

From Ask Fedora to Project Discussion

Added quality-team and removed beta, intel

This is/was being worked on at 2267713 – intel-media-driver-free inclusion in F40+ breaks system upgrades for users with media-driver in F<=39 . It’s a bit tricky because it requires changes to both Fedora and the third-party repository involved. @frantisekz are you aware people are still hitting problems here?

1 Like

Thanks for the ping, yes, this is still kind of expected. The fix is in rpmfusion already, but as far as I am aware, they’re doing pushes to their repositories every week or so, I’d expect it to go away around Monday.

The build fixing the issue is this one: intel-media-driver-24.1.3-3.fc40 ( intel-media-driver-24.1.3-3.fc40 | Build Info | koji )

1 Like

sudo dnf clean packages

0 files removed

How to clear the downloaded packages??

sudo dnf system-upgrade clean

REF: man dnf-system-upgrade

Thanks

Still same error, I’m guessing it still hasn’t been pushed through