Bug 84786 - postinstall scriptlet failed, exit status 127
postinstall scriptlet failed, exit status 127
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
9
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jonathan Blandford
:
Depends On: 84891
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-21 07:53 EST by Michael Schwendt
Modified: 2013-04-02 00:17 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-21 09:15:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Michael Schwendt 2003-02-21 07:53:24 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030206

Description of problem:
Fresh install of Phoebe 8.0.94. Wanted to add "gstreamer-devel" and "xmms-devel"
with up2date.

Post-install script in package "gstreamer" fails because package
"gstreamer-tools" is not installed first:

error: %post(gstreamer-0.6.0-4) scriptlet failed, exit status 127

$ rpm -q --qf "%{postin}\n" gstreamer
/sbin/ldconfig
env DISPLAY= /usr/bin/gst-register --gst-mask=0 > /dev/null 2> /dev/null

$ rpm -qf /usr/bin/gst-register 
gstreamer-tools-0.6.0-4

So, gstreamer can only be installed after gstreamer-tools. But up2date did
install in wrong order.

Steps to reproduce:

1. rpm -e gstreamer-devel xmms-devel gstreamer gstreamer-tools
2. up2date gstreamer-devel xmms-devel

-snip-

gstreamer-devel-0.6.0-4.i38 ########################## Done.
xmms-devel-1.2.7-19.p.i386. ########################## Done.
gstreamer-0.6.0-4.i386.rpm: ########################## Done.
gstreamer-tools-0.6.0-4.i38 ########################## Done.
Preparing              ###########################################
[100%]

Installing...
   1:gstreamer-devel
########################################### [100%]
   2:xmms-devel
########################################### [100%]
   3:gstreamer
########################################### [100%]
error: %post(gstreamer-0.6.0-4) scriptlet failed, exit status 127
   4:gstreamer-tools
########################################### [100%]
The following packages were added to your selection to satisfy
dependencies:

Name                                    Version        Release
--------------------------------------------------------------
gstreamer                               0.6.0          4
gstreamer-tools                         0.6.0          4
Comment 1 Michael Schwendt 2003-02-21 07:55:01 EST
Could also be a bug in up2date, because "gstreamer" requires "gstreamer-tools".
Comment 2 Michael Schwendt 2003-02-22 13:26:48 EST
RPM (rpm -ivh *.rpm) installs the packages in the correct order. up2date does not.
Comment 3 Adrian Likins 2003-02-24 14:25:42 EST
looks like a result of #84891, which should be fixed on 3.1.21
Comment 4 Matt Jamison 2003-05-21 09:15:27 EDT
verified to work with up2date-3.1.23-1
closing bug.

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