severity 583987 normal
tag 583987 + moreinfo
thanks

please run:
ls -l /usr/lib/python2.6/io.py
md5sum /usr/lib/python2.6/io.py

On 01.06.2010 00:57, Diederik de Haas wrote:
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',)




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

Reply via email to