Debian Bug report logs - #820021
pki-tools,strongswan-pki: error when trying to install together

version graph

Packages: pki-tools, strongswan-pki; Maintainer for pki-tools is Debian FreeIPA Team <pkg-freeipa-devel@alioth-lists.debian.net>; Source for pki-tools is src:dogtag-pki (PTS, buildd, popcon). Maintainer for strongswan-pki is strongSwan Maintainers <pkg-swan-devel@lists.alioth.debian.org>; Source for strongswan-pki is src:strongswan (PTS, buildd, popcon).

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

Date: Mon, 4 Apr 2016 20:09:01 UTC

Severity: serious

Found in versions dogtag-pki/10.2.6-3, strongswan/5.3.5-2

Fixed in version dogtag-pki/10.2.6+git20160317-1

Done: Timo Aaltonen <tjaalton@debian.org>

Bug is archived. No further changes may be made.

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian FreeIPA Team <pkg-freeipa-devel@lists.alioth.debian.org>, strongSwan Maintainers <pkg-swan-devel@lists.alioth.debian.org>:
Bug#820021; Package pki-tools,strongswan-pki. (Mon, 04 Apr 2016 20:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <anbe@debian.org>:
New Bug report received and forwarded. Copy sent to Debian FreeIPA Team <pkg-freeipa-devel@lists.alioth.debian.org>, strongSwan Maintainers <pkg-swan-devel@lists.alioth.debian.org>. (Mon, 04 Apr 2016 20:09:05 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: pki-tools,strongswan-pki: error when trying to install together
Date: Mon, 04 Apr 2016 22:06:18 +0200
[Message part 1 (text/plain, inline)]
Package: pki-tools,strongswan-pki
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite
Control: found -1 10.2.6-3
Control: found -1 5.3.5-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:

  Selecting previously unselected package strongswan-pki.
  Preparing to unpack .../strongswan-pki_5.3.5-2_amd64.deb ...
  Unpacking strongswan-pki (5.3.5-2) ...
  dpkg: error processing archive /var/cache/apt/archives/strongswan-pki_5.3.5-2_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man1/pki.1.gz', which is also in package pki-tools 10.2.6-3
  Errors were encountered while processing:
   /var/cache/apt/archives/strongswan-pki_5.3.5-2_amd64.deb

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/bin/pki
  usr/share/man/man1/pki.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
[pki-tools=10.2.6-3_strongswan-pki=5.3.5-2.log.gz (application/gzip, attachment)]

Marked as found in versions dogtag-pki/10.2.6-3. Request was from Andreas Beckmann <anbe@debian.org> to submit@bugs.debian.org. (Mon, 04 Apr 2016 20:09:05 GMT) (full text, mbox, link).


Marked as found in versions strongswan/5.3.5-2. Request was from Andreas Beckmann <anbe@debian.org> to submit@bugs.debian.org. (Mon, 04 Apr 2016 20:09:06 GMT) (full text, mbox, link).


Marked as fixed in versions dogtag-pki/10.2.6+git20160317-1. Request was from Timo Aaltonen <tjaalton@debian.org> to control@bugs.debian.org. (Fri, 09 Dec 2016 10:03:06 GMT) (full text, mbox, link).


Reply sent to Timo Aaltonen <tjaalton@debian.org>:
You have taken responsibility. (Fri, 09 Dec 2016 10:03:08 GMT) (full text, mbox, link).


Notification sent to Andreas Beckmann <anbe@debian.org>:
Bug acknowledged by developer. (Fri, 09 Dec 2016 10:03:08 GMT) (full text, mbox, link).


Message #16 received at 820021-done@bugs.debian.org (full text, mbox, reply):

From: Timo Aaltonen <tjaalton@debian.org>
To: Andreas Beckmann <anbe@debian.org>, 820021-done@bugs.debian.org, control@bugs.debian.org
Subject: Re: [Pkg-freeipa-devel] Bug#820021: pki-tools, strongswan-pki: error when trying to install together
Date: Fri, 9 Dec 2016 10:49:53 +0200
fixed 820021 10.2.6+git20160317-1
thanks

On 04.04.2016 23:06, Andreas Beckmann wrote:
> Package: pki-tools,strongswan-pki
> Severity: serious
> User: treinen@debian.org
> Usertags: edos-file-overwrite
> Control: found -1 10.2.6-3
> Control: found -1 5.3.5-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:

strongswan was supposed to rename the files, but I've added the
Conflicts in dogtag instead.


-- 
t



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 07 Jan 2017 07:25:36 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: Sun Jan 25 13:53:41 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.