Bug#1036712: Replaces without Breaks or Conflicts harmful?
Hi Thorsten,
On Thu, Jul 06, 2023 at 05:26:43PM +0000, Thorsten Glaser wrote:
> Helmut Grohne dixit:
>
> > openjdk-8 (U)
>
> Should be convered by the Depends lines in the respective
> binary packages, e.g:
>
> Depends: openjdk-8-jre (>= ${source:Version}),
> openjdk-8-jdk (>= ${binary:Version}),
> ${misc:Depends}
> Replaces: openjdk-8-jdk (<< 8u20~b26-1~)
Yes, this is the kind of fpos I was mentioning as expected.
> > rng-tools-debian
>
> Also false positive:
>
> Replaces: intel-rng-tools, rng-tools
> Breaks: rng-tools (>= 5migratf), rng-tools (<< 5migrate)
> Conflicts: intel-rng-tools
This is *not* a false positive, but a real issue. It replaces any
rng-tools, but breaks only a subset. This would have to be fixed to
either drop the version constraint from Breaks (probably wrong) or add
it to Replaces. Can you handle that?
Helmut
Reply to: