Seremeth, Stephen wrote:
[root@myserver rh_es_4]# genhdlist --withnumbers --
fileorder /dist/rh_es_4/custom/pkgfile --
hdlist /dist/rh_es_4/custom/i386/RedHat/base/hdlist
/dist/rh_es_4/custom/i386
WARNING: ordering not found for j2sdk-1_4_2-linux-i586.rpm
WARNING: ordering not found for jdk-1_5_0_02-linux-i586.rpm
Notice Sun's RPMs do not follow standard RPM naming conventions. You
have to rename the RPMs to j2sdk-1_4_2-fcs.i586.rpm and jdk-1.5.0_02-
fcs.i586.rpm (run an rpm -qpi on the RPM and you'll see the SRPM
mentioned). You need the RPM name, version and release to match the
name, version and release inside the RPM :)
Brian -
You are a saviour. If I got paid double-time for the length of time it
took me to find the source of issues like this one, I would be quite
wealthy by now. Well, maybe not, but the bonus would be nice!
Renaming Sun's crappy RPMs fixed the problem. I'm not sure why Anaconda
is so finicky about this when they can be installed using rpm by itself,
but at this point I don't much care about that -- it's clear Sun isn't
following the standard (and that I should have caught this). I will
write Sun to complain even though I'm sure they won't fix it. Maybe
whomever is in charge of Anaconda development should consider this a
feature request for a better error message than "rpm transaction
failed"?
More detail for those who care/whom I might save any hassle:
jdk-1_5_0_02-linux-i586.rpm
[root@myserver rh_es_4]# rpm -qip my_rpms/jdk-1_5_0_02-linux-i586.rpm
Name : jdk Relocations: /usr/java
Version : 1.5.0_02 Vendor: Sun
Microsystems, Inc.
Release : fcs Build Date: Fri 04 Mar 2005
08:18:03 AM EST
Install Date: (not installed) Build Host: tiger-linux
Group : Development/Tools Source RPM:
jdk-1.5.0_02-fcs.src.rpm
Size : 80307553 License: Sun Microsystems
Binary Code License (BCL)
Signature : (none)
Packager : Java Software <j2se-comments@xxxxxxxxxxxx>
URL : http://java.sun.com/
Summary : Java(TM) 2 Platform Standard Edition Development Kit
Description :
The Java 2 Platform Standard Edition Development Kit (JDK) includes both
the
runtime environment (Java virtual machine, the Java platform classes and
supporting files) and development tools (compilers, debuggers, tool
libraries
and other tools).
The JDK is a development environment for building applications, applets
and
components that can be deployed with the Java 2 Platform Standard
Edition
Runtime Environment.
-----------------------------------
Had Sun named this file correctly it would have been (and is now on my
equipment):
jdk-1.5.0_02-fcs.i586.rpm
Following the standard convention which Brian so keenly noted:
<name>-<version>-<release>.<platform>.rpm
The same goes for Sun's previous jdk RPM (they can't even seem to make
up their mind about the name!):
j2sdk-1_4_2-linux-i586.rpm
[root@myserver rh_es_4]# rpm -qip my_rpms/j2sdk-1_4_2-linux-i586.rpm
Name : j2sdk Relocations: (not
relocatable)
Version : 1.4.2 Vendor: Sun Microsystems
Release : fcs Build Date: Fri 20 Jun 2003
05:52:19 AM EDT
Install Date: (not installed) Build Host:
localhost.localdomain
Group : Development/Tools Source RPM:
j2sdk-1.4.2-fcs.src.rpm
Size : 65687911 License: 1994-2001 Sun
Microsystems, Inc.
Signature : (none)
Packager : Java Software <j2se-comments@xxxxxxxxxxxx>
URL : http://java.sun.com/linux
Summary : Java(TM) 2 Software Development Kit, Standard Edition
Description :
The Java 2 SDK, Standard Edition includes the Java
Virtual Machine, core class libraries and tools used
by programmers to develop Java software applets and
applications. The SDK also provides the foundation
for IDE (Integrated Development Environment) tools
such as Sun's Forte for Java, Community Edition,
the Java(TM) 2 Platform, Enterprise Edition (J2EE),
Java-based application servers and more.
The Java 2 Software Development Kit, SDK, is a
development environment for building applications,
applets, and components that can be deployed on
the Java platform. The Java 2 SDK software includes
tools useful for developing and testing programs
written in the Java programming language and running
on the Java platform. These tools are designed to
be used from the command line. Except for
appletviewer, these tools do not provide a
graphical user interface.
---------------------------------------------------
So that rpm is now:
j2sdk-1.4.2-fcs.i586.rpm
And now the install is working -- at least as far as rpm installation is
concerned.
And I'm on to my next problem... Which is unrelated and much less of a
concern. Hope this thread saved someone some hassle.
Best Regards,
Steve
Steve -
Thanks for the tip, I appreciate it. I'm going to start doing something
similar very soon here, and this sure will make my job easier.
And even if I did get overtime, you can't have it. Sorry. How about a
case of beer, instead?
Thanks!
-dant