Package: golang-gopkg-alecthomas-kingpin.v2-dev
Version: 2.2.6-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + golang-github-gohugoio-hugo-dev

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'buster'.
It installed fine in 'buster', then the upgrade to 'bullseye' 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#overwriting-files-and-replacing-packages-replaces

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

  Preparing to unpack 
.../081-golang-gopkg-alecthomas-kingpin.v2-dev_2.2.6-2_all.deb ...
  Unpacking golang-gopkg-alecthomas-kingpin.v2-dev (2.2.6-2) over (2.2.6-1) ...
  dpkg: error processing archive 
/tmp/apt-dpkg-install-MCcm5P/081-golang-gopkg-alecthomas-kingpin.v2-dev_2.2.6-2_all.deb
 (--unpack):
   trying to overwrite '/usr/share/gocode/src/github.com/alecthomas/kingpin', 
which is also in package golang-gopkg-alecthomas-kingpin.v3-dev 
3.0~git20180227.b8d601d-1

golang-gopkg-alecthomas-kingpin.v3-dev is gone from the archive,
therefore the B+R can be unversioned.


cheers,

Andreas

Attachment: golang-github-gohugoio-hugo-dev_None.log.gz
Description: application/gzip

Reply via email to