[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Catching file conflicts

On Sat, Apr 27, 2002 at 12:27:51PM +1000, Brian May wrote:

> On Sat, 2002-04-27 at 04:13, Matt Zimmerman wrote:
> > However, should it not be possible to implement an automated check to
> > ensure that packages do not contain conflicting files without declaring
> > Conflicts or Replaces?  We already extract the lists to create the
> > Contents files, no?
> I have wondered that. I think it is a real problem for maintainers of
> certain packages to keep track of which packages conflict.
> Even then, it is only feasible for a limited number of package versions
> (eg. packages in potato, but not packages before) and for packages
> actually contained in Debian.
> However, the other alternative you suggest, requires everyone to download
> these huge Contents files as well as these huge Packages files.
> Not a good solution...

I think that you misunderstand my suggestion.  I was not proposing that
anyone download huge Contents files, but that the Contents files be checked
against binary package relationships to determine whether an undeclared
conflict exists.  All of the information necessary to perform this check is
in the archive, and so no downloading of any sort is necessary.

Naturally, it would not be feasible to try to detect conflicts with packages
that are no longer in the archive, but that is hardly a concern, and does
not diminish the value of a basic test.

 - mdz

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: