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

Bug#966089: libdbus-ocaml: missing Breaks+Replaces: libdbus-ocaml-dev (<< 0.29-4)



Package: libdbus-ocaml
Version: 0.29-4
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts

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

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../libdbus-ocaml_0.29-4_amd64.deb ...
  Unpacking libdbus-ocaml (0.29-4) over (0.29-3+b3) ...
  dpkg: error processing archive /var/cache/apt/archives/libdbus-ocaml_0.29-4_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/ocaml/dbus/META', which is also in package libdbus-ocaml-dev 0.29-3+b3
  Errors were encountered while processing:
   /var/cache/apt/archives/libdbus-ocaml_0.29-4_amd64.deb

These two files have moved between the packages:

  usr/lib/ocaml/dbus/META
  usr/lib/ocaml/dbus/dBus.cma


cheers,

Andreas

Attachment: libdbus-ocaml-dev=0.29-3+b3_libdbus-ocaml=0.29-4.log.gz
Description: application/gzip


Reply to: