Get tomcat error when trying to upgrade

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
pspcrazy
Forum User
Forum User
Posts: 22
Joined: Thu Nov 03, 2005 8:31 pm

Get tomcat error when trying to upgrade

Unread post by pspcrazy »

Hi I get this when i try to upgrade:


Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package psa-tomcat-configurator needs mod_jk, this is not available.
Complete!


Any idea how to fix it, commands if possible since im a unix newbie.

Thanks
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

You get that with "yum upgrade"?
pspcrazy
Forum User
Forum User
Posts: 22
Joined: Thu Nov 03, 2005 8:31 pm

Unread post by pspcrazy »

Yea that's right yum upgrade is the command used.
pspcrazy
Forum User
Forum User
Posts: 22
Joined: Thu Nov 03, 2005 8:31 pm

Unread post by pspcrazy »

anyhelp anyone?
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

What OS? What version of Plesk? What versions of relevant packages installed?
Lemonbit Internet Dedicated Server Management
h4ck3r
Forum User
Forum User
Posts: 7
Joined: Thu May 15, 2008 3:12 pm

Unread post by h4ck3r »

OS CentOS 5.1
Plesk Version 8.6.0
plesk repo Enable
the problem is the updated httpd package from the CentOS maintainers.

Required by psa-tomcat-configurator package:

rpm -qR psa-tomcat-configurator
rpmlib(VersionedDependencies) <= 3.0.3-1
psa >= 8.4.0
tomcat5
tomcat5-admin-webapps
tomcat5-webapps
java
mod_jk
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1


Provided by mod_jk-ap20 package:

pm -q --provides mod_jk-ap20
mod_jk
mod_jk.so()(64bit)
mod_jk-ap20 = 1.2.15-42psa.cos5.build84080425.19


And here is the Problem, packages marked as obsolete by CentOS maintainers: :-(

rpm -q --obsoletes -p /var/cache/yum/updates/packages/httpd-2.2.3-11.el5_2.centos.4.x86_64.rpm
httpd-suexec
apache
secureweb
mod_dav
mod_gzip
stronghold-apache
stronghold-htdocs
mod_put
mod_roaming
mod_jk


The question is NOW, why is the package marked as obsolete? So, there are three choices:

1) Remove psa-tomcat-configurator if not needed.
2) Exclude httpd from update process.
3) Repackage httpd package (I think this is the way I will go :-) )
The httpd package obsoletes mod_jk because Apache httpd 2.2 comes with mod_proxy_ajp and this is the preferred Tomcat connector for use with Apache httpd 2.2. I think the solution should be Parallels reworking their Tomcat integration to use mod_proxy_ajp instead of mod_jk, at least for distributions that come with Apache httpd 2.2.
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Unread post by Highland »

rpm -e psa-tomcat-configurator
Assuming you don't use Tomcat, this is the quick and easy fix
Post Reply