Instale java, tomcat7 ou tomcat6 no RHEL5 centos5

0

Eu quero instalar o tomcat7 no centos5 no yum mas eu tenho

--> Finished Dependency Resolution
java-1.6.0-sun-compat-1.6.0.03-1jpp.i586 from jpackage-generic-nonfree has depsolving problems
--> Missing Dependency: jdk = 2000:1.6.0_03-fcs is needed by package java-1.6.0-sun-compat-1.6.0.03-1jpp.i586 (jpackage-generic-nonfree)
Error: Missing Dependency: jdk = 2000:1.6.0_03-fcs is needed by package java-1.6.0-sun-compat-1.6.0.03-1jpp.i586 (jpackage-generic-nonfree)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                    package-cleanup --dupes
                    rpm -Va --nofiles --nodigest

Eu já tentei com:

yum install java
yum install tomcat6
yum install tomcat7

tudo isso acaba com o mesmo problema de resolução de dependências.

Os repositórios ativados são:

[jpackage-generic]
name=JPackage (free), generic
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

[jpackage-rhel]
name=JPackage (free) for Red Hat Enterprise Linux $releasever
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=redhat-el-$releasever&type=free&release=5.0
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

[jpackage-generic-nonfree]
name=JPackage (non-free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic_nonfree_5.0.txt
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

# Updates

[jpackage-generic-updates]
name=JPackage (free), generic
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0-updates
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

[jpackage-rhel-updates]
name=JPackage (free) for Red Hat Enterprise Linux $releasever
mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=redhat-el-$releasever&type=free&release=5.0-updates
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

[jpackage-generic-nonfree-updates]
name=JPackage (non-free), generic
mirrorlist=http://www.jpackage.org/jpackage_generic_nonfree_5.0-updates.txt
failovermethod=priority
gpgcheck=1
gpgkey=http://www.jpackage.org/jpackage.asc
enabled=1

[jpackage-generic-6.0]
name=JPackage (free), generic
baseurl=http://mirrors.dotsrc.org/jpackage/6.0/generic/free/
gpgcheck=1
gpgkey=http://jpackage.org/jpackage.asc
enabled=1
    
por lrkwz 24.02.2014 / 17:22

1 resposta

1

Usar repositórios não oficiais irá causar sofrimento (OK, você já descobriu isso ;-). Verifique Pacotes Extra para Enterprise Linux ( EPEL ) ou Coleções de Software ( SC ) para o que você está procurando.

Você pode fazer um yum --disablerepo=* --enablerepo=jpackage-* clean metadata (procure na manpage) e tente novamente, se foi um hickup com o repositório, isso pode funcionar agora.

    
por 24.02.2014 / 20:12