Debian Bug report logs - #824751
zfsutils-linux,zutils: error when trying to install together

version graph

Package: zfsutils-linux; Maintainer for zfsutils-linux is Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@alioth-lists.debian.net>; Source for zfsutils-linux is src:zfs-linux (PTS, buildd, popcon).

Affects: zutils

Reported by: Andreas Beckmann <anbe@debian.org>

Date: Thu, 19 May 2016 12:21:02 UTC

Severity: serious

Found in version zfs-linux/0.6.5.6-2

Done: Daniel Baumann <daniel.baumann@progress-technologies.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>, Daniel Baumann <mail@daniel-baumann.ch>:
Bug#824751; Package zfsutils-linux,zutils. (Thu, 19 May 2016 12:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <anbe@debian.org>:
New Bug report received and forwarded. Copy sent to Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>, Daniel Baumann <mail@daniel-baumann.ch>. (Thu, 19 May 2016 12:21:08 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Andreas Beckmann <anbe@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: zfsutils-linux,zutils: error when trying to install together
Date: Thu, 19 May 2016 14:18:09 +0200
[Message part 1 (text/plain, inline)]
Package: zfsutils-linux,zutils
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite
Control: found -1 0.6.5.6-2
Control: found -1 1.4-2

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:

  Preparing to unpack .../zutils_1.4-2_amd64.deb ...
  Unpacking zutils (1.4-2) ...
  dpkg: error processing archive /var/cache/apt/archives/zutils_1.4-2_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man1/ztest.1.gz', which is also in package zfsutils-linux 0.6.5.6-2

This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):

  /usr/share/man/man1/ztest.1.gz

This bug is assigned to both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may
also register in the BTS that the other package is affected by the bug.

Cheers,

Andreas

PS: for more information about the detection of file overwrite errors
of this kind see https://qa.debian.org/dose/file-overwrites.html
[zfsutils-linux=0.6.5.6-2_zutils=1.4-2.log.gz (application/gzip, attachment)]

Marked as found in versions zfs-linux/0.6.5.6-2. Request was from Andreas Beckmann <anbe@debian.org> to submit@bugs.debian.org. (Thu, 19 May 2016 12:21:09 GMT) (full text, mbox, link).


Marked as found in versions zutils/1.4-2. Request was from Andreas Beckmann <anbe@debian.org> to submit@bugs.debian.org. (Thu, 19 May 2016 12:21:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>, Daniel Baumann <mail@daniel-baumann.ch>:
Bug#824751; Package zfsutils-linux,zutils. (Thu, 19 May 2016 13:57:09 GMT) (full text, mbox, link).


Acknowledgement sent to <daniel.baumann@progress-technologies.com>:
Extra info received and forwarded to list. Copy sent to Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>, Daniel Baumann <mail@daniel-baumann.ch>. (Thu, 19 May 2016 13:57:09 GMT) (full text, mbox, link).


Message #14 received at 824751@bugs.debian.org (full text, mbox, reply):

From: Daniel Baumann <daniel.baumann@progress-technologies.com>
To: <824751@bugs.debian.org>
Subject: Re: Bug#824751: zfsutils-linux,zutils: error when trying to install together
Date: Thu, 19 May 2016 15:37:04 +0200
Hi,

how about renaming ztest in zfsutils to zfstest?

Regards,
Daniel



Marked as found in versions zutils/1.4-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 19 May 2016 16:57:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>, Daniel Baumann <mail@daniel-baumann.ch>:
Bug#824751; Package zfsutils-linux,zutils. (Thu, 19 May 2016 19:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Petter Reinholdtsen <pere@hungry.com>:
Extra info received and forwarded to list. Copy sent to Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>, Daniel Baumann <mail@daniel-baumann.ch>. (Thu, 19 May 2016 19:27:04 GMT) (full text, mbox, link).


Message #21 received at 824751@bugs.debian.org (full text, mbox, reply):

From: Petter Reinholdtsen <pere@hungry.com>
To: daniel.baumann@progress-technologies.com, 824751@bugs.debian.org
Subject: Re: [Pkg-zfsonlinux-devel] Bug#824751: zfsutils-linux, zutils: error when trying to install together
Date: Thu, 19 May 2016 21:23:34 +0200
[Daniel Baumann]
> Hi,
>
> how about renaming ztest in zfsutils to zfstest?

I had a look at how this was handled in zfsutils on kfreebsd, and
according to
<URL:https://packages.debian.org/sid/kfreebsd-amd64/zfsutils/filelist>
the package do not have any ztest.1 manual page.

I suspect we should discuss with the kFreeBSD maintainers how to best
handle this situation on both Linux and kFreeBSD.

-- 
Happy hacking
Petter Reinholdtsen



Bug 824751 cloned as bug 825268 Request was from Daniel Baumann <daniel.baumann@progress-technologies.com> to control@bugs.debian.org. (Wed, 25 May 2016 10:15:04 GMT) (full text, mbox, link).


Marked Bug as done Request was from Daniel Baumann <daniel.baumann@progress-technologies.com> to control@bugs.debian.org. (Wed, 25 May 2016 10:15:06 GMT) (full text, mbox, link).


Notification sent to Andreas Beckmann <anbe@debian.org>:
Bug acknowledged by developer. (Wed, 25 May 2016 10:15:08 GMT) (full text, mbox, link).


Added indication that 824751 affects zutils Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 02 Jun 2016 00:30:06 GMT) (full text, mbox, link).


Bug reassigned from package 'zfsutils-linux,zutils' to 'zfsutils-linux'. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 02 Jun 2016 00:30:07 GMT) (full text, mbox, link).


No longer marked as found in versions zfs-linux/0.6.5.6-2, zutils/1.4-1, and zutils/1.4-2. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 02 Jun 2016 00:30:08 GMT) (full text, mbox, link).


Marked as found in versions zfs-linux/0.6.5.6-2. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Thu, 02 Jun 2016 00:30:09 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 30 Jun 2016 07:32:20 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 20:38:48 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.