Red Hat Bugzilla – Bug 1469032
Fedora 25 upgrade to Fedora 26 needs allowerasing because of lz4
Last modified: 2017-07-11 06:09:44 EDT
Description of problem:
# dnf system-upgrade download --refresh --releasever=26
fails because of lz4-1.7.5-1.fc25.i686. Removing this package in Fedora 25 would result in removing lot of other packages too (see attached f25_remove_lz4.log ). On the other hand, upgrading with --allowerasing will remove lz4-1.7.5-1.fc25.i686 but not other packages (f25_26_allowerasing.log).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install lz4-1.7.5-1.fc25.i686
2. Try dnf system-upgrade download --refresh --releasever=26
Upgrading should work without --allowerasing.
I don't know Gnome Software upgrade behaviour in these cases, it might not work correctly?
Created attachment 1295762 [details]
Removing lz4 on Fedora 25
Created attachment 1295763 [details]
Upgrade with --allowerasing works fine
It seems lz4 used to be multilib and now it isn't, and that's why i686 version needs to be erased. I'm not sure if there's something that can be done using obsoletes that would improve this experience.
One should really search when submitting new bugs...
*** This bug has been marked as a duplicate of bug 1468821 ***
(In reply to Igor Gnatenko from comment #4)
> One should really search when submitting new bugs...
> *** This bug has been marked as a duplicate of bug 1468821 ***
I don't see what is duplicated here. The bug you've linked as duplicate is about "Old version of lz4 remains installed after upgrade" and that is further duplicate of "Upgrade is not working". This one is about "One should not need to run upgrade with --allowerasing".
Difference is clear if you read Expected results section in this report...