[pkg-golang-devel] Bug#810595: golang-go: missing Breaks on all the packages it Replaces

Andreas Beckmann anbe at debian.org
Sun Jan 10 10:03:58 UTC 2016


Package: golang-go
Version: 2:1.5.1-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts replaces-without-breaks

Hi,

during a test with piuparts and DOSE tools I noticed your package causes
removal of files that also belong to another package.
This is caused by using Replaces without corresponding Breaks.

This is a serious bug violating policy 7.6, see
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
and also see the footnote that describes this incorrect behavior
https://www.debian.org/doc/debian-policy/footnotes.html#f53

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

1m45.8s DEBUG: Modified(user, group, mode, size, target): /var/lib/dpkg/info/golang-go-linux-amd64.list expected(root, root, - 100644, 14387, None) != found(root, root, - 100644, 5721, None)
1m45.8s ERROR: FAIL: After purging files have disappeared:
  /usr/lib/go/pkg/linux_amd64/archive/tar.a      owned by: golang-go
  /usr/lib/go/pkg/linux_amd64/archive/zip.a      owned by: golang-go
  /usr/lib/go/pkg/linux_amd64/bufio.a    owned by: golang-go
  /usr/lib/go/pkg/linux_amd64/bytes.a    owned by: golang-go
  /usr/lib/go/pkg/linux_amd64/compress/bzip2.a   owned by: golang-go
[...]
  /usr/lib/go/pkg/linux_amd64_race/text/tabwriter.a      owned by: golang-go
  /usr/lib/go/pkg/linux_amd64_race/time.a        owned by: golang-go
  /usr/lib/go/pkg/linux_amd64_race/unicode.a     owned by: golang-go
  /usr/lib/go/pkg/linux_amd64_race/unicode/utf16.a       owned by: golang-go
  /usr/lib/go/pkg/linux_amd64_race/unicode/utf8.a        owned by: golang-go

1m45.8s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/golang-go-linux-amd64.list  not owned


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-go-linux-amd64=2%1.3.3-1_golang-go=2%1.5.2-1.log.gz
Type: application/gzip
Size: 17155 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-golang-devel/attachments/20160110/f165752e/attachment.bin>


More information about the pkg-golang-devel mailing list