Bug 2356903 - tmpwatch-0:2.11-27.fc41.x86_64 fails to install
Summary: tmpwatch-0:2.11-27.fc41.x86_64 fails to install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tmpwatch
Version: 42
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2361481 2381598 (view as bug list)
Depends On: 2341446
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-02 13:11 UTC by Mariusz
Modified: 2025-09-18 00:57 UTC (History)
6 users (show)

Fixed In Version: tmpwatch-2.11-29.fc42
Clone Of:
Environment:
Last Closed: 2025-09-18 00:57:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mariusz 2025-04-02 13:11:55 UTC
tmpwatch-0:2.11-27.fc41.x86_64 fails to install with error:
$ sudo dnf -y install tmpwatch
Updating and loading repositories:
Repositories loaded.
Package                                                  Arch          Version                                                  Repository                           Size
Installing:
 tmpwatch                                                x86_64        2.11-27.fc41                                             fedora                           65.8 KiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 35 KiB. Need to download 0 B.
After this operation, 66 KiB extra will be used (install 66 KiB, remove 0 B).
[1/1] tmpwatch-0:2.11-27.fc41.x86_64                                                                                             100% |   0.0   B/s |   0.0   B |  00m00s
>> Already downloaded                                                                                                                                                   

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                                                                      100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
Transaction failed: Rpm transaction failed.
  - file /usr/sbin/tmpwatch conflicts between attempted installs of tmpwatch-2.11-27.fc41.x86_64 and tmpwatch-2.11-27.fc41.x86_64

he package says it conflicts to install with itself. The reason is that now /usr/sbin is a symlink to /usr/bin and no longer a separate folder and tmpwatch tries to install its binary in both locations.

Reproducible: Always

Steps to Reproduce:
1. Fresh install on Fedora 42 latest Beta (Fedora-Everything-netinst-x86_64-42_Beta-1.4.iso)
2. Attempt to install tmpwatch package: sudo dnf -y install tmpwatch

Actual Results:  
$ sudo dnf -y install tmpwatch
Updating and loading repositories:
Repositories loaded.
Package                                                  Arch          Version                                                  Repository                           Size
Installing:
 tmpwatch                                                x86_64        2.11-27.fc41                                             fedora                           65.8 KiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 35 KiB. Need to download 0 B.
After this operation, 66 KiB extra will be used (install 66 KiB, remove 0 B).
[1/1] tmpwatch-0:2.11-27.fc41.x86_64                                                                                             100% |   0.0   B/s |   0.0   B |  00m00s
>> Already downloaded                                                                                                                                                   

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[1/1] Total                                                                                                                      100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
Transaction failed: Rpm transaction failed.
  - file /usr/sbin/tmpwatch conflicts between attempted installs of tmpwatch-2.11-27.fc41.x86_64 and tmpwatch-2.11-27.fc41.x86_64

Expected Results:  
Package should get installed.

Comment 1 kdg1955 2025-04-22 09:27:37 UTC
See also Bug 2361481

Comment 2 Marek Greško 2025-04-24 04:38:44 UTC
Hello,

this happens on systems with merged /usr/bin and /usr/sbin. If /usr/sbin is a symlink to /usr/bin, it fails like mentioned. If the directory /usr/sbin exists and the files inside are links to real files in /usr/bin, it works, since tmpwatch creates this in opposite. It creates the file in /usr/sbin and the symlink in /usr/bin. It should be fixed in tmpwatch.

Comment 3 kdg1955 2025-04-24 06:27:20 UTC
This is a duplicate bug report Bug 2361481, where I have posted a patch to fix the issue, but I am still waiting for a response. If you want, I can post it here as well.

For me it's high priority.

Comment 4 Petr Pisar 2025-07-17 11:10:51 UTC
*** Bug 2361481 has been marked as a duplicate of this bug. ***

Comment 5 Petr Pisar 2025-07-17 11:13:06 UTC
*** Bug 2381598 has been marked as a duplicate of this bug. ***

Comment 6 Jan ONDREJ 2025-07-17 11:27:43 UTC
Looks like @yselkowi fixed this in F43/rawhide.
Can you please build this for F42 too? This bug breaks bin/sbin merge in existing installs and breaks new installs with tmpwatch selected.

Comment 7 Kevin Fenzi 2025-09-09 22:33:55 UTC
I'm going to fix f42, it's finally annoyed me enough. ;)

Comment 8 Fedora Update System 2025-09-09 22:41:10 UTC
FEDORA-2025-b583600ec4 (tmpwatch-2.11-29.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b583600ec4

Comment 9 Fedora Update System 2025-09-10 01:58:01 UTC
FEDORA-2025-b583600ec4 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b583600ec4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b583600ec4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-09-18 00:57:15 UTC
FEDORA-2025-b583600ec4 (tmpwatch-2.11-29.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.