Mailinglist Archive: opensuse (1555 mails)

< Previous Next >
Re: [opensuse] zypper up of tomcat 6 fails
  • From: Andreas Jaeger <aj@xxxxxxxxxx>
  • Date: Wed, 1 Jul 2009 16:58:45 +0200
  • Message-id: <200907011658.46141.aj@xxxxxxxxxx>
On Wednesday 01 July 2009 16:50:25 Dan Goodman wrote:
I regularly patch my 11.1 o/s via "zypper ref -b" followed by "zypper up".

Usually everything goes fine. However, last night tomcat6 was one of the
proposed upgrades, and it failed.

This morning I repeated my usual procedure, and only tomcat6 was proposed.

When it ran, it failed with the message below.

Any ideas about how to proceed (info to gather, is it a config problem
on my end, etc.)?

Here is the dialog produced:

The following package is going to be upgraded:
tomcat6

Overall download size: 74.0 K. No additional space will be used or freed
after the operation.
Continue? [YES/no]: y
Retrieving package tomcat6-6.0.18-16.2.1.noarch (1/1), 74.0 K (176.0 K
unpacked)
Retrieving delta:
./rpm/noarch/tomcat6-6.0.18-16.1.1_16.2.1.noarch.delta.rpm, 26.0 K
Retrieving: tomcat6-6.0.18-16.1.1_16.2.1.noarch.delta.rpm [done]
Applying delta: ./tomcat6-6.0.18-16.1.1_16.2.1.noarch.delta.rpm [done]
Installing: tomcat6-6.0.18-16.2.1 [error]
Installation of tomcat6-6.0.18-16.2.1 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed:
error: unpacking of archive failed on file /etc/tomcat6/Catalina: cpio:
rename failed - Is a directory


Abort, retry, ignore? [A/r/i]:

Here is the state of files Cat* in /etc/tomcat:

crustacean:/etc/tomcat6 # ls -lad Cat*
drwxr-xr-x 3 tomcat tomcat 80 May 13 08:43 Catalina
lrwxrwxrwx 1 root root 27 Jun 30 11:05 Catalina;4a4a29a1 ->
/var/cache/tomcat6/Catalina
lrwxrwxrwx 1 root root 27 Jun 30 16:55 Catalina;4a4a7bc6 ->
/var/cache/tomcat6/Catalina
lrwxrwxrwx 1 root root 27 Jun 30 16:55 Catalina;4a4a7bdb ->
/var/cache/tomcat6/Catalina
lrwxrwxrwx 1 root root 27 Jul 1 10:36 Catalina;4a4b7455 ->
/var/cache/tomcat6/Catalina

Here is what is at /var/cache/tomcat6:
crustacean:/var/cache/tomcat6 # ls -lad .
drwxrwxr-x 3 root tomcat 72 May 10 13:21 .
crustacean:/var/cache/tomcat6 # ls -lad *
drwxrwxr-x 2 root tomcat 48 Feb 10 09:24 temp

The directory /var/cat/tomcat6/temp is empty.

Here is what I have installed relative to tomcat:

crustacean:/ # rpm -qa | grep -i tomcat
jakarta-commons-collections-tomcat5-3.2-88.13
tomcat6-docs-webapp-6.0.18-16.2.1
jakarta-commons-dbcp-tomcat5-1.2.2-88.17
struts-webapps-tomcat6-1.2.9-162.163.2
tomcat6-javadoc-6.0.18-16.2.1
tomcat6-lib-6.0.18-16.2.1
tomcat6-servlet-2_5-api-6.0.18-16.2.1
tomcat6-webapps-6.0.18-16.2.1
jakarta-commons-pool-tomcat5-1.3-1.108
tomcat6-jsp-2_1-api-6.0.18-16.2.1
tomcat6-6.0.18-16.1.1
tomcat6-admin-webapps-6.0.18-16.2.1

Hope this is the correct level of detail to include.

Any help/guidance will be appreciated.

Please open a bug report following the instructions given at
bugs.opensuse.org,

Thanks,
Andreas
--
Andreas Jaeger, Director openSUSE, aj@{novell.com,opensuse.org}
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126

< Previous Next >
References