I had the swift-lang package installed and just recently tried upgrading my machine and got this error: ``` Error: Transaction test error: file /usr/bin/swift from install of python3-swiftclient-4.4.0-3.fc40.noarch conflicts with file from package swift-lang-5.8.1-2.fc40.x86_64 file /usr/share/man/man1/swift.1.gz from install of python3-swiftclient-4.4.0-3.fc40.noarch conflicts with file from package swift-lang-5.8.1-2.fc40.x86_64 ``` python3-swiftclient was being installed for the first time on my machine in that transaction - I think due to duplicity being upgraded. It seems like an unrelated package that expects/installs a binary in the same location: https://packages.fedoraproject.org/pkgs/python-swiftclient/python3-swiftclient/fedora-40.html https://github.com/openstack/python-swiftclient https://docs.openstack.org/python-swiftclient/latest/cli/index.html#swift-usage FWIW: ``` $ dnf repoquery --whatrequires python3-swiftclient Last metadata expiration check: 0:31:41 ago on Sun 09 Jun 2024 09:39:10 PM PDT. duplicity-0:3.0.0-2.fc40.x86_64 python3-heatclient-0:3.3.0-3.fc40.noarch python3-swiftclient+keystone-0:4.4.0-3.fc40.noarch python3-troveclient-0:8.2.1-3.fc40.noarch ``` Reproducible: Always
Huh, that's a tricky problem. So you've had duplicity and swiftlang installed simultaneously until duplicity had this update?
This is fine on F39 because the other package doesn't get pulled in: $ dnf repoquery --whatrequires python3-swiftclient python3-heatclient-0:3.2.0-3.fc39.noarch python3-troveclient-0:8.1.0-2.fc39.noarch But via the deja-dup -> duplicity chain, we get it in F40; this causes a conflict if trying to run a dnf system-upgrade to F40.
I don't know why this is NEEDINFO on the reporter; it is easily reproduced: $ podman run --rm -it fedora:40 # dnf install -y swift-lang python3-swiftclient ... Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction test error: file /usr/bin/swift conflicts between attempted installs of swift-lang-6.0.1-1.fc40.x86_64 and python3-swiftclient-4.4.0-3.fc40.noarch cc'ing the python-swiftclient maintainers as well, as both of you must at-the-least add Conflicts but preferably avoid the conflict altogether (perhaps splitting python3-swiftclient into a library and binary package, will at least help the default case, but it's not perfect).
FEDORA-2024-0ce53e51ac (swift-lang-6.0.2-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-0ce53e51ac
FEDORA-2024-0ce53e51ac (swift-lang-6.0.2-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-24096895a4 (swift-lang-6.0.2-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-24096895a4
FEDORA-2024-4ef3e23eb6 (swift-lang-6.0.2-1.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-4ef3e23eb6
FEDORA-EPEL-2024-72ca3236a7 (swift-lang-6.0.2-1.el9) has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-72ca3236a7
FEDORA-2024-4ef3e23eb6 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4ef3e23eb6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4ef3e23eb6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-24096895a4 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-24096895a4` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-24096895a4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2024-72ca3236a7 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-72ca3236a7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-4ef3e23eb6 (swift-lang-6.0.2-1.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2024-24096895a4 (swift-lang-6.0.2-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2024-72ca3236a7 (swift-lang-6.0.2-1.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.