[Pkg-utopia-maintainers] Bug#1040208: libblockdev3, libblockdev-lvm-dbus3: missing Breaks+Replaces: libblockdev2 (<< 3) / libblockdev-lvm-dbus2 (<< 3)

Andreas Beckmann anbe at debian.org
Mon Jul 3 14:48:36 BST 2023


Package: libblockdev3,libblockdev-lvm-dbus3
Version: 3.0-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

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.
This error may also be triggered by having a predecessor package from
'sid' installed while installing the package from 'experimental'.

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 .../libblockdev3_3.0-1_amd64.deb ...
  Unpacking libblockdev3:amd64 (3.0-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libblockdev3_3.0-1_amd64.deb (--unpack):
   trying to overwrite '/etc/libblockdev/conf.d/00-default.cfg', which is also in package libblockdev2:amd64 2.28-2
  Errors were encountered while processing:
   /var/cache/apt/archives/libblockdev3_3.0-1_amd64.deb

  Preparing to unpack .../libblockdev-lvm-dbus3_3.0-1_amd64.deb ...
  Unpacking libblockdev-lvm-dbus3:amd64 (3.0-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libblockdev-lvm-dbus3_3.0-1_amd64.deb (--unpack):
   trying to overwrite '/etc/libblockdev/conf.d/10-lvm-dbus.cfg', which is also in package libblockdev-lvm-dbus2:amd64 2.28-2
  Errors were encountered while processing:
   /var/cache/apt/archives/libblockdev-lvm-dbus3_3.0-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libblockdev2=2.28-2_libblockdev3=3.0-1.log.gz
Type: application/gzip
Size: 8362 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20230703/a24f3790/attachment-0001.gz>


More information about the Pkg-utopia-maintainers mailing list