Upgrade Fedora 38 error with ghdl and libgnat


When I run:

sudo dnf system-upgrade download --releasever=38

then a error occurs:
Problem: problem with installed package ghdl-0.38~dev-16.20201208git83dfd49.fc37.x86_64

  • package ghdl-0.38~dev-16.20201208git83dfd49.fc37.x86_64 requires libgnat-12.so()(64bit), but none of the providers can be installed
  • libgnat-12.2.1-4.fc37.x86_64 does not belong to a distupgrade repository
    (try to add ‘–skip-broken’ to skip uninstallable packages)

I have installed libgnat, why?

Please help me resolve it, thanks.

this i a ghdl package error, I removed ghdl, dnf upgrade can go on.

There is a packaging issue with ghdl in fedora 38 ( see : 2161618 – F38FailsToInstall: ghdl, ghdl-llvm, ghdl-mcode ). If you need ghdl with fedora 38, a workaround is to download the rpm of libgnat package of fedora 37 manually :

go to https://fedora.pkgs.org/37/fedora-updates-x86_64/libgnat-12.3.1-1.fc37.x86_64.rpm.html , look into the download section and download the package binary. Then, install the rpm with your package manager.

After that you should be able to reinstall ghdl normally with dnf.