Dnf upgrade to F35 transaction error

sudo dnf system-upgrade download --allowerasing --releasever=35

Error: Transaction test error:
  file /usr/lib/python3.10/site-packages/test/__pycache__/__init__.cpython-310.opt-1.pyc conflicts between attempted installs of python3-ansible-runner-2.0.0a1-3.fc35.noarch and python3-augeas-1.1.0-2.fc35.noarch
  file /usr/lib/python3.10/site-packages/test/__pycache__/__init__.cpython-310.pyc conflicts between attempted installs of python3-ansible-runner-2.0.0a1-3.fc35.noarch and python3-augeas-1.1.0-2.fc35.noarch

what can i do?

Looks like there is a packaging bug. File conflicts like that aren’t supposed to be allowed, but sometimes sneak through.

Unless you need it or something it depends on, I suggest removing one of the packages — probably python3-augeas temporarily.

2 Likes

Upgrade completes after removing python3-augeas and few other depended packages most of them related with abrt. After upgrade installed gnome-abrt but trying to install python3-augeas alone fails with the same error message.

We have a pending package update https://bodhi.fedoraproject.org/updates/FEDORA-2021-fbb19120f8 that should fix this specific problem, by the way. Thanks for the report!

1 Like