Michael Schroeder wrote:
On Wed, Jul 01, 2009 at 05:04:00PM +0200, Michael Schroeder wrote:
On Wed, Jul 01, 2009 at 10:50:25AM -0400, 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.)?
The update is broken, it tries to replace a directory with a symlink. Unfortunately that's an operation that rpm doesn't support.
zypper rm tomcat6 zypper in tomcat6
should do the trick. (But save your tomcat configuration changes first.)
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 Abort, retry, ignore? [A/r/i]: A Problem occured during or after installation or removal of packages: Installation aborted by user Please see the above error message for a hint. Looks like I still have remnants of the failed upgrade that are in the way. When time permits again, I will try removing all the symbolic links, then repeat, unless someone says I should do something else. Also, I'm still unclear as to whether or not the reopening of the bug as mentioned earlier takes away the need for a bug report from me, or if you'd still like one. Dan G. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org