Bug#522992: solr-tomcat5.5: breaks tomcat5.5 install
Antoine Beaupre
anarcat at solr.koumbit.net
Tue Apr 7 19:05:04 UTC 2009
Package: solr-tomcat5.5
Version: 1.2.0+ds1-3
Severity: important
The solr package creates a broken link in the tomcat policy.d directory before postinst:
solr:/etc/solr# ls -l /etc/tomcat5.5/policy.d/05solr.policy
lrwxrwxrwx 1 tomcat55 adm 24 Apr 7 14:52 /etc/tomcat5.5/policy.d/05solr.policy -> ../../solr/tomcat.policy
solr:/etc/solr# ls
conf solr-tomcat5.5.xml.dpkg-new tomcat.policy.dpkg-new web.xml
This creates an error in tomcat configuration, which in turns breaks the solr install:
After this operation, 0B of additional disk space will be used.
Setting up tomcat5.5 (5.5.26-5) ...
Starting Tomcat servlet engine: tomcat5.5cat: /etc/tomcat5.5/policy.d/05solr.policy: No such file or directory
invoke-rc.d: initscript tomcat5.5, action "start" failed.
dpkg: error processing tomcat5.5 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of solr-tomcat5.5:
solr-tomcat5.5 depends on tomcat5.5 (>= 5.5.20); however:
Package tomcat5.5 is not configured yet.
dpkg: error processing solr-tomcat5.5 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tomcat5.5
solr-tomcat5.5
A simple workaround is to copy those .dpkg-new files in place and restart apt-get install.
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable'), (2, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.18-6-vserver-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages solr-tomcat5.5 depends on:
ii solr-common 1.2.0+ds1-3 enterprise search server based on
pn tomcat5.5 <none> (no description available)
solr-tomcat5.5 recommends no packages.
solr-tomcat5.5 suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list