Your message dated Tue, 01 Jun 2010 01:24:44 +0200
with message-id <[email protected]>
and subject line Re: Bug#583987: install error: error processing python2.6
(--configure)
has caused the Debian Bug report #583987,
regarding install error: error processing python2.6 (--configure)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
583987: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583987
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
$ grep /io.py$ /var/lib/dpkg/info/python2.6.md5sums
daf7e0665ba63588e84a9c2283df198d usr/lib/python2.6/io.py
corrupt file.
On 01.06.2010 01:17, Diederik de Haas wrote:
On Tuesday 01 June 2010 01:11:02 Matthias Klose wrote:
please run:
ls -l /usr/lib/python2.6/io.py
md5sum /usr/lib/python2.6/io.py
$ ls -l /usr/lib/python2.6/io.py
-rw-r--r-- 1 root root 65214 May 30 16:25 /usr/lib/python2.6/io.py
$ md5sum /usr/lib/python2.6/io.py
77b794421282ff60a0ed29f1a8bc995a /usr/lib/python2.6/io.py
--- End Message ---