Sun-JRE on CentOS-4.8 RPM error: post-install scriptlet failed, exit status 5
Posted
by Emyr
on Server Fault
See other posts from Server Fault
or by Emyr
Published on 2010-05-06T10:46:22Z
Indexed on
2010/05/06
10:48 UTC
Read the original article
Hit count: 654
I have a server with CentOS 4.8 installed. The provided is rubbish, but there's only a few months left, and they're busy being sued by Chase bank, so I doubt I can get CentOS 5.
I wiped the server clean using Virtuozzo, and found that the default image is VERY empty. I even had to install yum myself.
I've reached the point where I want to install TomCat. I downloaded the Sun JRE as a .rpm.bin file, did chmod a+x and ran it. That produced a .rpm file, which I tried installing:
[root@host java]# rpm -Uvh jre-6u20-linux-i586.rpm
Preparing... ########################################### [100%]
1:jre ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
error: %post(jre-1.6.0_20-fcs.i586) scriptlet failed, exit status 5
[root@host java]# rpm -evv jre-6u20-linux-i586.rpm
D: opening db environment /var/lib/rpm/Packages joinenv
D: opening db index /var/lib/rpm/Packages rdonly mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Name rdonly mode=0x0
error: package jre-6u20-linux-i586.rpm is not installed
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm/Packages
[root@host java]# rpm -qi --scripts jre-6u20-linux-i586.rpm
package jre-6u20-linux-i586.rpm is not installed
[root@host java]#
I couldn't find any results on Google for any parts of that error message, and I have very little experience of rpm (I usually use Debian).
Is this a broken package, or am I missing something or some setting?
© Server Fault or respective owner