Mailinglist Archive: opensuse (1555 mails)

< Previous Next >
Re: [opensuse] Re: zypper up of tomcat 6 fails - SOLVED
  • From: Dan Goodman <Dan.Goodman@xxxxxxxx>
  • Date: Wed, 01 Jul 2009 16:56:50 -0400
  • Message-id: <4A4BCD92.7010200@xxxxxxxx>
Joachim Schrod wrote:
Dan Goodman wrote:

Michael Schroeder wrote:

Sorry, bad advice. That deletes too many packages. It should read

rpm -e --nodeps tomcat6
zypper in tomcat6

Cheers,
Michael.



Tried that. 2nd step fails with:

The following NEW package is going to be installed:
tomcat6

Overall download size: 74.0 K. After the operation, additional 176.0 K
will be used.
Continue? [YES/no]: y
Retrieving package tomcat6-6.0.18-16.2.1.noarch (1/1), 74.0 K (176.0 K
unpacked)
Retrieving: tomcat6-6.0.18-16.2.1.noarch.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


You wrote that you didn't change any Tomcat config so far.
Then rm -rf /etc/tomcat6 before installing the package.

HTH,
Joachim


Thank you for all responses, but special thanks to you, Joachim.

That was exactly what was needed.

After your command, I repeated the rpm -e, which was unnecessary, but
harmless, then the zypper in tomcat6, which completed successfully this
time.

Problem solved.

Dan G.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >