Estou fazendo uma nova instalação do spacewalk 2.7 e, ao executar
# yum -y install spacewalk-postgresql
recebo um erro:
--> 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
Alguma pista de como devo resolver isso?
O host é 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
Depois de remover group_spacewalkproject-java-packages-epel-7.repo (renomear group_spacewalkproject-java-packages-epel-7.repo para group_spacewalkproject-java-packages-epel-7.repo.not.used)
Agora, quando executo yum -y install spacewalk-postgresql
Eu recebo:
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
depois de desabilitar 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
e corro yum -y install spacewalk-postgresql
novamente eu recebo:
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
-------------------------------------------- Solução de problemas adicionais ---- ----- instalado:
c3p0-0.9.2.1-4.el7.noarch.rpm
cglib-2.2-18.el7.noarch.rpm
Manualmente, baixando para o host de destino e usando rpm -ivh <> para instalar os dois pacotes Agora, quando eu executo
yum -y install spacewalk-postgresql
Eu recebo um erro:
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.
Isto pode ser devido ao fato de que este host era um instantâneo de outro servidor de caminhada espacial. Precisa resolver ainda mais esse problema...
Responder1
Meu ambiente: Centos 64 bits 7 VMWare
Tenho o mesmo problema ao instalar a versão 2.7.
Por favor, olhe isto:
https://copr.fedorainfracloud.org/coprs/g/spacewalkproject/spacewalk-2.8/
Conforme sugerido/linkado aqui no github:
https://github.com/spacewalkproject/spacewalk/wiki/HowToInstall#installing-spacewalk
Excluí o repositório de caminhada espacial baseado em 2.7 e, no momento em que adicionei o repositório 2.8 do fedorainfracloud e executei uma "atualização yum", minhas instalações iniciais relacionadas à caminhada espacial foram atualizadas para 2.8.
Agora consegui prosseguir sem erros de dependência:
yum install spacewalk-postgresql
Mas com um erro diferente com o 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 corrigir esse erro, habilito e inicio o serviço Tomcat:
systemctl enable tomcat
systemctl start tomcat
/usr/sbin/spacewalk-service start
Então criei com sucesso o usuário no console da web da caminhada espacial: sucesso