[pkg-go] Bug#973629: golang-gopkg-alecthomas-kingpin.v3-dev: missing Breaks+Replaces: golang-gopkg-alecthomas-kingpin.v2-dev
Andreas Beckmann
anbe at debian.org
Mon Nov 2 16:43:20 GMT 2020
Package: golang-gopkg-alecthomas-kingpin.v3-dev
Version: 3.0~git20180227.b8d601d-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package failed to install
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#overwriting-files-and-replacing-packages-replaces
>From the attached log (scroll to the bottom...):
Selecting previously unselected package golang-gopkg-alecthomas-kingpin.v3-dev.
Preparing to unpack .../golang-gopkg-alecthomas-kingpin.v3-dev_3.0~git20180227.b8d601d-1_all.deb ...
Unpacking golang-gopkg-alecthomas-kingpin.v3-dev (3.0~git20180227.b8d601d-1) ...
dpkg: error processing archive /var/cache/apt/archives/golang-gopkg-alecthomas-kingpin.v3-dev_3.0~git20180227.b8d601d-1_all.deb (--unpack):
trying to overwrite '/usr/share/gocode/src/github.com/alecthomas/kingpin', which is also in package golang-gopkg-alecthomas-kingpin.v2-dev 2.2.6-2
Errors were encountered while processing:
/var/cache/apt/archives/golang-gopkg-alecthomas-kingpin.v3-dev_3.0~git20180227.b8d601d-1_all.deb
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-gopkg-alecthomas-kingpin.v2-dev=2.2.6-2_golang-gopkg-alecthomas-kingpin.v3-dev=3.0~git20180227.b8d601d-1.log.gz
Type: application/gzip
Size: 13405 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20201102/9e9f92b3/attachment.gz>
More information about the Pkg-go-maintainers
mailing list