Bug#587642: capisuite: pre-installation script fails: pycentral pkgremove: package python-foo is not installed
Package: capisuite
Version: 0.4.5-9
Severity: important
Upgrading to most recent capisuite fails with:
shambhala:~> LANG=C apt-get -t unstable install capisuite=0.4.5-11+b1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
sffview
The following packages will be upgraded:
capisuite
1 upgraded, 0 newly installed, 0 to remove and 296 not upgraded.
9 not fully installed or removed.
Need to get 0B/1106kB of archives.
After this operation, 4096B disk space will be freed.
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
(Reading database ... 344837 files and directories currently installed.)
Preparing to replace capisuite 0.4.5-9 (using .../capisuite_0.4.5-11+b1_i386.deb) ...
Stopping capisuite daemon: capisuite.
pycentral: pycentral pkgremove: package python-foo is not installed
pycentral pkgremove: package python-foo is not installed
dpkg: error processing /var/cache/apt/archives/capisuite_0.4.5-11+b1_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
insserv: warning: current start runlevel(s) (empty) of script `capisuite' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `capisuite' overwrites defaults (0 1 6).
Errors were encountered while processing:
/var/cache/apt/archives/capisuite_0.4.5-11+b1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The pre-installation script contains:
1 #!/bin/sh
2 set -e
3 # Automatically added by dh_pycentral
4 case "$1" in
5 install|upgrade)
6 »·······mkdir -p /var/lib/pycentral
7 »·······echo '# the presence of this file allows calling pkgremove on upgrade' \
8 »······· > /var/lib/pycentral/capisuite.pkgremove
9 esac
10 # End automatically added section
Maybe a bug in pycentral during Python 2.5 => 2.6?
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (450, 'testing'), (400, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.33.2-tp42-toi-3.1-lowmem-free-991-992-04964-gf00c7ec-dirty (PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages capisuite depends on:
ii ghostscript 8.71~dfsg2-3 The GPL Ghostscript PostScript/PDF
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcapi20-3 1:3.9.20060704-10 ISDN utilities - CAPI support libr
ii libgcc1 1:4.4.4-5 GCC support library
ii libstdc++6 4.4.4-5 The GNU Standard C++ Library v3
ii libtiff-tools 3.9.4-1 TIFF manipulation and conversion t
ii postfix [mail-transpor 2.6.5-3 High-performance mail transport ag
pn python <none> (no description available)
ii python-central 0.6.14+nmu2 register and build utility for Pyt
ii python2.5 2.5.5-6 An interactive high-level object-o
ii sfftobmp 3.1.2-2+b2 SFF (Structed Fax File) Converter
ii sox 14.3.1-1 Swiss army knife of sound processi
capisuite recommends no packages.
Versions of packages capisuite suggests:
pn sffview <none> (no description available)
-- Configuration Files:
/etc/capisuite/answering_machine.conf changed [not included]
/etc/capisuite/fax.conf changed [not included]
/etc/default/capisuite changed [not included]
-- no debconf information
Reply to: