Re: Broken Zope, Python, xbase-clients, etc
On Tue, Sep 09, 2003 at 03:08:11PM +1000, Russell Shaw wrote:
> The other way is the debian alternatives system. You can have multiple
> versions of a tool, such as gcc-2.95.4, gcc-3.3, etc, but one gets called
> by the generic name of "gcc".
>
> man update-alternatives
>
> rm /usr/bin/python
> rm /usr/share/man/man1/python.1.gz
>
> ln -s /etc/alternatives/pythonbin /usr/bin/python
> ln -s /etc/alternatives/pythonman.1.gz /usr/share/man/man1/python.1.gz
>
> update-alternatives --install /usr/bin/python pythonbin /usr/bin/python2.2
> 20 \
> --slave /usr/share/man/man1/python.1.gz pythonman.1.gz
> /usr/share/man/man1/python2.2.1.gz
That won't be preserved across package upgrades.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: