Package: golang-github-masterminds-sprig-dev
Version: 3.2.3-4
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', 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-masterminds-sprig-dev_3.2.3-4_all.deb 
...
  Unpacking golang-github-masterminds-sprig-dev (3.2.3-4) ...
  dpkg: error processing archive 
/var/cache/apt/archives/golang-github-masterminds-sprig-dev_3.2.3-4_all.deb 
(--unpack):
   trying to overwrite 
'/usr/share/gocode/src/github.com/Masterminds/sprig/crypto.go', which is also 
in package golang-github-masterminds-sprig-v3-dev 3.2.3-2
  Errors were encountered while processing:
   /var/cache/apt/archives/golang-github-masterminds-sprig-dev_3.2.3-4_all.deb

There are Breaks+Replaces: golang-github-masterminds-sprig-v3-dev (<< 3.2.2-3~)
but these need to be against                                      (<< 3.2.3-3~)
                                                                          ^

cheers,

Andreas

Reply via email to