Bug#255815: fails to upgrade if bonobo-activation-server isn't
running
Jamie Wilkinson
Jamie Wilkinson <jamie@anchor.net.au>, 255815@bugs.debian.org
Wed, 23 Jun 2004 18:47:53 +1000
Package: libbonobo2-0
Version: 2.6.2-3
Severity: important
Tags: patch
The postinst tries to kill bonobo-activation-server, fails because it
isn't running, and because this postinst is of that arse-backward
brain-dead school of thought that uses the "set -e" cop-out error
checking "technique", the installation fails; which also has the effect
that no other gnome related packages can be installed.
Please use a more robust mechanism for checking return codes, if you
need to at all.
Here's a patch:
-set -e
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-2-k7
Locale: LANG=C, LC_CTYPE=C
Versions of packages libbonobo2-0 depends on:
ii libbonobo2-common 2.6.2-3 Bonobo CORBA interfaces library --
ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an
ii libglib2.0-0 2.4.2-1 The GLib library of C routines
ii liborbit2 1:2.10.2-1.1 libraries for ORBit2 - a CORBA ORB
-- no debconf information