On 10/04/2025 22:17, Hefee wrote:
Hey,
So, here you just need the Breaks: field in the -dev package and that's
all. Conflicts is for permanent stuff, it should generally not be
versioned. Here it's just file moving, so a breaks is enough. And no
replaces, as -dev does not replace the lib.
break alone is very rare. in most cases you need to add replaces too.
I always using the nice wiki page to look the correct way:
https://wiki.debian.org/PackageTransition
Okay some files went from the lib to the dev packages. it is #9
So lib package is A and dev package is B
so the lib package just need a Breaks : dev (<< 1.1.0-1)
and the dev package Breaks/Replaces: lib (<< 1.1.0-1)
So I would say you still miss the Breaks on the lib package, the dev package
is fine in Breaks/Replaces.
Regards,
hefee
Hi Hefee,
I now think you are correct here, but it is not causing
an actual problem with piuparts.
I could not understand at first why lib 1.1.0 would Break dev << 1.1.0,
but the moved files would be in neither package, so the dev package
would not be viable in that case.
Removing the Replace on dev 1.1.0 on lib << 1.1.0 caused
the CI job missing-breaks to fail. On looking more closely,
the script says "Missing Breaks/Replaces found". The title
is misleading, in that it is checking for missing Replaces
as well as Breaks. This seems to be case 7.6.1 in Policy,
distinct from 7.6.2
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-in-other-packages
I don't have any strong view on whether to change things now,
There is no issue with the Release upgrade, as kdsa is not
in stable anyway.
However, I want to change strawberry to remove the patch that downgrades
dependency on kdsa (upstream requires 1.1.0 specifically).
https://salsa.debian.org/debian/strawberry/-/blob/master/debian/patches/KDSA.patch?ref_type=heads
I'd like to make any changes priority high on account of the freeze.
(Soft freeze in only 4 days now!)
I'll push a suggested change to Salsa anyway.
Regards,
Peter