Bug 669296 - %post and %postun coreutils dependency missing
Summary: %post and %postun coreutils dependency missing
Keywords:
Status: CLOSED DUPLICATE of bug 633137
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-release-notes
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Paul W. Frields
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-13 08:54 UTC by Stefan Hoelldampf
Modified: 2013-01-10 06:24 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-07 13:36:05 UTC
Type: ---


Attachments (Terms of Use)

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 ***


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