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

Bug#933792: ocaml-nox/ocaml-base-nox: missing Breaks+Replaces: ocaml-base-nox/ocaml-nox (<< 4.08)



Package: ocaml-nox,ocaml-base-nox
Version: 4.08.0-3
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: affects -1 + ocaml-compiler-libs

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' 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...):

  Preparing to unpack .../ocaml-base-nox_4.08.0-3_amd64.deb ...
  Unpacking ocaml-base-nox (4.08.0-3) over (4.05.0-11) ...
  dpkg: error processing archive /var/cache/apt/archives/ocaml-base-nox_4.08.0-3_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/ocaml/libasmrun_shared.so', 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 .../ocaml-interp_4.08.0-3_amd64.deb ...
  Unpacking ocaml-interp (4.08.0-3) over (4.05.0-11) ...
  Preparing to unpack .../ocaml-compiler-libs_4.08.0-3_amd64.deb ...
  Unpacking ocaml-compiler-libs (4.08.0-3) over (4.05.0-11) ...
  Preparing to unpack .../ocaml-nox_4.08.0-3_amd64.deb ...
  Unpacking ocaml-nox (4.08.0-3) over (4.05.0-11) ...
  dpkg: error processing archive /var/cache/apt/archives/ocaml-nox_4.08.0-3_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/ocaml/VERSION', which is also in package ocaml-base-nox 4.05.0-11
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/ocaml-base-nox_4.08.0-3_amd64.deb
   /var/cache/apt/archives/ocaml-nox_4.08.0-3_amd64.deb


cheers,

Andreas

Attachment: ocaml-compiler-libs_4.08.0-3.log.gz
Description: application/gzip


Reply to: