Bug 2381598
| Summary: | tmpwatch-2.11-27.fc41.x86_64 cannot be installed in Fedora 42: file /usr/sbin/tmpwatch conflicts | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan> | ||||||
| Component: | tmpwatch | Assignee: | Jiri Kucera <jkucera> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 42 | CC: | jan, jkucera, jonathan, nsella, pkratoch, ppisar, rpm-software-management | ||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-07-17 11:13:06 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jan Kratochvil
2025-07-17 08:03:30 UTC
Created attachment 2097443 [details]
existing installed packages list
Created attachment 2097444 [details]
Packages to install by "dnf install"
dnf5-5.2.13.1-1.fc42.x86_64 It is enough to run: dnf install tmpwatch I can reproduce it dnf5-5.2.15.0-1.fc42.x86_64. The cause is a tmpwatch-2.11-27.fc41.x86_64 package being incompatible with a merge of /usr/bin and /usr/sbin in Fedora 42 <https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin>: # rpm -qlvp tmpwatch-2.11-27.fc41.x86_64.rpm | grep bin lrwxrwxrwx 1 root root 23 Jul 20 2024 /usr/bin/tmpwatch -> ../../usr/sbin/tmpwatch lrwxrwxrwx 1 root root 29 Jul 20 2024 /usr/lib/.build-id/b6/03e4877f7392598ea02f15eb879e45a7d003bc -> ../../../../usr/sbin/tmpwatch -rwxr-xr-x 1 root root 36712 Jul 20 2024 /usr/sbin/tmpwatch The package wants to install /usr/sbin/tmpwatch and /usr/bin/tmpwatch. Because /usr/sbin is a symbolic link to /usr/bin, rpm actually attempts installing /usr/bin/tmpwatch regular file and /usr/bin/tmpwatch symlink. Two files of the same path. You will get the same error with plain rpm tool: # rpm --install tmpwatch-2.11-27.fc41.x86_64.rpm file /usr/sbin/tmpwatch conflicts between attempted installs of tmpwatch-2.11-27.fc41.x86_64 and tmpwatch-2.11-27.fc41.x86_64 tmpwatch needs rebuilding. OK, I have filed it also for rdist as https://bugzilla.redhat.com/show_bug.cgi?id=2381693 . *** This bug has been marked as a duplicate of bug 2356903 *** |