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

2016-01-12 Thread Tianon Gravi
Control: tags -1 + pending

On 10 January 2016 at 02:03, Andreas Beckmann  wrote:
> 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.

Doh, this is my bad!  I've got a fix in Git now, and am currently just
building and running it through piuparts to verify it, and plan to
upload as soon as I know it's good. :)

Thanks for the report!

♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4



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

2016-01-12 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + pending
Bug #810595 [golang-go] golang-go: missing Breaks on all the packages it 
Replaces
Added tag(s) pending.

-- 
810595: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810595
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#810595: golang-go: missing Breaks on all the packages it Replaces

2016-01-10 Thread Andreas Beckmann
Package: golang-go
Version: 2:1.5.1-4
Severity: serious
User: debian...@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.aowned by: golang-go
  /usr/lib/go/pkg/linux_amd64/bytes.aowned 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.aowned 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.aowned 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


golang-go-linux-amd64=2%1.3.3-1_golang-go=2%1.5.2-1.log.gz
Description: application/gzip