Fedora 42 to 44 upgrade fails because of python3-file-magic-5.46-10.fc44.noarch conflict

Hi, trying to follow Upgrading Fedora Linux Using DNF System Plugin page here Making sure you're not a bot! and when running dnf system-upgrade download --releasever=44 I get:

dnf system-upgrade download --releasever=44
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Package "vte-profile-0.80.5-1.fc42.x86_64" is already installed.
Packages for argument 'gnome-classic-session' available, but not installed.
Packages for argument 'nautilus' available, but not installed.
Packages for argument 'snapshot' available, but not installed.
Packages for argument 'gstreamer1-plugin-libav' available, but not installed.
Packages for argument 'gstreamer1-plugins-bad-free' available, but not installed.
Packages for argument 'vlc' available, but not installed.
Packages for argument 'mediawriter' available, but not installed.
Packages for argument 'x86-baremetal-tools' installed, but not available.
Packages for argument 'initial-setup-gui' available, but not installed.
Problem: package rpmlint-2.8.0-3.fc44.noarch from fedora requires python3.14dist(file-magic), but none of the providers can be installed
  - package python3-file-magic-5.46-10.fc44.noarch from updates conflicts with python3-magic provided by python3-magic-0.4.27-16.fc44.noarch from fedora
  - package python3-file-magic-5.46-9.fc44.noarch from fedora conflicts with python3-magic provided by python3-magic-0.4.27-16.fc44.noarch from fedora
  - problem with installed package
  - package diffoscope-317-1.fc44.x86_64 from updates requires python3.14dist(python-magic), but none of the providers can be installed
  - package diffoscope-312-1.fc44.x86_64 from fedora requires python3.14dist(python-magic), but none of the providers can be installed
  - diffoscope-300-1.fc42.x86_64 does not belong to a distupgrade repository
  - problem with installed package
  - rpmlint-2.8.0-2.fc42.noarch does not belong to a distupgrade repository
You can try to add to command line:
  --allowerasing to allow removing of installed packages to resolve problems

How can I get past this error? TIA

Try perhaps: dnf system-upgrade download --releasever=44 --exclude=python3-magic

Thanks for that, result:

dnf system-upgrade download --releasever=44 --exclude=python3-magic
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Package "vte-profile-0.80.5-1.fc42.x86_64" is already installed.
Packages for argument 'gnome-classic-session' available, but not installed.
Packages for argument 'nautilus' available, but not installed.
Packages for argument 'snapshot' available, but not installed.
Packages for argument 'gstreamer1-plugin-libav' available, but not installed.
Packages for argument 'gstreamer1-plugins-bad-free' available, but not installed.
Packages for argument 'vlc' available, but not installed.
Packages for argument 'mediawriter' available, but not installed.
Packages for argument 'x86-baremetal-tools' installed, but not available.
Packages for argument 'initial-setup-gui' available, but not installed.
Problem: problem with installed package
  - package diffoscope-317-1.fc44.x86_64 from updates requires python3.14dist(python-magic), but none of the providers can be installed
  - package diffoscope-312-1.fc44.x86_64 from fedora requires python3.14dist(python-magic), but none of the providers can be installed
  - diffoscope-300-1.fc42.x86_64 does not belong to a distupgrade repository
  - package python3-magic-0.4.27-16.fc44.noarch from fedora is filtered out by exclude filtering

Seems that the problem is with diffoscope that isn’t currently installable in F44:

dnf -q --assumeno --refresh install diffoscope
Failed to resolve the transaction:
Problem: conflicting requests
  - package diffoscope-317-1.fc44.x86_64 from updates requires python3.14dist(python-magic), but none of the providers can be installed
  - package diffoscope-312-1.fc44.x86_64 from fedora requires python3.14dist(python-magic), but none of the providers can be installed
  - problem with installed package
  - installed package python3-file-magic-5.46-10.fc44.noarch conflicts with python3-magic provided by python3-magic-0.4.27-16.fc44.noarch from fedora
  - package python3-file-magic-5.46-10.fc44.noarch from updates conflicts with python3-magic provided by python3-magic-0.4.27-16.fc44.noarch from fedora
  - package python3-file-magic-5.46-9.fc44.noarch from fedora conflicts with python3-magic provided by python3-magic-0.4.27-16.fc44.noarch from fedora
[...]

Its require should I guess be changed from python3.14dist(python-magic) to
python3.14dist(file-magic) using thus python3-file-magic instead of
python3-magic

In the meantime, you could remove diffoscope and proceed with the
system-upgrade (without --exclude)

Yes, after running rpm -e --nodeps diffoscope python3-file-magic I could resume the upgrade and I’m now running F44. Thank you.
The only annoying bit so far is: I lost the mouse middle click paste function :confused:

After installing gnome-tweaks and opening Tweaks to enable Middle Click Paste I got the functionality back. Weird choice to disable so ubiquitous functionality, just to have it reenabled by a new application that wasn’t previously installed. Fedora FTW :slight_smile:

I’ve used Linux for decades. Applications disappear for many reasons, including a) the sole developer is no longer able to maintain the appllication(s) they developed, b) the application relied on “mis-features” that have been removed for security or other reasons, or c) a newer application is available with advantages wanted by some users.