Package: python-central
Version: 0.6.14
Severity: normal

While upgrading python-gdal, I saw the following:
Preparing to replace python-gdal 1.6.2-1 (using 
.../python-gdal_1.6.3-1_amd64.deb) ...
  File "/usr/bin/pycentral", line 2112
    else:
       ^
SyntaxError: invalid syntax
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
  File "/usr/bin/pycentral", line 2112
    else:
       ^
SyntaxError: invalid syntax
dpkg: error processing /var/cache/apt/archives/python-gdal_1.6.3-1_amd64.deb 
(--unpack):
 subprocess new pre-removal script returned error exit status 1
  File "/usr/bin/pycentral", line 2112
    else:
       ^
SyntaxError: invalid syntax
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/python-gdal_1.6.3-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The following patch fixes the problem:
faerun:/home/tepperly/.config/vlc# diff /usr/bin/pycentral{~,}
2111c2111
<               % (action_name, str(list(matching_actions)))
---
>               % (action_name, str(list(matching_actions))))
faerun:/home/tepperly/.config/vlc# 


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (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

Versions of packages python-central depends on:
ii  python                        2.5.4-2    An interactive high-level object-o

python-central recommends no packages.

python-central suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/pycentral (from python-central package)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to