Hi Andreas, On Sun, Nov 05, 2017 at 06:39:45PM +0100, Andreas Beckmann wrote: > during a test with piuparts and DOSE tools I noticed your package causes > removal of files that also belong to another package. > This is caused by using Replaces without corresponding Breaks.
Oh, fancy.
> The libopencv-dev package has the following relationships with libhighgui-dev:
>
> Conflicts: libhighgui-dev (<= 2.4.9.1+dfsg-2.1)
> Breaks:
> Replaces: libhighgui-dev
>
> * The Conflicts version obviously predates the moving around of highgui.h
> * The Replaces should be versioned identical to the corresponding Breaks (or
> Conflicts)
> * Breaks is preferred over Conflicts for moving files between packages since
> it makes apt's job easier
> * There are more unversioned Replaces with versioned Conflicts, these should
> be made versioned, too
libhighgui-dev has been removed altogether. Therefore, I wonder if an
acceptable solution would be to remove the version restriction in the
Conflicts.
Seemingly, I'd remove the version from the libcv-dev, libcvaux-dev
Conflicts as well (they are in the same situation, probably if you test
them you will find the same bug).
Are the other binaries that are affected by a similar situation?
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature

