[pkg-boost-devel] Bug#525376: package installation fails during postinst

Joe Nahmias joe at nahmias.net
Fri Apr 24 04:26:11 UTC 2009


Package: libboost1.38-dbg
Version: 1.38.0-3
Severity: grave

Hello, I just tried to install the libboost1.38-dbg package and dpkg
errors out during the postinst.  I turned on set -x and here's the
trace:

$ sudo dpkg --configure -a
Setting up libboost1.38-dbg (1.38.0-3) ...              
+ update=/usr/share/python/runtime.d/libboost1.38-dbg.rtupdate
+ which pyversions
++ pyversions -d
+ /usr/share/python/runtime.d/libboost1.38-dbg.rtupdate rtupdate none python2.5
+ debug=
+ case "$0" in
+ action=rtupdate
+ shift
+ case "$action" in
+ rtupdate python2.5
+ case "$1" in
+ py=py25
+ update_linklibs py25 a
+ py=py25
+ suf=a
+ cd /usr/lib
+ for thread in '""' -mt
+ target=libboost_python-py25.a
+ link=libboost_python.a
+ test -e libboost_python-py25.a
+ for thread in '""' -mt
+ target=libboost_python-mt-py25.a
+ link=libboost_python-mt.a
+ test -e libboost_python-mt-py25.a
dpkg: error processing libboost1.38-dbg (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 libboost1.38-dbg

Looking at my /usr/lib/, I see the following:

$ ls -l /usr/lib/libboost_python-mt*
-rw-r--r--. 1 root root 7086332 2009-04-04 04:10 /usr/lib/libboost_python-mt-d-py24.a
lrwxrwxrwx. 1 root root      35 2009-04-24 00:04 /usr/lib/libboost_python-mt-d-py24.so -> libboost_python-mt-d-py24.so.1.38.0
-rw-r--r--. 1 root root 4211456 2009-04-04 04:10 /usr/lib/libboost_python-mt-d-py24.so.1.38.0
-rw-r--r--. 1 root root 7091948 2009-04-04 04:10 /usr/lib/libboost_python-mt-d-py25.a
lrwxrwxrwx. 1 root root      35 2009-04-24 00:04 /usr/lib/libboost_python-mt-d-py25.so -> libboost_python-mt-d-py25.so.1.38.0
-rw-r--r--. 1 root root 4215174 2009-04-04 04:10 /usr/lib/libboost_python-mt-d-py25.so.1.38.0


Hope this helps,
--Joe


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the pkg-boost-devel mailing list