At 03:21 PM 2/27/2006, Jim Perrin wrote:
On 2/27/06, Robert Moskowitz rgm@htt-consult.com wrote:
I am getting the following errors and don't know how/what to check to learn which rpm they are in...
---> Package java-1.4.2-sun-devel.i586 0:1.4.2.10-1jpp set to be updated ---> Package java-1.4.2-sun.i586 0:1.4.2.10-1jpp set to be updated --> Running transaction check --> Processing Dependency: libjvm.so(SUNWprivate_1.1) for package: java-1.4.2-sun --> Processing Dependency: libnet.so(SUNWprivate_1.1) for package: java-1.4.2-sun --> Processing Dependency: libjava.so(SUNWprivate_1.1) for package: java-1.4.2-sun --> Processing Dependency: libverify.so(SUNWprivate_1.1) for package: java-1.4.2-sun --> Finished Dependency Resolution Error: Missing Dependency: libjvm.so(SUNWprivate_1.1) is needed by package java-1.4.2-sun Error: Missing Dependency: libnet.so(SUNWprivate_1.1) is needed by package java-1.4.2-sun Error: Missing Dependency: libjava.so(SUNWprivate_1.1) is needed by package java-1.4.2-sun Error: Missing Dependency: libverify.so(SUNWprivate_1.1) is needed by package java-1.4.2-sun
This is a jpackage issue, and is specific to their rpms. I assume you rebuilt their nosrc rpm for sun java. If this is the case, it's a bug with internal java dependency tracking. rpm -qpl the rebuilt rpms to see that libjava.so, libnet.so etc are there. If they are, then you can safely (THIS TIME ONLY) install with --nodeps. Since this is a jpackage issue, you might want to ask them about it, as they may have a more authoritative answer.
I get:
rpm -qpl java-1.4.2-sun-1.4.2.10-1jpp.i586.rpm | grep "libjava.so" /usr/lib/jvm/java-1.4.2-sun-1.4.2.10/jre/lib/i386/libjava.so
So does that mean that it is on my system and something is not going right with this rpm when I do a yum -y install?
I could not figure out what google was telling me. Nor that rpmfind site. I will see what the jpackage people have to say.
See https://www.zarb.org/pipermail/jpackage-discuss/2005-April/007836.html for further info. (google should be your friend)
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
rpm -qpl java-1.4.2-sun-1.4.2.10-1jpp.i586.rpm | grep "libjava.so" /usr/lib/jvm/java-1.4.2-sun-1.4.2.10/jre/lib/i386/libjava.so
So does that mean that it is on my system and something is not going right with this rpm when I do a yum -y install?
No, this means the file is in that package and you're getting a circular dependency. This is is a common problem with jpackage rpms (you read the link I sent right?). yum won't fix this, because it's an internal dependency problem with rpm and java binaries. Seek help from the jpackage kids. They've dealt with this enough to help out better than I can.
-- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775
On 27/02/06, Jim Perrin jperrin@gmail.com wrote:
rpm -qpl java-1.4.2-sun-1.4.2.10-1jpp.i586.rpm | grep "libjava.so" /usr/lib/jvm/java-1.4.2-sun-1.4.2.10/jre/lib/i386/libjava.so
So does that mean that it is on my system and something is not going right with this rpm when I do a yum -y install?
No, this means the file is in that package and you're getting a circular dependency. This is is a common problem with jpackage rpms (you read the link I sent right?). yum won't fix this, because it's an internal dependency problem with rpm and java binaries. Seek help from the jpackage kids. They've dealt with this enough to help out better than I can.
For the archives, I bumped against this when I built the same RPMs as Robert is but forgot to document the workaround. You need to manually fulfill those dependencies in the java-1.4.2-sun.spec before building...
[root@webserv1 SPECS]# rcsdiff -r1.1 java-1.4.2-sun.spec =================================================================== RCS file: RCS/java-1.4.2-sun.spec,v retrieving revision 1.1 diff -r1.1 java-1.4.2-sun.spec 71a72,75
Provides: libjava.so(SUNWprivate_1.1) Provides: libjvm.so(SUNWprivate_1.1) Provides: libnet.so(SUNWprivate_1.1) Provides: libverify.so(SUNWprivate_1.1)
[root@webserv1 SPECS]#
Will.