Am 25.10.2021 um 20:31 schrieb Bruno Wolff III bruno@wolff.to:
On Sat, Oct 23, 2021 at 23:11:58 +0200, Peter Boy pboy@uni-bremen.de wrote:
I just tried to upgrade one of my test boxes F34 to F35 using dnf system-upgrade download --refresh --releasever=35
It failed at transaction test:
/usr/libexec/osbuild-composer/dnf-json (from Installation of) osbuild-composer-core-31-1.fc35.x86_64 ( collides with file from package) osbuild-composer-dnf-json-36-1.fc34.x86_64
This is probably a case where something moved from one subpackage to another and something else was messed up. It could be obsoletes weren't properly done or possibly some package couldn't be updated (perhaps because it has been dropped) and is pinning the older of the two packages with a file conflict.
When this happens during a system upgrade, I think it is best to do the majority of the upgrade and then fix up the packages that didn't get updated. So I would recommend excluding osbuild-composer-core from the upgrade (-x). If that doesn't block too many packages, then after the upgrade you can using dnf shell to remove osbuild-composer-dnf-json-36-1.fc34.x86_64 and add osbuild-composer-core-31-1.fc35.x86_64 in one transaction. If you can't get the above to work around the issue, then the next thing to try is removing osbuild-composer-dnf-json and note what got removed. Do the upgrade if you haven't already, and then add the removed packages back.
Thanks for the info. I startet with removing selected packages, but it got quite messy. So I decided to spend the time and to do a complete fresh install of F34 on my test box including KVM an a vm and tried an upgrade via dnf-plugin-system-upgrade again, but now with the new Beta 1.2. It worked fine.
I don’t know what went wrong with my first attempt. But now that it's worked, hopefully we won't have a massive problem upgrading servers.
Thanks Peter