Unable to upgrade from Fedora 37>38 via software package manager


I am unable to upgrade to F38 due to the following error:
Error running transaction:package: pkdg-fedora-repo-42.0-26.noarch is already installed.

Not sure what I can do ? I have tried doing the upgrade via the terminal but that fails too.

Please follow the steps outlined in https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/#sect-performing-system-upgrade

The package mentioned installs a postgres repo, right? Just remove the package and reinstall it after upgrade (or use postgresql from Fedora, see https://docs.fedoraproject.org/en-US/fedora-server/services/setup-postgresql/): sudo dnf remove pgdg-fedora-repo-42.0-26.

Please run the four commands one after another and report back with a specific error message.

Also show us the output of dnf repolist, you seem to have set up third party repos that may conflict or not provide f38 packages…

1 Like

so I ran the command to remove that package

sudo dnf remove pgdg-fedora-repo-42.0-26

and then tried the update via software package manager and all went thru . Replying back to this thread from my F38 :slightly_smiling_face:

Thank you!

Saw a similar message on fedora 38 > fedora 39 update. Only difference is I had a different version of the package. Uninstall before starting the fedora 39 upgrade worked.


Unfortunately using the software tool to perform upgrades seems to hide any messages that would be useful when trying to identify causes of failure.
The command line using dnf system-upgrade actually shows the required information.