Error: Paquete: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic) en la nueva instalación de caminata espacial 2.7

Error: Paquete: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic) en la nueva instalación de caminata espacial 2.7

Estoy realizando una instalación nueva de Spacewalk 2.7 y cuando lo ejecuto

# yum -y install spacewalk-postgresql

me sale error:

--> Finished Dependency Resolution
Error: Package: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
Requires: asm >= 1.5.3
Removing: asm-1.5.3-7.jpp5.noarch (@jpackage-generic)
asm = 1.5.3-7.jpp5
Obsoleted By: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
Not found
Error: Package: hibernate3-c3p0-3.6.10-20.sw.noarch (group_spacewalkproject-java-packages)
Requires: mvn(com.mchange:c3p0)
Error: Package: cglib-mvn-2.7.12-1.el7.centos.noarch (group_spacewalkproject-java-packages)
Requires: cglib = 2.2
Installed: cglib-2.1.3-4.jpp5.noarch (@jpackage-generic)
cglib = 2.1.3-4.jpp5
You could try using --skip-broken to work around the problem
YIu could try running: rpm -Va --nofiles --nodigest

¿Alguna idea de cómo debería resolver esto?

El host es Centos 7.4.1708 (núcleo)

# yum versionlock list
Loaded plugins: fastestmirror, versionlock
0:cglib-2.1.3-4.jpp5.*
0:c3p0-0.9.1.2-2.jpp5.*
versionlock list done

Después de eliminar group_spacewalkproject-java-packages-epel-7.repo (cambie el nombre de group_spacewalkproject-java-packages-epel-7.repo a group_spacewalkproject-java-packages-epel-7.repo.not.used)

Ahora cuando ejecuto yum -y install spacewalk-postgresql

Yo obtengo:

Error: Package: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3-ehcache >= 3.6.10
Error: Package: cglib-2.1.3-4.jpp5.noarch (jpackage-generic)
           Requires: asm >= 1.5.3
           Available: asm-1.5.3-7.jpp5.noarch (jpackage-generic)
               asm = 1.5.3-7.jpp5
Error: Package: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3 >= 3.6.10
           Available: hibernate3-3.2.4-1.SP1_CP01.9.jpp5.noarch (jpackage-generic)
               hibernate3 = 3.2.4-1.SP1_CP01.9.jpp5
Error: Package: spacewalk-taskomatic-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3-ehcache >= 3.6.10
Error: Package: spacewalk-taskomatic-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3-c3p0 >= 3.6.10
Error: Package: spacewalk-taskomatic-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3 >= 3.6.10
           Available: hibernate3-3.2.4-1.SP1_CP01.9.jpp5.noarch (jpackage-generic)
               hibernate3 = 3.2.4-1.SP1_CP01.9.jpp5
Error: Package: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3-c3p0 >= 3.6.10
Error: Package: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
           Requires: apache-commons-el
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

después de desactivar group_spacewalkproject-java-packages-epel-7.repo

[group_spacewalkproject-java-packages]
name=Copr repo for java-packages owned by @spacewalkproject
baseurl=https://copr-be.cloud.fedoraproject.org/results/@spacewalkproject/java-packages/epel-7-$basearch/
type=rpm-md
skip_if_unavailable=True
gpgcheck=1
gpgkey=https://copr-be.cloud.fedoraproject.org/results/@spacewalkproject/java-packages/pubkey.gpg
repo_gpgcheck=0
enabled=1
enabled_metadata=1

y ejecuto yum -y install spacewalk-postgresqlde nuevo me sale:

Error: Package: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3-ehcache >= 3.6.10
Error: Package: cglib-2.1.3-4.jpp5.noarch (jpackage-generic)
           Requires: asm >= 1.5.3
           Available: asm-1.5.3-7.jpp5.noarch (jpackage-generic)
               asm = 1.5.3-7.jpp5
Error: Package: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3 >= 3.6.10
           Available: hibernate3-3.2.4-1.SP1_CP01.9.jpp5.noarch (jpackage-generic)
               hibernate3 = 3.2.4-1.SP1_CP01.9.jpp5
Error: Package: spacewalk-taskomatic-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3-ehcache >= 3.6.10
Error: Package: spacewalk-taskomatic-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3-c3p0 >= 3.6.10
Error: Package: spacewalk-taskomatic-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3 >= 3.6.10
           Available: hibernate3-3.2.4-1.SP1_CP01.9.jpp5.noarch (jpackage-generic)
               hibernate3 = 3.2.4-1.SP1_CP01.9.jpp5
Error: Package: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
           Requires: hibernate3-c3p0 >= 3.6.10
Error: Package: spacewalk-java-2.7.116-1.el7.noarch (spacewalk)
           Requires: apache-commons-el
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

-------------------------------------- Más solución de problemas ---- ----- instalado:

c3p0-0.9.2.1-4.el7.noarch.rpm
cglib-2.2-18.el7.noarch.rpm

Manualmente descargándolo al host de destino y usando rpm -ivh <> para instalar ambos paquetes. Ahora, cuando ejecuto

yum -y install spacewalk-postgresql

me sale error:

Could not install /root/ssl-build/gss-spacewalk-2-prod.aws.uscis/rhn-org-httpd-ssl-key-pair-gss-spacewalk-2-prod.aws.xx-1.0-1.noarch.rpm at /usr/bin/rhn-install-ssl-cert.pl line 68.

Esto podría deberse al hecho de que este host era una instantánea de otro servidor de caminata espacial. Es necesario seguir resolviendo este problema...

Respuesta1

Mi entorno: Centos 64 bits 7 VMWare

Tengo el mismo problema cuando instalo la versión 2.7.

Por favor mira esto:

https://copr.fedorainfracloud.org/coprs/g/spacewalkproject/spacewalk-2.8/

Como se sugiere/vinculado aquí en github:

https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall#installing-spacewalk

Eliminé el repositorio de caminata espacial basado en 2.7 y luego, en el momento en que agregué el repositorio 2.8 de fedorainfracloud y realicé una "actualización yum", mis instalaciones iniciales relacionadas con la caminata espacial se actualizaron a 2.8.

Ahora pude continuar sin errores de dependencia:

yum install spacewalk-postgresql

éxito de la instalación

Pero con un error diferente con Tomcat:

Cobbler requires tftp and xinetd services be turned on for PXE provisioning functionality. Enable these services [Y]?
* Restarting services.
Tomcat failed to start properly or the installer ran out of tries.  Please check /var/log/tomcat6/catalina.out or /var/log/tomcat/catalina.$(date +%Y-%m-%d).log for errors.

Para corregir este error, habilito e inicio el servicio Tomcat:

systemctl enable tomcat
systemctl start tomcat
/usr/sbin/spacewalk-service start

Luego creé con éxito el usuario en la consola web de la caminata espacial: éxito

información relacionada