[pkg-go] Bug#827330: golang-github-gorilla-mux-dev: missing Breaks+Replaces against golang-mux-dev

Andreas Beckmann anbe at debian.org
Wed Jun 15 00:14:03 UTC 2016


Package: golang-github-gorilla-mux-dev
Version: 1.1-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-gorilla-mux-dev.
  Preparing to unpack .../golang-github-gorilla-mux-dev_1.1-1_all.deb ...
  Unpacking golang-github-gorilla-mux-dev (1.1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/golang-github-gorilla-mux-dev_1.1-1_all.deb (--unpack):
   trying to overwrite '/usr/share/gocode/src/github.com/gorilla/mux/bench_test.go', which is also in package golang-mux-dev 0.0~git20140505.1.136d54f-2
  Errors were encountered while processing:
   /var/cache/apt/archives/golang-github-gorilla-mux-dev_1.1-1_all.deb


cheers,

Andreas



More information about the Pkg-go-maintainers mailing list