Package: python-sphinx
Version: 0.4-1
Severity: normal

Below is what I get when I try to install sphinx when both pythons 2.5
and 2.3 are present in the system. Removing package python2.3
fixed the problem -- luckily this was possible, no dependencies,
can't remember why I had it installed...

calap:/var/cache/apt/archives# dpkg -i python-sphinx_0.4-1_all.deb
dpkg: status database area is locked by another process
calap:/var/cache/apt/archives# dpkg -i python-sphinx_0.4-1_all.deb
(Reading database ... 226356 files and directories currently installed.)
Preparing to replace python-sphinx 0.4-1 (using python-sphinx_0.4-1_all.deb)
...
INFO: using old version '/usr/bin/python2.3'
Unpacking replacement python-sphinx ...
Setting up python-sphinx (0.4-1) ...
INFO: using old version '/usr/bin/python2.3'
Compiling /usr/lib/python2.3/site-packages/sphinx/__init__.py ...
  File "/usr/lib/python2.3/site-packages/sphinx/__init__.py", line 67
    '-c' not in (opt[0] for opt in opts):
                          ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/sphinx/builder.py ...
  File "/usr/lib/python2.3/site-packages/sphinx/builder.py", line 470
    for _, (_, subitems) in entries))
      ^
SyntaxError: invalid syntax

Compiling /usr/lib/python2.3/site-packages/sphinx/environment.py ...
  File "/usr/lib/python2.3/site-packages/sphinx/environment.py", line 171
    @staticmethod
    ^
SyntaxError: invalid syntax
... on and on this goes ...


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-sphinx depends on:
ii  python                        2.5.2-1    An interactive high-level
object-o
ii  python-central                0.6.7      register and build utility for
Pyt
ii  python-docutils               0.4-6      Utilities for the documentation
of
ii  python-jinja                  1.2-2      small but fast and easy to use
sta
ii  python-pygments               0.10-1     syntax highlighting package
writte

python-sphinx recommends no packages.

-- no debconf information

Reply via email to