Re: Python upgrade: need help regarding package renaming
On Thu, Aug 02, 2001 at 01:14:35PM +0200, Gregor Hoffleit wrote:
> Now how do I set Depends/Replaces/Conflicts/Provides so that in case of
> an "apt-get install python-base",
> (a) if somebody has installed idle and python-base: the idle package
> will be removed, and the new python-base, python1.5-base and
> idle-python1.5 packages will be installed.
> (b) if somebody has installed python-base, but no idle: the new
> python-base and python1.5-base packages will be installed (but no
> apt-get always will remove idle, but not install the new idle-python1.5.
> I have no idea why.
If your new empty package conflicts with and replaces idle, and depends
idle-python1.5, apt-get/dpkg should replace idle with idle-python1.5,
I think. You can also use provides to meet dependencies of other packages.
But I don't see how you can make this conditional on idle
being installed previously. The above will force idle-python1.5
to be installed.
Hamish Moffatt VK3SB <email@example.com> <firstname.lastname@example.org>