On Sun, Nov 05, 2017 at 03:18:57PM +0100, Andreas Beckmann wrote: > Package: zfs-test > Version: 0.7.3-1 > Severity: serious > User: debian...@lists.debian.org > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package fails to upgrade from > 'testing'. > It installed fine in 'testing', 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#s-replaces > > From the attached log (scroll to the bottom...): > > Selecting previously unselected package zfs-test. > Preparing to unpack .../38-zfs-test_0.7.3-1_amd64.deb ... > Unpacking zfs-test (0.7.3-1) ... > dpkg: error processing archive > /tmp/apt-dpkg-install-RL6UMz/38-zfs-test_0.7.3-1_amd64.deb (--unpack): > trying to overwrite '/usr/share/zfs/common.sh', which is also in package > zfsutils-linux 0.6.5.11-1 > dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) > Errors were encountered while processing: > /tmp/apt-dpkg-install-RL6UMz/38-zfs-test_0.7.3-1_amd64.deb > > > cheers, > > Andreas
attached patch should fix the issue in this bug, proposal for related bug #880907 will follow.
>From 0baa850ec48a66ecdc5daba9c45dcccc5448df12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbich...@proxmox.com> Date: Thu, 16 Nov 2017 13:33:41 +0100 Subject: [PATCH] zfs-test: add proper Breaks+Replaces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit on zfsutils-linux, which used to contain some of the ZFS test suite files. Closes: #880902 --- debian/control.in | 2 ++ debian/control | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/control.in b/debian/control.in index 18d2417cc..1eef7e734 100644 --- a/debian/control.in +++ b/debian/control.in @@ -155,6 +155,8 @@ Package: zfs-test Section: contrib/admin Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends}, zfs-modules | zfs-dkms, zfsutils-linux, parted, lsscsi, mdadm, bc, ksh, fio, acl, sudo, sysstat, python +Breaks: zfsutils-linux (<= 0.6.5.11-1) +Replaces: zfsutils-linux (<= 0.6.5.11-1) Description: OpenZFS test infrastructure an support scripts The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data diff --git a/debian/control b/debian/control index 18d2417cc..1eef7e734 100644 --- a/debian/control +++ b/debian/control @@ -155,6 +155,8 @@ Package: zfs-test Section: contrib/admin Architecture: linux-any Depends: ${misc:Depends}, ${shlibs:Depends}, zfs-modules | zfs-dkms, zfsutils-linux, parted, lsscsi, mdadm, bc, ksh, fio, acl, sudo, sysstat, python +Breaks: zfsutils-linux (<= 0.6.5.11-1) +Replaces: zfsutils-linux (<= 0.6.5.11-1) Description: OpenZFS test infrastructure an support scripts The Z file system is a pooled filesystem designed for maximum data integrity, supporting data snapshots, multiple copies, and data -- 2.14.2