[pkg-go] Bug#843031: golang-github-nsf-termbox-go-dev: fails to upgrade from 'jessie' - trying to overwrite /usr/share/gocode/src/github.com/nsf/termbox-go/_demos/editbox.go

Andreas Beckmann anbe at debian.org
Thu Nov 3 09:34:47 UTC 2016


Package: golang-github-nsf-termbox-go-dev
Version: 0.0~git20160914-1
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-github-nsf-termbox-go-dev.
  Preparing to unpack .../golang-github-nsf-termbox-go-dev_0.0~git20160914-1_all.deb ...
  Unpacking golang-github-nsf-termbox-go-dev (0.0~git20160914-1) ...
  dpkg: error processing archive /var/cache/apt/archives/golang-github-nsf-termbox-go-dev_0.0~git20160914-1_all.deb (--unpack):
   trying to overwrite '/usr/share/gocode/src/github.com/nsf/termbox-go/_demos/editbox.go', which is also in package golang-termbox-dev 0.0~git20140119-1
  Errors were encountered while processing:
   /var/cache/apt/archives/golang-github-nsf-termbox-go-dev_0.0~git20160914-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-termbox-dev=0.0~git20140119-1_golang-github-nsf-termbox-go-dev=0.0~git20160914-1.log.gz
Type: application/gzip
Size: 18776 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20161103/d7d14b7e/attachment-0001.bin>


More information about the Pkg-go-maintainers mailing list