On Sat, Oct 23, 2021 at 23:11:58 +0200,
Peter Boy <pboy(a)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.