Description of problem: when issuing dnf update, I get this message: [piero@fedora ~]$ su -c 'dnf update' Password: Last metadata expiration check: 0:11:50 ago on Sat 05 Feb 2022 08:52:49 PM CET. Dependencies resolved. =============================================================================================================================================================================================================================================== Package Architecture Version Repository Size =============================================================================================================================================================================================================================================== Upgrading: systemd-udev x86_64 248.10-1.fc34 updates 1.7 M Transaction Summary =============================================================================================================================================================================================================================================== Upgrade 1 Package Total size: 1.7 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] systemd-udev-248.10-1.fc34.x86_64.rpm: Already downloaded Running transaction check Transaction check succeeded. 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/coredumpctl from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system-generators/systemd-veritysetup-generator from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/remote-veritysetup.target from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/systemd-binfmt.service from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/systemd-homed.service from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/veritysetup-pre.target from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/veritysetup.target from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-binfmt from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-coredump from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-homed from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-portabled from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-sysctl from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-veritysetup from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/man/man8/systemd-coredump.8.gz from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/man/man8/systemd-veritysetup-generator.8.gz from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/man/man8/systemd-veritysetup@.service.8.gz from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/polkit-1/actions/org.freedesktop.home1.policy from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/polkit-1/actions/org.freedesktop.portable1.policy from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 Version-Release number of selected component (if applicable): [piero@fedora ~]$ dnf --version 4.9.0 Installed: dnf-0:4.9.0-1.fc34.noarch at Wed 06 Oct 2021 12:35:11 PM GMT Built : Fedora Project at Thu 23 Sep 2021 12:48:23 PM GMT Installed: rpm-0:4.16.1.3-1.fc34.x86_64 at Fri 23 Apr 2021 10:56:44 AM GMT Built : Fedora Project at Mon 22 Mar 2021 11:03:11 AM GMT How reproducible: type dnf update Steps to Reproduce: 1. open a command line 2. type dnf update 3. observe error Actual results: Error: Transaction test error: file /usr/bin/coredumpctl from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system-generators/systemd-veritysetup-generator from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/remote-veritysetup.target from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/systemd-binfmt.service from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/systemd-homed.service from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/veritysetup-pre.target from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/system/veritysetup.target from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-binfmt from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-coredump from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-homed from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-portabled from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-sysctl from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/lib/systemd/systemd-veritysetup from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/man/man8/systemd-coredump.8.gz from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/man/man8/systemd-veritysetup-generator.8.gz from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/man/man8/systemd-veritysetup@.service.8.gz from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/polkit-1/actions/org.freedesktop.home1.policy from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 file /usr/share/polkit-1/actions/org.freedesktop.portable1.policy from install of systemd-udev-248.10-1.fc34.x86_64 conflicts with file from package systemd-248.9-1.fc34.x86_64 Expected results: dnf does the update Additional info: dnf would not update at all, I had to issue dnf udpate --exclude systemd-udev, and now I'm stuck wuth systemd-udev which will not update
Thank you very much for the report. It looks like a problem between systemd-udev and systemd. They provides the same file therefore they must ansure that they will be installed in the same version. It can be achieved by adding a conflict in spec file. It requires modification in both rpm: systemd Conflicts: systemd-udev < %{version}-%{release} systemd-udev Conflicts: systemd < %{version}-%{release}
Oops. I just moved some files between the subpackages, and didn't think that this would cause problems. I added the Conflicts as suggested now, fingers crossed.
This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
FEDORA-2022-3ca356cd2e has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-3ca356cd2e
FEDORA-2022-3ca356cd2e has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-3ca356cd2e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-3ca356cd2e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-3ca356cd2e has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.