Bug#385909: pyversions: command not found

Raphael Hertzog hertzog at debian.org
Mon Sep 4 06:41:55 UTC 2006


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
> 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}?).

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/





More information about the Pkg-gnome-maintainers mailing list