[pkg-go] Bug#801558: golang-codegangsta-cli-dev: fails to upgrade from 'testing' - trying to overwrite /usr/share/gocode/src/github.com/codegangsta/cli/command.go

Andreas Beckmann anbe at debian.org
Mon Oct 12 04:56:44 UTC 2015


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


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-codegangsta-cli-dev_0.0~git20150117-2.log.gz
Type: application/gzip
Size: 14722 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20151012/dddfc2b4/attachment-0001.bin>


More information about the Pkg-go-maintainers mailing list