Bug 684779 - Missing %post scriptlet dependencies
Summary: Missing %post scriptlet dependencies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: apg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-14 13:44 UTC by Panu Matilainen
Modified: 2011-03-14 17:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-14 17:01:00 UTC
Type: ---


Attachments (Terms of Use)

Description Panu Matilainen 2011-03-14 13:44:00 UTC
Description of problem:
apg unconditionally uses 'grep' in its %post scriptlet, but does not have a dependency for it. This can result in scriptlet failures during installation.

Version-Release number of selected component (if applicable):
At least apg-2.3.0b-10.fc15 (f15, rawhide)

How reproducible:
Always

Steps to Reproduce:
1. yum --disablerepo="*" --enablerepo=rawhide --installroot=/home/test -y install apg
  
Actual results:
  Installing : apg-2.3.0b-10.fc15.x86_64                                  12/12 
/var/tmp/rpm-tmp.CTwIig: line 2: grep: command not found

Expected results:
No warnings/errors during install.

Additional info:
"Requires(post): grep" (or /bin/grep) should be added to ensure grep is always present when %post is run.

Comment 1 Kevin Fenzi 2011-03-14 17:01:00 UTC
Fixed in rawhide. 

If you think this is worth fixing in other branches I can do that too... feel free to re-open.


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