Bug 669296

Summary: %post and %postun coreutils dependency missing
Product: [Fedora] Fedora Reporter: Stefan Hoelldampf <stefan.hoelldampf>
Component: fedora-release-notesAssignee: Paul W. Frields <stickster>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: bruno, david, dcantrell, dennis, eric, jfrieben, pfrields, stickster, wb8rcr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-07 13:36:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Stefan Hoelldampf 2011-01-13 08:54:27 UTC
Description of problem:
The installation of fedora-release-notes fails when running the %post and %postun scripts, if "touch" is missing.

I think the following lines have to be added to the spec file:
Requires(post): coreutils
Requires(postun): coreutils

Version-Release number of selected component (if applicable):
fedora-release-notes-14.1.2-1.fc14.noarch

How reproducible:
Install a minimum setup using yum into a directory.

Steps to Reproduce:
1. yum --installroot=/temp/dir --releasever=14 groupinstall Base
2.
3.
  
Actual results:
Installing   : fedora-release-notes-14.1.2-1.fc14.noarch   21/361
/var/tmp/rpm-tmp.qh8rtW: line 2: touch: command not found

Expected results:
No errors

Additional info:

Comment 1 Stefan Hoelldampf 2011-01-16 10:23:40 UTC
"Requires(post): coreutils" has been added to the f13/master branch (see #632819 and #633137), but it something related is definitely missing for f14 and rawhide.

Comment 2 Stefan Hoelldampf 2011-01-16 17:48:45 UTC
This is even more mysterious:
The initial F14 package fedora-release-notes-14.0.3-1.fc14.noarch still depends on coreutils, but not the current update package fedora-release-notes-14.1.2-1.fc14.noarch.

Comment 3 Bruno Wolff III 2011-02-12 21:45:30 UTC
I still seeing this with fedora-release-notes-14.1.2-1.fc15.noarch. There are no requires of any kind in the spec file. As the initial reporter indicated, this package needs Requires(post): coreutils and Requires(postun): coreutils to use touch in the postinstall and postuninstall scripts.

Comment 4 Joachim Frieben 2011-03-04 21:02:28 UTC
*** This is a duplicate of bug 633137 ***

Comment 5 Paul W. Frields 2011-03-07 13:36:05 UTC

*** This bug has been marked as a duplicate of bug 633137 ***