Package: libreswan
Version: 3.18-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files.

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 libreswan.
  Preparing to unpack .../43-libreswan_3.18-1_amd64.deb ...
  Unpacking libreswan (3.18-1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-za7Gyz/43-libreswan_3.18-1_amd64.deb (--unpack):
   trying to overwrite '/etc/ipsec.conf', which is also in package 
strongswan-starter 5.5.0-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)


Using Breaks+Replaces would most likely be the wrong solution here.
If the conffile can be shared by both packages (hopefully it does),
it should be factored out into a separate package instead and both
users should add a dependency on this new package.


cheers,

Andreas

Reply via email to