Bug#814527: libgccjit-6-doc: should Conflicts: libgccjit-5-doc, not itself
Package: libgccjit-6-doc
Version: 6-20160205-1
Severity: serious
User: debian-qa@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 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 libgccjit-6-doc.
Preparing to unpack .../libgccjit-6-doc_6-20160205-1_all.deb ...
Unpacking libgccjit-6-doc (6-20160205-1) ...
dpkg: error processing archive /var/cache/apt/archives/libgccjit-6-doc_6-20160205-1_all.deb (--unpack):
trying to overwrite '/usr/share/info/libgccjit.info.gz', which is also in package libgccjit-5-doc 5.3.1-8
Errors were encountered while processing:
/var/cache/apt/archives/libgccjit-6-doc_6-20160205-1_all.deb
Package: libgccjit-6-doc
Source: gcc-6
Version: 6-20160205-1
Conflicts: libgccjit-6-doc
That should probably be
Conflicts: libgccjit-5-doc
cheers,
Andreas
Reply to: