Package: golang-github-jessevdk-go-flags-dev
Version: 1.4.0-4
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

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

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

  Preparing to unpack .../golang-github-jessevdk-go-flags-dev_1.4.0-4_all.deb 
...
  Unpacking golang-github-jessevdk-go-flags-dev (1.4.0-4) ...
  dpkg: error processing archive 
/var/cache/apt/archives/golang-github-jessevdk-go-flags-dev_1.4.0-4_all.deb 
(--unpack):
   trying to overwrite 
'/usr/share/gocode/src/github.com/jessevdk/go-flags/arg.go', which is also in 
package golang-go-flags-dev 1.4.0-2
  Errors were encountered while processing:
   /var/cache/apt/archives/golang-github-jessevdk-go-flags-dev_1.4.0-4_all.deb

The exising Breaks+Replaces are insufficiently versioned: (<< 1.4.0-2~)
they don't cover the last version (1.4.0-2) before the package rename.


cheers,

Andreas

Attachment: golang-go-flags-dev=1.4.0-2_golang-github-jessevdk-go-flags-dev=1.4.0-4.log.gz
Description: application/gzip

Reply via email to