[pkg-golang-devel] Bug#803559: golang-go: fails to upgrade from 'jessie' - trying to overwrite /usr/lib/go/pkg/tool/linux_amd64/cover

Andreas Beckmann anbe at debian.org
Sat Oct 31 12:30:41 UTC 2015


Package: golang-go
Version: 2:1.5.1-3
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
'jessie'.
It installed fine in 'jessie', 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 golang-go.
  Preparing to unpack .../golang-go_2%3a1.5.1-3_amd64.deb ...
  Unpacking golang-go (2:1.5.1-3) ...
  dpkg: error processing archive /var/cache/apt/archives/golang-go_2%3a1.5.1-3_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/go/pkg/tool/linux_amd64/cover', which is also in package golang-go.tools 0.0~hg20140703-4
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/golang-go_2%3a1.5.1-3_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-go.tools=0.0~hg20140703-4_golang-go=2%1.5.1-3.log.gz
Type: application/gzip
Size: 17103 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-golang-devel/attachments/20151031/ecb51c23/attachment.bin>


More information about the pkg-golang-devel mailing list