Bug 2397579
| Summary: | file conflict between systemd-udev and systemd-networkd | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 42 | CC: | daan.j.demeyer, daniel, dtardon, fedoraproject, lnykryn, msekleta, suraj.ghimire7, systemd-maint, yuwatana, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemd-258.1-2.fc44 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-10-13 16:45:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Dan Horák
2025-09-23 07:02:56 UTC
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. |