Bug#385909: pyversions: command not found

Steve Langasek vorlon at debian.org
Mon Sep 4 07:05:34 UTC 2006


On Mon, Sep 04, 2006 at 08:41:55AM +0200, Raphael Hertzog wrote:
> On Sun, 03 Sep 2006, Steve Langasek wrote:
> > On Sun, Sep 03, 2006 at 11:38:19PM +0200, Julien Danjou wrote:
> > > Suggested packages:
> > >   python-doc python-profiler
> > > The following NEW packages will be installed:
> > >   python-minimal
> > > The following packages will be upgraded:
> > >   python
> > > 1 upgraded, 1 newly installed, 0 to remove and 212 not upgraded.
> > > 221 not fully installed or removed.
> > > Need to get 0B/152kB of archives.
> > > After unpacking 119kB of additional disk space will be used.
> > > (Reading database ... 142617 files and directories currently installed.)
> > > Preparing to replace python 2.3.5-5 (using .../python_2.4.3-11_all.deb)
> > > running python pre-rtupdate hooks for python2.4...
> > > /usr/share/python/runtime.d/python-gnome2.rtupdate: line 4: pyversions:
> > > command not found

> > Whoops, apparently there's a whole in python policy, packages which use

<argh>hole</argh>

> > pyversions (which is pretty much anything doing bytecompiling, right?) need
> > a dependency on python (>= 2.3.5-6)...

> Pyversions is mainly used at build-time and not at installation time.
> Whatever requires pyversions (and in this case python-gnome2) should be
> depending on the first version of python that provides it (and now the
> good question: how do you do that while still using ${python:Depends}?).

By depending on python (>= 2.3.5-6), ${python:Depends}, which will duplicate
a dependency but still work?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/





More information about the Pkg-gnome-maintainers mailing list