Error when upgrade fedora 36 to 37

Dear all,
When running command
sudo dnf system-upgrade download --releasever=37
Message error

Error:
Problem: problem with installed package mlocate-0.26-300.fc36.x86_64

  • package mlocate-0.26-301.fc37.x86_64 conflicts with plocate provided by plocate-1.1.16-2.fc37.x86_64
  • package plocate-1.1.16-2.fc37.x86_64 conflicts with mlocate provided by mlocate-0.26-301.fc37.x86_64
  • mlocate-0.26-300.fc36.x86_64 does not belong to a distupgrade repository
  • conflicting requests
    (try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages)

Hmm, from Googling, it looks like mlocate is supposed to be uninstalled when plocate is installed. That must not have happened in your case, and it looks like there’s a bug that had some recent activity around it?

https://bugzilla.redhat.com/show_bug.cgi?id=2052433

The easy fix is to remove the mlocate package, then upgrade. After the upgrade you can install the plocate package if desired.

The following did the trick for me:
➜ ~ sudo dnf system-upgrade download --releasever=37 --allowerasing

1 Like