Seems there is file conflict between systemd-udev and systemd-networkd. I have not experienced it myself, but my colleague got into the same situation as described https://discussion.fedoraproject.org/t/dnf-update-fails-due-to-file-conflict-in-systemd-networkd-between-installed-and-new-version/164520 ... Running transaction Transaction failed: Rpm transaction failed. - file /usr/lib/systemd/systemd-network-generator from install of systemd-networkd-257.9-2.fc42.x86_64 conflicts with file from package systemd-udev-257.7-1.fc42.x86_64 - file /usr/share/man/man8/systemd-network-generator.service.8.gz from install of systemd-networkd-257.9-2.fc42.x86_64 conflicts with file from package systemd-udev-257.7-1.fc42.x86_64 AFAICT the conflicting files are owned by both systemd-udev and systemd-networkd, so perhaps a transaction ordering issue? Reproducible: Always
I’m experiencing the same issue. I’m running `sudo dnf update`, and it wants to: ``` Transaction Summary: Installing: 7 packages Upgrading: 210 packages Replacing: 212 packages Removing: 5 packages ``` But it fails with this error: ``` Running transaction Transaction failed: Rpm transaction failed. - file /usr/lib/systemd/systemd-network-generator from install of systemd-networkd-257.9-2.fc42.x86_64 conflicts with file from package systemd-udev-257.7-1.fc42.x86_64 - file /usr/share/man/man8/systemd-network-generator.service.8.gz from install of systemd-networkd-257.9-2.fc42.x86_64 conflicts with file from package systemd-udev-257.7-1.fc42.x86_64 ``` I don't know how to solve this and get my system updated now.
/usr/lib/systemd/systemd-network-generator (and the corresponding man page) is in both packages for reasons (see #2328723). The transaction failure seen here appears because systemd-networkd is being updated while systemd-udev is not. That's the real problem. Btw, I don't see how this could be possible without dependency resolution errors, because both packages require libsystemd-shared-%{version}-%{release}.so (provided by systemd-libs). And given that the library is linked by the majority of systemd binaries (incl. generators), the most likely result of a "successful" update would be an unbootable system...
FEDORA-2025-3b0a59cb7e (systemd-258.1-2.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2025-3b0a59cb7e
I forgot to reply here… I added an explicit Conflicts: systemd-networkd < %{version}-%{release} Conflicts: systemd-udev < %{version}-%{release} in the two packages.
FEDORA-2025-3b0a59cb7e (systemd-258.1-2.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.