[Syslog-ng-maintainers] Bug#847708: syslog-ng-mod-json: fails to upgrade from 'testing' - trying to overwrite /usr/share/syslog-ng/include/scl/cim/template.conf

Andreas Beckmann anbe at debian.org
Sat Dec 10 19:08:45 GMT 2016


Package: syslog-ng-mod-json
Version: 3.8.1-7
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

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 syslog-ng-mod-json.
  Preparing to unpack .../2-syslog-ng-mod-json_3.8.1-7_amd64.deb ...
  Unpacking syslog-ng-mod-json (3.8.1-7) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-5g5j8A/2-syslog-ng-mod-json_3.8.1-7_amd64.deb (--unpack):
   trying to overwrite '/usr/share/syslog-ng/include/scl/cim/template.conf', which is also in package syslog-ng-core 3.8.1-6
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-5g5j8A/2-syslog-ng-mod-json_3.8.1-7_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-ng-core=3.8.1-6_syslog-ng-mod-json=3.8.1-7.log.gz
Type: application/gzip
Size: 9876 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/syslog-ng-maintainers/attachments/20161210/a04bcb8f/attachment.gz>


More information about the Syslog-ng-maintainers mailing list