Package: python2.6
Version: 2.6.5+20100529-1
Severity: grave
Tags: sid
Justification: renders package unusable
While trying to upgrade python2.6 to version 2.6.5+20100529-1 there is an error
during the execution of the post-install script:
TypeError: ('compile() expected string without null bytes',)dpkg: error
processing
python2.6 (--configure):
subprocess installed post-installation script returned error exit status 1
In order to find out where it failed, I modified the postinst script as follows:
#! /bin/sh -e
files=$(dpkg -L python2.6 | sed -n '/^\/usr\/lib\/python2.6\/.*\.py$/p')
for file in $files
do
echo "Processing '$file'"
python2.6 /usr/lib/python2.6/py_compile.py $file
done
Running that script indicated it failed at the folling file:
Processing '/usr/lib/python2.6/io.py'
Sorry: TypeError: ('compile() expected string without null bytes',)
This error prevent the installation of this package (and therefor
libpython2.6),
so I've set the severity to grave.
Regards,
Diederik
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686-bigmem (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/dash
Versions of packages python2.6 depends on:
ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co
ii libc6 2.11.1-1 Embedded GNU C Library: Shared lib
ii libdb4.8 4.8.30-1 Berkeley v4.8 Database Libraries [
ii libncursesw5 5.7+20100313-2 shared libraries for terminal hand
ii libreadline6 6.1-3 GNU readline and history libraries
ii libsqlite3-0 3.6.23.1-4 SQLite 3 shared library
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii python2.6-minimal 2.6.5+20100529-1 A minimal subset of the Python lan
python2.6 recommends no packages.
Versions of packages python2.6 suggests:
ii binutils 2.20.1-10 The GNU assembler, linker and bina
pn python2.6-doc <none> (no description available)
pn python2.6-profiler <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]