kastner
(John Kastner)
August 9, 2025, 9:05pm
1
I am unable to upgrade from Fedora 41 to Fedora 42 due to conflicts.
Successfully performed
sudo dnf -y upgrade --refresh
sudo reboot
But the following fails:
sudo dnf -y system-upgrade download --releasever=42 --allowerasing --best
Explanation given was
Testing offline transaction
Transaction failed: Rpm transaction failed.
file /usr/bin/ifstat conflicts between attempted installs of ifstat-1.1-46.fc42.x86_64 and iproute-6.12.0-3.fc42.x86_64
Received the same failure without or without --allowerase and/or --best
For completeness of problem report, running on a Lenovo ThinkPad X1 Carbon Gen 8 with latest firmware. Been using machine successfully since Fedora 32.
This is the result of the merge of /usr/sbin into /usr/bin in Fedora 42.
F41:
$ rpm -qf /usr/sbin/ifstat
iproute-6.10.0-1.fc41.x86_64
$ rpm -qf /usr/bin/ifstat
ifstat-1.1-45.fc41.x86_64
F42:
$ rpm -qf /usr/bin/ifstat
iproute-6.12.0-3.fc42.x86_64
you will need to remove ifstat
first.
1 Like
kastner
(John Kastner)
August 9, 2025, 11:43pm
3
Thank you so much!
To be more explicit, I entered
sudo dnf -y remove ifstat
sudo dnf -y system-upgrade download --releasever=42 --allowerasing
sudo dnf5 offline reboot
So far, so good. No other problems detected. I greatly appreciate the fast response and simple fix.
1 Like
You can select Mark’s post as ‘solution’ if it solved your problem.