[pkg-boost-devel] Bug#473607: fails to install unless python is installed

Frank Lichtenheld djpig at debian.org
Mon Mar 31 15:34:53 UTC 2008

Package: libboost-python-dev
Version: 1.34.1-9
Severity: serious

If pyversions is not available, i.e. if python is not installed, the postinst script
Setting up libboost-python-dev (1.34.1-9) ...
dpkg: error processing libboost-python-dev (--configure):
 subprocess post-installation script returned error exit status 1

This is because of set -e and the "which pyversions &&" construct.
You can fix this by using a different construct, e.g.
"if pyversions; then ... fi" which will not cause the script to fail
if pyversions is not available.

	Frank Lichtenheld

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: hppa (parisc64)

Kernel: Linux 2.6.22-3-vserver-parisc64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages libboost-python-dev depends on:
ii  libboost-dev                  1.34.1-7   Boost C++ Libraries development fi
ii  libboost-python1.34.1         1.34.1-7   Boost.Python Library
ii  python2.4-dev                 2.4.5-1    Header files and a static library 

libboost-python-dev recommends no packages.

-- no debconf information

More information about the pkg-boost-devel mailing list