Le mercredi 21 juillet 2010 à 16:02 -0400, Aaron M. Ucko a écrit :
> My attempt to update to python-defaults 2.6.x initially ran into a
> cascade of errors stemming from
> 
>   Traceback (most recent call last):
>     File "/usr/sbin/update-python-modules", line 460, in <module>
>       private_packages[package].bytecompile()
>     File "/usr/sbin/update-python-modules", line 120, in bytecompile
>       + self)
>     File "/usr/lib/python2.6/subprocess.py", line 470, in call
>       return Popen(*popenargs, **kwargs).wait()
>     File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
>       errread, errwrite)
>     File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
>       raise child_exception
>   OSError: [Errno 2] No such file or directory
>   error running python rtupdate hook python-support
>   dpkg: error processing python (--configure):
>    subprocess installed post-installation script returned error exit status 4
> 
> Some digging revealed the problem: an obsolete package I had installed
> featured a .pyversion reading "2.4-", so update-python-modules tried
> to direct the nonexistent python2.4- interpreter to byte-compile its
> files.  Removing the offending package allowed u-p-m to succeed, but I
> for one would appreciate it if you could please arrange for u-p-m to
> produce clearer errors that at the very least indicate the source of
> trouble.

I’m not sure your interpretation is correct. The
python2.4 /usr/lib/pythyon2.4/py_compile.py command would never have
been launched if /usr/bin/python2.4 was not here. Therefore the problem
comes from a broken python2.4 installation on your system.

Cheers,
-- 
 .''`.
: :' :      “Fuck you sir, don’t be suprised when you die if
`. `'       you burn in Hell, because I am a solid Christian
  `-        and I am praying for you.”   --  Mike




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to