Public bug reported: I just installed solr-tomcat5.5 from Hardy. Since it depends on tomcat5.5, tomcat5.5 was also installed. However the installation failed because Tomcat can't start:
[...] Setting up tomcat5.5 (5.5.25-1ubuntu1) ... * Starting Tomcat servlet engine tomcat5.5 cat: /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): [...] Investigating, I found /etc/tomcat5.5/policy.d/05solr.policy is a symlink to ../../solr/tomcat.policy (/etc/solr/tomcat.policy) and indeed, /etc/solr/tomcat.policy does not exist. According to the filelist it should: http://packages.ubuntu.com/hardy/all/solr-tomcat5.5/filelist However /etc/solr contains tomcat.policy.dpkg-new instead. My guess is that once solr-tomcat5.5 is configured, tomcat.policy.dpkg- new will be renamed tomcat.policy, but it won't be configured until tomcat5.5 is installed, which fails because the init script fails because tomcat.policy.dpkg-new has not yet been renamed. Which is sort of a chicken and egg problem. The following manual intervention made the problem go away: % sudo cp tomcat.policy.dpkg-new tomcat.policy Thanks for maintaining Solr in Ubuntu, Jack ** Affects: solr (Ubuntu) Importance: Undecided Status: New -- [hardy] installation fails: cat: /etc/tomcat5.5/policy.d/05solr.policy: No such file or directory https://bugs.launchpad.net/bugs/212536 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs