[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#945851: libnum-ocaml-dev: missing Breaks+Replaces: ocaml-nox (<< 4.08)



Package: libnum-ocaml-dev
Version: 1.2-2
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: affects -1 + libreins-ocaml-dev

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 libnum-ocaml-dev.
  Preparing to unpack .../27-libnum-ocaml-dev_1.2-2_amd64.deb ...
  Unpacking libnum-ocaml-dev (1.2-2) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-LYjFx6/27-libnum-ocaml-dev_1.2-2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/ocaml/arith_flags.cmx', which is also in package ocaml-nox 4.05.0-11
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Preparing to unpack .../28-libreins-ocaml-dev_0.1a-9+b1_amd64.deb ...
  Unpacking libreins-ocaml-dev (0.1a-9+b1) over (0.1a-7+b1) ...
  Preparing to unpack .../29-ocaml-compiler-libs_4.08.1-4_amd64.deb ...
  Unpacking ocaml-compiler-libs (4.08.1-4) over (4.05.0-11) ...
  dpkg: considering deconfiguration of ocaml-base-nox, which would be broken by installation of ocaml-nox ...
  dpkg: yes, will deconfigure ocaml-base-nox (broken by ocaml-nox)
  Preparing to unpack .../30-ocaml-nox_4.08.1-4_amd64.deb ...
  De-configuring ocaml-base-nox (4.05.0-11) ...
  Unpacking ocaml-nox (4.08.1-4) over (4.05.0-11) ...
  Replacing files in old package ocaml-base-nox (4.05.0-11) ...
  Preparing to unpack .../31-ocaml-base-nox_4.08.1-4_amd64.deb ...
  Unpacking ocaml-base-nox (4.08.1-4) over (4.05.0-11) ...
  Preparing to unpack .../32-ocaml-interp_4.08.1-4_amd64.deb ...
  Unpacking ocaml-interp (4.08.1-4) over (4.05.0-11) ...
  Selecting previously unselected package libnum-ocaml.
  Preparing to unpack .../33-libnum-ocaml_1.2-2_amd64.deb ...
  Unpacking libnum-ocaml (1.2-2) ...
  Preparing to unpack .../34-libss2_1.45.4-1_amd64.deb ...
  Unpacking libss2:amd64 (1.45.4-1) over (1.44.5-1+deb10u2) ...
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-LYjFx6/27-libnum-ocaml-dev_1.2-2_amd64.deb


cheers,

Andreas

Attachment: libreins-ocaml-dev_0.1a-9+b1.log.gz
Description: application/gzip


Reply to: