Package: zfs-test
Version: 0.7.9-2
Severity: serious

commit 2c29cd95fd0e5fccc035bf7dead27a4b73708f12 moved the following
files from zfsutils-linux to zfs-test, without updating zfs-test's
versioned Breaks+Replaces relation accordingly:

/sbin/ztest

the following files are now also installed in zfs-test, in addition to
being installed in zfsutils-linux:

/usr/share/man/man1/ztest.1
/usr/share/man/man1/raidz_test.1
/usr/share/man/man1/test-runner.1

this leads to failed apt runs with messages like the following:

Unpacking zfs-test (0.7.9-2) over (0.7.6-1) ...
dpkg: error processing archive 
/var/cache/apt/archives/zfs-test_0.7.9-2_amd64.deb (--unpack):
 trying to overwrite '/sbin/ztest', which is also in package zfsutils-linux 
0.7.6-1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

Unpacking zfs-test (0.7.9-2) over (0.7.6-1) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-jpbbT5/15-zfs-test_0.7.9-2_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/raidz_test.1.gz', which is also in 
package zfsutils-linux 0.7.9-2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)

I suggest explicitly listing the man (1) pages to be installed in
zfsutils-linux in debian/zfsutils-linux.install (instead of the whole
/usr/share/man/man1 directory) to get rid of the duplicate files, and
bumping the versioned B+R for zfs-test accordingly (because of the
duplicate files, zfs-test now Breaks and Replaces zfsutils-linux <=
0.7.9-2, and only -3 should move to buster be backported IMHO.

thanks for your consideration!

Reply via email to