Hi Andreas,
if i remember correcly, you can install follow a few next steps
exactly in the given order:
1) rpm -e --nodeps jdk
2) rpm -e --nodeps java-1.5.0-sun-compat (if you have one)
3) yum -y install xml-commons-apis
4) yum install java-1.5.0-sun-compat (and jdk as dependences)
5) yum update
A problem you faced is, jdk provide xml-commons-apis but
w/o version, so yum will try to upgrade xml-commons-apis
and remove jdk, which is required for some other rpms.
On Tue, 24 Jun 2008, Andreas Petzold wrote:
> Hi,
>
> we've run into a bit of trouble with java/jdk during gLite 3.1 UI install on
> x86_64. We've enabled all the jpackage repos according to
>
> https://twiki.cern.ch/twiki/bin/view/LCG/GenericInstallGuide310#The_jpackage_and_java_repository
>
> Upon yum update we get the following error:
>
> [root@pktf05 ~]# yum update
> Loading "kernel-module" plugin
> Loading "protectbase" plugin
> Setting up Update Process
> Setting up repositories
> Reading repository metadata in from local files
> 6004 packages excluded due to repository protections
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package xerces-c.i386 0:2.7.0-1.2.el4.rf set to be updated
> ---> Package java-1.5.0-sun-compat.noarch 0:1.5.0.14-1.sl4.jpp set to be
> updated
> --> Running transaction check
> --> Processing Dependency: jdk = 2000:1.5.0_14-fcs for package:
> java-1.5.0-sun-compat
> --> Processing Dependency: jaxp_parser_impl for package: log4j
> --> Processing Dependency: xml-commons-apis for package: log4j
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package xml-commons-jaxp-1.3-apis.noarch 0:1.3.03-14.jpp5 set to be
> updated
> ---> Package crimson.noarch 0:1.1.3-17jpp set to be updated
> --> Running transaction check
> --> Processing Dependency: jdk = 2000:1.5.0_14-fcs for package:
> java-1.5.0-sun-compat
> --> Processing Dependency: xml-commons = 0:1.3.03-14.jpp5 for package:
> xml-commons-jaxp-1.3-apis
> --> Restarting Dependency Resolution with new changes.
> --> Populating transaction set with selected packages. Please wait.
> ---> Package xml-commons.noarch 0:1.3.03-14.jpp5 set to be updated
> --> Running transaction check
> --> Processing Dependency: jdk = 2000:1.5.0_14-fcs for package:
> java-1.5.0-sun-compat
> --> Finished Dependency Resolution
> Beginning Kernel Module Plugin
> Finished Kernel Module Plugin
> Error: Missing Dependency: jdk = 2000:1.5.0_14-fcs is needed by package
> java-1.5.0-sun-compat
> [root@pktf05 ~]# rpm -q jdk
> jdk-1.5.0_14-fcs.i586
>
> According to
>
> http://wiki.egee-see.org/index.php/SL4_WN_glite-3.1
>
> we are supposed to rebuild the rpms ourselves, well no problem - so we
> thought!
>
> We tried to follow the guide using jdk version 1.5.0_14, however the jpackage
> nosrc.rpm for version 1.5.0_14 does no longer exist. Instead, there is a
> nosrc.rpm for version 1.5.0_15 for which we can't find a jdk package from
> SUN. So we changed the spec file of the 1.5.0_15 nosrc.rpm to work with
> version 1.5.0_14 but then we hit a problem with the architecture. We are
> running SL4.6 x86_64 but we want to build the java rpm for i586. Now we are
> stuck. Maybe we have missed an important hint somewhere?
>
> Thanks for your help,
>
> Andreas, Thomas
>
Best regards,
Valery Mitsyn
|