Bug 465441 - %post scriptlet failed for anaconda-runtime
%post scriptlet failed for anaconda-runtime
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: rc
: ---
Assigned To: David Cantrell
Release Test Team
Depends On:
  Show dependency treegraph
Reported: 2008-10-03 07:00 EDT by Alexander Todorov
Modified: 2009-01-20 16:36 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-20 16:36:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexander Todorov 2008-10-03 07:00:29 EDT
Description of problem:
errors when installing anaconda-runtime

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

How reproducible:

Steps to Reproduce:
1. Do @everything install (or only anaconda-runtime)
Actual results:
Installing anaconda-runtime-
/var/tmp/rpm-tmp.25115: line 8: syntax error near unexpected token `||'
/var/tmp/rpm-tmp.25115: line 8: `|| :'
error: %post(anaconda-runtime- scriptlet failed, exit status 2

Expected results:
%post executes without error

Additional info:

postinstall scriptlet (using /bin/sh):
/usr/bin/xmlcatalog --noout --add "rewriteSystem" \
    "comps.dtd" \
    "/usr/share/xml/comps/1.0/comps.dtd" $CATALOG
/usr/bin/xmlcatalog --noout --add "rewriteURI" \
    "comps.dtd" \
    "/usr/share/xml/comps/1.0/comps.dtd" $CATALOG
|| :

postuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
    /usr/bin/xmlcatalog --noout --del \
        "/usr/share/xml/comps/1.0/comps.dtd" $CATALOG
|| :
Comment 1 Chris Lumens 2008-10-03 11:29:01 EDT
This should be fixed in anaconda-  Thanks for the bug report.
Comment 2 RHEL Product and Program Management 2008-10-03 11:45:04 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 7 errata-xmlrpc 2009-01-20 16:36:18 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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