Transaction failed: Rpm transaction failed

,

I have Fedora 41 and when I try to upgrade to 42 I get an error.

Command used to update: sudo dnf system-upgrade download --releasever=42
The error showing:

Testing offline transaction
Transaction failed: Rpm transaction failed.
  - file /usr/share/terminfo/g/ghostty conflicts between attempted installs of ghostty-1.1.3-1.fc42.x86_64 and ncurses-term-6.5-5.20250125.fc42.noarch

you could try sudo dnf system-upgrade download --releasever=42 --allowerasing as a temporary workaround as mentioned here: Upgrading Fedora Linux Using DNF System Plugin :: Fedora Docs

The solution was to remove Ghostty and run it again: sudo dnf system-upgrade download --releasever=42

1 Like

Did you manage to install ghostty again after the upgrade? Had the same issue, and the upgrade went fine after uninstalling, but the conflict between ghostty and ncurses remains. The ncurses seems to come from fish in my case, which I also want to keep.

Edit:
Seems like it is not a fedora only problem, and hopefully will be fixed on the ghostty side.

Hello

I had the same problem upgrading to Fedora 42

So I removed the ghostty app only, upgraded and after all of that I used Terra repository, also recommended on ghostty webpage documentation, rather than pgdev repo.

https://ghostty.org/docs/install/binary#fedora

dnf install --nogpgcheck --repofrompath ‘terra,https://repos.fyralabs.com/terra$releasever’ terra-release
dnf install ghostty

The terra repo is considered bad as it replaces fedora provided system packages, it will also cause conflicts if used with rpmfusion repo.

Damn !!

I didn’t see anything about that, that’s strange Mr Mitchell Hashimoto’s documentation drives our distro to a bad behaviour.

Thanks for the info .