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

Bug#945495: ocaml-nox: missing Breaks+Replaces: ocaml-compiler-libs (<< 4.08)



Package: ocaml-nox
Version: 4.08.1-4
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: affects -1 + libguestfs-ocaml-dev

Hi,

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

  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 .../02-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) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-6vAkr1/02-ocaml-nox_4.08.1-4_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/ocaml/topdirs.cmi', which is also in package ocaml-compiler-libs 4.05.0-11
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  dpkg: considering deconfiguration of ocaml-nox, which would be broken by installation of ocaml-base-nox ...
  dpkg: yes, will deconfigure ocaml-nox (broken by ocaml-base-nox)
  Preparing to unpack .../03-ocaml-base-nox_4.08.1-4_amd64.deb ...
  De-configuring ocaml-nox (4.05.0-11) ...
  Unpacking ocaml-base-nox (4.08.1-4) over (4.05.0-11) ...
  Replacing files in old package ocaml-nox (4.05.0-11) ...
  Preparing to unpack .../04-libguestfs-ocaml_1%3a1.40.2-2+b12_amd64.deb ...
  Unpacking libguestfs-ocaml (1:1.40.2-2+b12) over (1:1.40.2-2) ...
  Preparing to unpack .../05-ocaml-interp_4.08.1-4_amd64.deb ...
  Unpacking ocaml-interp (4.08.1-4) over (4.05.0-11) ...
  Preparing to unpack .../06-ocaml-compiler-libs_4.08.1-4_amd64.deb ...
  Unpacking ocaml-compiler-libs (4.08.1-4) over (4.05.0-11) ...
[...]
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-6vAkr1/02-ocaml-nox_4.08.1-4_amd64.deb


This seems to happen only on a single upgrade path, otherwise I
might have caught it earlier.


cheers,

Andreas

Attachment: libguestfs-ocaml-dev_1:1.40.2-2+b12.log.gz
Description: application/gzip


Reply to: