Re: APT and Versioned Obsoletes

Panu Matilainen <[email protected]> Wed, 18 Aug 2004 14:08:01 +0300 (EEST)
Newsgroups gmane.linux.conectiva.apt-rpm
Message-ID <[email protected]>
On Wed, 18 Aug 2004, Jeff Pitman wrote:

> I'm running apt-0.5.15cnc6 and have notice a strange behavior with using 
> Obsoletes.  It appears that APT does not support versioned Obsoletes:
> 
> Obsoletes: python = 2.2.2
> 
> I have this tag in a package named python22.  Then, I have another 
> package named python that:
> 
> Provides: python = 2.3.4
> 
> This order works:
> 
> 1. apt-get install python22
> 2. apt-get install python
> 
> This order does not:
> 
> 1. apt-get install python
> 2. apt-get install python22		# silently removes python
> 
> If you did the first order and then:
> 
> $ apt-get install --reinstall python22
> 
> It will also silently remove python.  So, I tend to think that Apt's 
> Obsoletes check is not versioned, but only looks at the package.  Is it 
> possible to rectify this?

Mmm... isn't that the rpm "feature" in action that was discussed by you,
Axel and others on repo-coord
(http://lists.atrpms.net/pipermail/repo-coord/2004-August/000357.html)
or did I just grossly overlook something? :)

	- Panu -