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.
Will do this in a bit, after I give people bit more time to look at this. I have not made any tomcat config changes yet, but just for drill, where are they stored? Is the following what I should be saving off, then restoring? crustacean:/etc/tomcat6 # ls -la total 107 drwxr-xr-x 3 root root 536 Jul 1 11:11 . drwxr-xr-x 192 root root 14984 Jul 1 10:03 .. 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 lrwxrwxrwx 1 root root 27 Jul 1 11:11 Catalina;4a4b7cb8 -> /var/cache/tomcat6/Catalina -rw-r--r-- 1 root root 8690 Feb 10 09:23 catalina.policy -rw-r--r-- 1 root root 3665 Feb 10 09:23 catalina.properties -rw-r--r-- 1 root root 1396 Feb 10 09:23 context.xml -rw-r--r-- 1 root root 3664 Feb 10 09:23 logging.properties -rw-r--r-- 1 root root 6460 Feb 10 09:23 server.xml -rw-rw---- 1 root tomcat 1107 Feb 10 09:23 tomcat-users.xml -rw-r--r-- 1 root root 1457 Feb 10 09:24 tomcat6.conf -rw-r--r-- 1 root root 50106 Feb 10 09:23 web.xml And should I manually remove the symlinks and not restore them, as I suspect? Also, the subdir Catalina appears to contain only package supplied files. I am correct that the local configs are confined to /etc/tomcat6 itself, with none in /etc/tomcat6/Catalina (assuming I had made any local configs)? crustacean:/etc/tomcat6/Catalina # ls -la * total 20 drwxr-xr-x 2 tomcat tomcat 248 May 13 08:43 . drwxr-xr-x 3 tomcat tomcat 80 May 13 08:43 .. -rw-r--r-- 1 tomcat tomcat 362 Jan 7 15:51 struts-blank.xml -rw-r--r-- 1 tomcat tomcat 378 Jan 7 15:51 struts-documentation.xml -rw-r--r-- 1 tomcat tomcat 366 Jan 7 15:51 struts-example.xml -rw-r--r-- 1 tomcat tomcat 368 Jan 7 15:51 struts-examples.xml -rw-r--r-- 1 tomcat tomcat 390 Jan 7 15:51 struts-tiles-documentation.xml And lastly, I have been replying only to the list. If anyone wants me to include them with direct replies, please let me know and I will do so. Dan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org