[Piuparts-devel] EDOS file overwrite check between distributions?

Ralf Treinen ralf.treinen at pps.jussieu.fr
Sat Feb 18 09:47:54 UTC 2012


Hi Andreas,

On Thu, Feb 16, 2012 at 02:01:48AM +0100, Andreas Beckmann wrote:
> On 2012-02-15 18:20, Ralf Treinen wrote:
> > For the moment multiple -c options are not supported. Would this really
> > be useful?
> 
> We should check for file conflicts between packages in e.g. main and
> non-free, shouldn't we? And let's just blame the contrib/non-free
> package if this conflict is not solved properly :-)
> 
> > And if yes, should different contents file be associated to
> > different repositories? The contents file on the debian mirrors already
> > contains the entries for main, contrib, and non-free combined.
> 
> Only for squeeze. wheezy and sid have separate Contents files for each area.

Oh, this wasn't the case when I started my checks. There was a rewrite of
the contents generator one or two years ago, I guess that the change
happenend at that occassion.

>   -c contents -r main -r contrib -r nonfree
> 
> works for squeeze and reports 5 more pairs:
> 
>         fglrx-driver   xserver-xorg-core
>         fglrx-glx-ia32 ia32-libs
>         fglrx-glx      libgl1-mesa-glx
>         fglrx-glx      libgl1-mesa-swx11
>         unace          unace-nonfree
> 
> But how can I achieve this for sid?

I'll have a look. If the contents files are sorted lexicographically by
the name of the file then it should be easy to merge input from several
files. There will, however, be a certain loss in performance since at
the moment I use a regexp to simply skip over files that occur only in
one package, and that is no longer possible when we several input streams.

-Ralf.
-- 
Ralf Treinen
Laboratoire Preuves, Programmes et Systèmes
Université Paris Diderot, Paris, France.
http://www.pps.jussieu.fr/~treinen/



More information about the Piuparts-devel mailing list