Yum
Tomcat
CentOS5

CentOS5.9 で yum から tomcat7 が入らない

More than 3 years have passed since last update.


インストール手順

yum install yum-priorities -y

rpm -Uvh http://mirrors.dotsrc.org/jpackage/6.0/generic/free/RPMS/jpackage-release-6-3.jpp6.noarch.rpm
yum install tomcat7-webapps -y --nogpgcheck


エラー内容

Running rpm_check_debug

ERROR with rpm_check_debug vs depsolve:
rpmlib(FileDigests) is needed by apache-commons-logging-1.1.3-2.jpp6.noarch
rpmlib(PayloadIsXz) is needed by apache-commons-logging-1.1.3-2.jpp6.noarch
rpmlib(FileDigests) is needed by apache-commons-pool-tomcat5-1.5.7-1.jpp6.noarch
rpmlib(PayloadIsXz) is needed by apache-commons-pool-tomcat5-1.5.7-1.jpp6.noarch
rpmlib(FileDigests) is needed by apache-commons-daemon-1.0.15-1.jpp6.noarch
rpmlib(PayloadIsXz) is needed by apache-commons-daemon-1.0.15-1.jpp6.noarch
Complete!
(1, [u'Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&component=yum'])

上記のようなエラーがでるので、同様の現象で海外サイトを漁ってみたが該当PKGを yum remove したり yum clean all しても解決できなかった。。。

結局 tar.gz でインストールにする。

wget https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.54/bin/apache-tomcat-7.0.54.tar.gz

tar zxf apache-tomcat-7.0.54.tar.gz
mv apache-tomcat-7.0.54 /usr/share/tomcat7