Bug#985108: libgraphics-ocaml: missing Breaks+Replaces: libfindlib-ocaml (<< 1.8.1-2~)
Package: libgraphics-ocaml
Version: 5.1.0-2
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: affects -1 + ocaml-libs
Hi,
during a test with piuparts I noticed your package fails to upgrade from
'buster'.
It installed fine in 'buster', then the upgrade to 'bullseye' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.
See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces
>From the attached log (scroll to the bottom...):
Selecting previously unselected package libgraphics-ocaml.
Preparing to unpack .../074-libgraphics-ocaml_5.1.0-2_amd64.deb ...
Unpacking libgraphics-ocaml (5.1.0-2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-OYfKvJ/074-libgraphics-ocaml_5.1.0-2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/ocaml/graphics/META', which is also in package libfindlib-ocaml 1.7.3-2+b1
cheers,
Andreas
Reply to: