[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
Tue Dec 6 05:01:41 UTC 2016

On 20 November 2016 at 18:45, Tianon Gravi <tianon at debian.org> wrote:
> Any thoughts or hrefs on the "correct" way to fix this in the
> packaging?  (Or a simple way to figure out _which_ files don't belong
> so we can evaluate more clearly?)
> I don't want to just add "rm -rf" to the preinst, but if piuparts is
> noticing the problem, it's bound to be something we've done wrong in
> the jessie packaging of "golang-go". :(

I've reproduced, and I think this might actually be a case of
insufficient Conflicts/Breaks -- if I first purge golang-*, then the
new packages install fine.

Now to try and figure out exactly which new conflicts/breaks are
necessary...  :x

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

More information about the pkg-golang-devel mailing list