Bug#255759: Upgrade fails if no bonobo-activation-server is running

Manish Singh Manish Singh <yosh@gimp.org>, 255759@bugs.debian.org
Tue, 22 Jun 2004 14:12:25 -0700


Package: libbonobo2-0
Version: 2.6.2-3
Severity: important

If there is no bonobo-activation-server instance running on the system
at time of upgrade, the postinst fails:

Setting up libbonobo2-0 (2.6.2-3) ...
bonobo-activation-server: no process killed
dpkg: error processing libbonobo2-0 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 libbonobo2-0

This is because killall returns an exit status of 1 if there is no
process running that matches the argument given. The script should be
coded such that the failure of this command doesn't cause the script to
bail.

-Yosh