Bug 797415 - glassfish-jaf giving error during installation in kickstart
Summary: glassfish-jaf giving error during installation in kickstart
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.0.1
Hardware: x86_64
OS: Linux
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-25 17:39 UTC by Forrest Taylor
Modified: 2019-09-26 13:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 18:12:11 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Forrest Taylor 2012-02-25 17:39:35 UTC
I have setup a repository for System Engine and I install katello-all in kickstart.  During the installation, I see an error when installing glassfish-jaf:

Installing glassfish-jaf-1.1.0-9.el6.noarch
/var/tmp/rpm-tmp.AXfWcZ: line 4: cat: command not found

This error likely comes from the postinstall scriptlet:

rpm -q --scripts glassfish-jafpostinstall scriptlet (using /bin/sh):

echo -e "<dependencies>\n" > /etc/maven/maven2-depmap.xml
if [ -d /etc/maven/fragments ] && [ -n "`find /etc/maven/fragments -type f`" ]; then
cat /etc/maven/fragments/* >> /etc/maven/maven2-depmap.xml
fi
echo -e "</dependencies>\n" >> /etc/maven/maven2-depmap.xml
...

I also ran into other package issues installing in kickstart (see bug#795600 and bug#795602).

Comment 1 Forrest Taylor 2012-03-02 02:49:41 UTC
Just tested 2012-03-01.1 code drop.
katello-all-0.1.301-2.el6.noarch
glassfish-jaf-1.1.0-9.el6.noarch

I still have the same issue installing in kickstart

Comment 2 Justin Sherrill 2012-03-16 17:35:42 UTC
going by  https://bugzilla.redhat.com/show_bug.cgi?id=795602  i think just adding  coreutils as a Requires(post)  should do it.

Tried adding this and rebuilding in brew, but hit a build issue.  Gonna have to talk with a release engineer to sort it out.

Comment 4 Mike McCune 2013-08-16 18:22:19 UTC
getting rid of 6.0.0 version since that doesn't exist

Comment 5 Mike McCune 2013-09-19 18:12:11 UTC
These bugs have been resolved in upstream projects for a period of months so I'm mass-closing them as CLOSED:UPSTREAM.  If this is a mistake feel free to re-open.


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