[pkg-go] Bug#940490: golang-gopkg-libgit2-git2go.v28-dev: ships files in /usr/share/gocode/src/gopkg.in/libgit2/git2go.v27

Andreas Beckmann anbe at debian.org
Mon Sep 16 13:14:39 BST 2019


Package: golang-gopkg-libgit2-git2go.v28-dev
Version: 0.28+git20190813.37e5b53-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
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

You probably missed to update some installation paths for the new release.

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../golang-gopkg-libgit2-git2go.v28-dev_0.28+git20190813.37e5b53-1_all.deb ...
  Unpacking golang-gopkg-libgit2-git2go.v28-dev (0.28+git20190813.37e5b53-1) ...
  dpkg: error processing archive /var/cache/apt/archives/golang-gopkg-libgit2-git2go.v28-dev_0.28+git20190813.37e5b53-1_all.deb (--unpack):
   trying to overwrite '/usr/share/gocode/src/gopkg.in/libgit2/git2go.v27/blame.go', which is also in package golang-gopkg-libgit2-git2go.v27-dev 0.27+git20180529.9abc050-2
  Errors were encountered while processing:
   /var/cache/apt/archives/golang-gopkg-libgit2-git2go.v28-dev_0.28+git20190813.37e5b53-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-gopkg-libgit2-git2go.v27-dev=0.27+git20180529.9abc050-2_golang-gopkg-libgit2-git2go.v28-dev=0.28+git20190813.37e5b53-1.log.gz
Type: application/gzip
Size: 10744 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20190916/9309fede/attachment.gz>


More information about the Pkg-go-maintainers mailing list