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 -qi jre
Name : jre Relocations: /usr/java
Version : 1.6.0_20 Vendor: Sun Microsystems, Inc.
Release : fcs Build Date: Mon Apr 12 19:34:13 2010
Install Date: Thu May 6 06:36:17 2010 Build Host: jdk-lin-1586
Group : Development/Tools Source RPM: jre-1.6.0_20-fcs.src.rpm
Size : 50708634 License: Sun Microsystems Binary Code License (BCL)
Signature : (none)
Packager : Java Software <
[email protected]>
URL : http://java.sun.com/
Summary : Java(TM) Platform Standard Edition Runtime Environment
Description :
The Java Platform Standard Edition Runtime Environment (JRE) contains
everything necessary to run applets and applications designed for the
Java platform. This includes the Java virtual machine, plus the Java
platform classes and supporting files.
The JRE is freely redistributable, per the terms of the included license.
[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?