Bug 465441 - %post scriptlet failed for anaconda-runtime
%post scriptlet failed for anaconda-runtime
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda (Show other bugs)
5.3
All Linux
medium Severity medium
: rc
: ---
Assigned To: David Cantrell
Release Test Team
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2009-01-20 16:36:18 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 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):
anaconda-runtime-11.1.2.133-1

How reproducible:
Always

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


Expected results:
%post executes without error

Additional info:

postinstall scriptlet (using /bin/sh):
CATALOG=/etc/xml/catalog
/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
    CATALOG=/etc/xml/catalog
    /usr/bin/xmlcatalog --noout --del \
        "/usr/share/xml/comps/1.0/comps.dtd" $CATALOG
fi
|| :
Comment 1 Chris Lumens 2008-10-03 11:29:01 EDT
This should be fixed in anaconda-11.1.2.137-1.  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
release.
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.

http://rhn.redhat.com/errata/RHBA-2009-0164.html

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