Bug 601628 - java_cup should depend on coreutils because postinstall script uses cat
java_cup should depend on coreutils because postinstall script uses cat
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: java_cup (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Lubomir Rintel
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-08 06:59 EDT by Albert Strasheim
Modified: 2010-12-04 05:52 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-12-04 05:52:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Albert Strasheim 2010-06-08 06:59:47 EDT
Description of problem:

java_cup postinstall script uses cat but package doesn't depend on coreutils.

It might make sense to fix rpm in general to detect this kind of problem at package build time.

Version-Release number of selected component (if applicable):

java_cup-0.11a-4

How reproducible:

Always.

Steps to Reproduce:
1. Install java_cup before installing coreutils
2.
3.
  
Actual results:

cat: command not found

Expected results:

postinstall script should work

Additional info:
Comment 1 Bruce Jerrick 2010-09-11 03:31:43 EDT
Not fixed in F14 Development yet (Sep 11, 2010).
Fix is trivial.

Here's a handy way to check for failure:

  grep -A1 "Installing java_cup-0" /root/install.log

Tip: This is a handy idiom to ferret out installatio errors:

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

-- Bruce Jerrick
Comment 2 Lubomir Rintel 2010-12-04 05:52:57 EST
Fixed.

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