[pkg-go] Bug#826686: golang-github-burntsushi-toml-dev: fails to upgrade from 'testing' - trying to overwrite /usr/share/gocode/src/github.com/BurntSushi/toml/_examples/example.go

Andreas Beckmann anbe at debian.org
Tue Jun 7 22:17:23 UTC 2016


Package: golang-github-burntsushi-toml-dev
Version: 0.2.0-2
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 golang-github-burntsushi-toml-dev.
  Preparing to unpack .../golang-github-burntsushi-toml-dev_0.2.0-2_all.deb ...
  Unpacking golang-github-burntsushi-toml-dev (0.2.0-2) ...
  dpkg: error processing archive /var/cache/apt/archives/golang-github-burntsushi-toml-dev_0.2.0-2_all.deb (--unpack):
   trying to overwrite '/usr/share/gocode/src/github.com/BurntSushi/toml/_examples/example.go', which is also in package golang-toml-dev 0.2.0-1
  Processing triggers for libc-bin (2.22-9) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/golang-github-burntsushi-toml-dev_0.2.0-2_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-toml-dev=0.2.0-1_golang-github-burntsushi-toml-dev=0.2.0-2.log.gz
Type: application/gzip
Size: 9618 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160608/dd108d4c/attachment.bin>


More information about the Pkg-go-maintainers mailing list