Package: python-support
Version: 1.0.9
Severity: normal

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.

Thanks!

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

Kernel: Linux 2.6.32-5-xen-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/dash

Versions of packages python-support depends on:
ii  dpkg                          1.15.7.2   Debian package management system
ii  python                        2.6.5-5    An interactive high-level object-o

python-support recommends no packages.

python-support suggests no packages.

-- no debconf information



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

Reply via email to