Subject: Re: CONFLICTS matching
To: Hubert Feyrer <hubert@feyrer.de>
From: Geert Hendrickx <ghen@NetBSD.org>
List: tech-pkg
Date: 08/01/2006 12:33:36
On Tue, Aug 01, 2006 at 12:21:17PM +0200, Hubert Feyrer wrote:
> On Tue, 1 Aug 2006, Geert Hendrickx wrote:
> >This is not always possible.  E.g., the "ethereal" package has recently
> >been renamed to "wireshark".  wireshark currently has CONFLICT set to
> >ethereal-[0-9]*, but not the other way around.
> 
> This assumes CONFLICTS is the right tool to handle renamed packages.

There are other, more general cases, e.g. when version 2.0 of package A
conflicts with all versions of package B, but older versions of A do not.  
The CONFLICT is added to the current version of both A and B, but older
binary packages of B don't have their conflict with A 2.0 registered.  So
I think you'll always have to check both directions.  

	Geert