File Conflict while upgrading F39->F40

Hey everyone.
I am currently on F39 KDE-Spin and want to use this Guide to upgrade to F40.
After downloading the Updates, two File Conflicts occur and i am not sure how to go about solving it.

sudo dnf system-upgrade download --releasever=40
...
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /etc/fonts/conf.d/11-lcdfilter-default.conf from install of fontconfig-2.15.0-4.fc40.x86_64 conflicts with file from package fontconfig-enhanced-defaults-2.0-1.fc38.noarch
  file /etc/fonts/conf.d/11-lcdfilter-default.conf from install of fontconfig-2.15.0-4.fc40.i686 conflicts with file from package fontconfig-enhanced-defaults-2.0-1.fc38.noarch

Can anyone give me some pointers on how i could go about solving this?

1 Like

This package is not in the Fedora repos—and it’s the F38 version even on your system. Can you please check where this package was installed from? rpm -qi fontconfig-enhanced-defaults should tell you.

In general, it should be safe to remove it and then proceed with the upgrade, but let’s just check where it came from first.

Thanks, i just remembered that i got that Package from some Copr Repo and i dont really need it.
Works now.

1 Like