[pkg-golang-devel] Bug#836991: golang-doc: fails to upgrade from 'jessie': error: directory '/usr/lib/go' contains files not owned by package golang-go:i386, cannot switch to symlink

Tianon Gravi tianon at debian.org
Wed Dec 7 07:26:28 UTC 2016

On 5 December 2016 at 21:06, Tianon Gravi <tianon at debian.org> wrote:
> I _think_ adding "golang-doc (<< 2:1.6.1+1~)" to the existing "Breaks"
> on "golang-go" might actually be the solution to this issue (since the
> "golang-doc" package in jessie provides "/usr/lib/go/doc" as a
> symlink, but "golang-go" in sid/stretch changed all of "/usr/lib/go"
> to a symlink instead).

Figured out a piuparts invocation to properly test this (would love
offline hrefs for doing so without involving creating my own full repo
for testing local changes before upload...), and this does appear to
fix the issue, so I've uploaded this fix (should be hitting the
archive shortly). :)

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

More information about the pkg-golang-devel mailing list