I reproduced it. If jetty is laredy running, solr-jetty postinst tries to:
  invoke-rc.d --quiet jetty restart
But that returns 1 (jetty is already running), so the postinst fails.

The workaround is to stop jetty (sudo service jetty stop) before
installing solr-jetty.


** Changed in: solr (Ubuntu)
   Importance: Undecided => Medium

** Changed in: solr (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- package solr-jetty 1.2.0 ds2-5ubuntu1 failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1 while trying to 
install with apt-get
+ solr-jetty postinst fails if jetty is started before installation (jetty 
restart returns 1)

-- 
solr-jetty postinst fails if jetty is started before installation (jetty 
restart returns 1)
https://bugs.launchpad.net/bugs/651872
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to