Bug 632819

Summary: fedora-release-notes postinstall scriptlet fails
Product: [Fedora] Fedora Reporter: Bruce Jerrick <bmj001>
Component: fedora-release-notesAssignee: John J. McDonough <wb8rcr>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: david, dcantrell, eric, nb, stickster, wb8rcr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: fedora-release-notes-13.2-2.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-22 00:33:44 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 Bruce Jerrick 2010-09-11 07:27:23 UTC
Description of problem:
When installing F14, the 'fedora-release-notes' postinstall scriptlet will
fail unless 'coreutils' happens to get installed first -- the scriptlet uses
'touch' but has no Requires(post) for that.

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

How reproducible:
Will depend on the order of package installation.  I see it with both
a small (713 package) and large (2743 package) installation.

Steps to Reproduce:
1. Install F14, including the 'fedora-release-notes' package (and as little
   else as is feasible).
2. grep -A1 "Installing fedora-release-notes" /root/install.log

Actual results:
If 'coreutils' got installed after 'fedora-release-notes' (which may well
happen):

  Installing fedora-release-notes-13.2-1.fc14.noarch
  /var/tmp/rpm-tmp.kVBnIU: line 2: touch: command not found

Expected results:
No "command not found" error message.

Additional info:
This is a handy idiom to ferret out installation errors:

  grep -B1 -v '^Installing' /root/install.log

Comment 1 Jesse Keating 2010-09-13 15:47:47 UTC
neat.  Just needs a Requires(post): on coreutils.

Comment 2 Jesse Keating 2010-09-13 15:50:10 UTC
eek, unmarking assigned, I thought this was fedora-release and not fedora-release-notes.

Comment 3 John J. McDonough 2010-09-13 16:57:09 UTC
I'll go ahead and deal with this.  I want d-p-r to do this right.

Comment 4 Fedora Update System 2010-09-14 15:12:46 UTC
fedora-release-notes-13.95.0-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/fedora-release-notes-13.95.0-3.fc14

Comment 5 Fedora Update System 2010-09-14 15:37:23 UTC
fedora-release-notes-13.2-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/fedora-release-notes-13.2-2.fc13

Comment 6 Fedora Update System 2010-09-15 05:42:50 UTC
fedora-release-notes-13.2-2.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update fedora-release-notes'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/fedora-release-notes-13.2-2.fc13

Comment 7 Fedora Update System 2010-09-22 00:33:38 UTC
fedora-release-notes-13.2-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.