[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#559148: Confirmed

shambhala:~> LANG=C apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 0B/1107kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or 
locale: Cannot set LC_ALL to default locale: No such file or directory
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
(Reading database ... 356381 files and directories currently installed.)
Preparing to replace capisuite 0.4.5-9 (using 
.../capisuite_0.4.5-10_i386.deb) ...
Stopping capisuite daemon: capisuite.
dpkg (subprocess): unable to execute new pre-installation script: Exec 
format error
dpkg: error processing /var/cache/apt/archives/capisuite_0.4.5-10_i386.deb 
 subprocess new pre-installation script returned error exit status 2
insserv: warning: current start runlevel(s) (empty) of script `capisuite' 
overwrites defaults (2 3 4 5).
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is the preinst scrip in the new package 0.4.5-10:

shambhala:~> cat /tmp/preinst
# TODO: remove this file after releasing Squeeze
set -e
if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.4.5-10
        pycentral pkgremove python-foo

This is the existing preinst script from 0.4.5-9:

shambhala:~> cat /var/lib/dpkg/info/capisuite.preinst
set -e
# Automatically added by dh_pycentral
case "$1" in
        mkdir -p /var/lib/pycentral
        echo '# the presence of this file allows calling pkgremove on 
upgrade' \
            > /var/lib/pycentral/capisuite.pkgremove
# End automatically added section

Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: