[Pkg-swan-devel] Bug#740808: Bug#740808: strongswan-starter and openswan: error when trying to install together

Yves-Alexis Perez corsac at debian.org
Wed Mar 5 08:50:11 UTC 2014

On Wed, Mar 05, 2014 at 09:10:37AM +0100, Ralf Treinen wrote:
> Package: openswan,strongswan-starter
> Version: openswan/1:2.6.38-1
> Version: strongswan-starter/5.1.1-3
> Severity: serious
> User: treinen at debian.org
> Usertags: edos-file-overwrite
> Date: 2014-03-05
> Architecture: amd64
> Distribution: sid
> 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:
> Unpacking strongswan-starter (5.1.1-3) ...
> dpkg: error processing archive /var/cache/apt/archives/strongswan-starter_5.1.1-3_amd64.deb (--unpack):
>  trying to overwrite '/etc/ipsec.secrets', which is also in package openswan 1:2.6.38-1
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Processing triggers for man-db (2.6.6-1) ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/strongswan-starter_5.1.1-3_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 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):
>   /etc/init.d/ipsec
>   /etc/ipsec.conf
>   /etc/ipsec.secrets
>   /usr/lib/ipsec/_copyright
>   /usr/lib/ipsec/_updown
>   /usr/sbin/ipsec
>   /usr/share/man/man5/ipsec.conf.5.gz
>   /usr/share/man/man5/ipsec.secrets.5.gz
>   /usr/share/man/man8/ipsec.8.gz
> This bug has been filed against 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 then
> also register in the BTS that the other package is affected by the bug.
> -Ralf.

Thanks for the report. 

openSwan is currently unmaintained: it's definitely unmaintained in
Debian (last upload from 2012), and it's barely maintained upstream. I
think openSwan should be removed altogether, but I can surely add a
Conflicts since there's no change openSwan and strongSwan can work

Yves-Alexis Perez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-swan-devel/attachments/20140305/61e89337/attachment-0001.sig>

More information about the Pkg-swan-devel mailing list