Your message dated Tue, 27 Oct 2015 21:29:05 +0000
with message-id <e1zrbnl-0000af...@franck.debian.org>
and subject line Bug#802945: fixed in golang 2:1.5.1-2
has caused the Debian Bug report #802945,
regarding golang-go: Install fails with golang-golang-x-tools 
1:0.0~git20150716.0.87156cb+dfsg1-4 installed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
802945: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802945
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: golang-go
Version: 2:1.5.1-1
Severity: grave

When I tried upgrading today, I got:

,----
| Preconfiguring packages ...
| (Reading database ... 750549 files and directories currently installed.)
| Preparing to unpack .../golang-go_2%3a1.5.1-1_amd64.deb ...
| Unpacking golang-go (2:1.5.1-1) over (2:1.4.3-3) ...
| dpkg: error processing archive 
/var/cache/apt/archives/golang-go_2%3a1.5.1-1_amd64.deb (--unpack):
|  trying to overwrite '/usr/lib/go/pkg/tool/linux_amd64/vet', which is also in 
package golang-golang-x-tools 1:0.0~git20150716.0.87156cb+dfsg1-4
| dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
`----

Since vet and cover are shipped with the main distribution now, they
should no longer be shipped with golang-golang-x-tools and golang-go
should conflict with versions of golang-golang-x-tools that still
contain them.

The attached patches should fix this.

Cheers,
-Hilko
>From 89eb32084e10c733439c947876a205e79279aaf3 Mon Sep 17 00:00:00 2001
From: Hilko Bengen <ben...@debian.org>
Date: Sun, 25 Oct 2015 14:21:25 +0100
Subject: [PATCH] Add Conflicts for golang-golang-x-tools that still contain
 vet, cover

---
 debian/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/control b/debian/control
index dd82625..36244d1 100644
--- a/debian/control
+++ b/debian/control
@@ -35,6 +35,7 @@ Replaces: golang-go-darwin-386,
           golang-go-netbsd-amd64,
           golang-go-windows-386,
           golang-go-windows-amd64
+Conflicts: golang-golang-x-tools (<< 1:0.0~git20150716.0.87156cb+dfsg1-5~)
 Recommends: g++, gcc, libc6-dev, pkg-config
 Suggests: bzr, ca-certificates, git, golang-golang-x-tools, mercurial, subversion
 Description: Go programming language compiler, linker, compiled stdlib
-- 
2.6.1

>From 1d7a492f00c7f9fe04e19b6917efd2158cb3b946 Mon Sep 17 00:00:00 2001
From: Hilko Bengen <ben...@debian.org>
Date: Sun, 25 Oct 2015 14:17:54 +0100
Subject: [PATCH] Do not ship vet and cover binaries

---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index b1c1840..091bd64 100755
--- a/debian/rules
+++ b/debian/rules
@@ -65,6 +65,10 @@ override_dh_auto_install:
 	ln -s /usr/share/javascript/jquery/jquery.min.js $(CURDIR)/debian/tmp/usr/share/gocode/src/golang.org/x/tools/godoc/static/jquery.js
 	-rm $(CURDIR)/debian/tmp/usr/share/gocode/src/golang.org/x/tools/cmd/present/static/jquery-ui.js && \
 	ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js $(CURDIR)/debian/tmp/usr/share/gocode/src/golang.org/x/tools/cmd/present/static/jquery-ui.js
+	# Don't ship vet and cover as they have been moved to the main
+	# repository.
+	-rm $(CURDIR)/debian/tmp//usr/lib/go/pkg/tool/*/cover
+	-rm $(CURDIR)/debian/tmp//usr/lib/go/pkg/tool/*/vet
 
 %:
 	dh $@ --buildsystem=golang --with=golang
-- 
2.6.1


--- End Message ---
--- Begin Message ---
Source: golang
Source-Version: 2:1.5.1-2

We believe that the bug you reported is fixed in the latest version of
golang, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 802...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Tianon Gravi <tia...@debian.org> (supplier of updated golang package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 27 Oct 2015 13:28:56 -0700
Source: golang
Binary: golang-go golang-src golang-doc golang
Architecture: source
Version: 2:1.5.1-2
Distribution: unstable
Urgency: medium
Maintainer: Go Compiler Team <pkg-golang-de...@lists.alioth.debian.org>
Changed-By: Tianon Gravi <tia...@debian.org>
Description:
 golang     - Go programming language compiler - metapackage
 golang-doc - Go programming language - documentation
 golang-go  - Go programming language compiler, linker, compiled stdlib
 golang-src - Go programming language - source files
Closes: 802945
Changes:
 golang (2:1.5.1-2) unstable; urgency=medium
 .
   * Add Conflicts to force newer golang-golang-x-tools (Closes: #802945).
Checksums-Sha1:
 d07fae9f475418225dacc6164f8cd4b46492a0c3 2324 golang_1.5.1-2.dsc
 eb4e308518367a50bf64e0ddd33210e03a779bad 36868 golang_1.5.1-2.debian.tar.xz
Checksums-Sha256:
 74ee0d564d013c56692545f44f03fdca080a877d5e31f29843812967373ff84b 2324 
golang_1.5.1-2.dsc
 6dc5406adcacb1fe8edaed946849e1bf8a740e69e095337b51ad657064f1d39f 36868 
golang_1.5.1-2.debian.tar.xz
Files:
 c3a47ea51e3db48f3b1196a19323d41a 2324 devel optional golang_1.5.1-2.dsc
 00a3a41127403b6bb9a82ffb54ae582c 36868 devel optional 
golang_1.5.1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWL966AAoJEANqnCW/NX3Uf/gQAJ6PphxDAyRBtK6TTPhu6FCF
xRFV3A4kWwhgi1uma2LLP7hRGeGNFk1aXdGpp/1ZqRbA5YyM9W/5BwrorwohT06i
Px2Hnd1XoCvHPcHx8SOw8oyU0rb7Kfz8eLEGKowwv2Zf+EL9iFLs5h1D7UwGDpQH
zWWMlPhXJIpyDSTLh9ycbU+NSc/mzbK39B4McTf/TFoJTUmZwIvtMdESv9VX1JI0
zqEReViRdjtFHe3M6DqjO9amNCqhvWhJ3Gs61XWB8/NXCLdv0iLvvezB0UKQvIAP
RhTu+TMjFyySsvnW2dCVLf3JJUpwvx8BZ1q9faVOJ2oYJRnZ5BwG+QGl0E9N0JlH
D4rmTZZDg4LYhxfXp85kcQZT+CVkRXmzoXhf9hl6twwhtU/SlgKpZGzRLx0bKZP0
jwb8MV3DB+at21lSSg/QkkTaXS7CE/ylsRUkwKnm8XDZweBv0U7WqC1UbbyzFNJn
tucvu0y07G7wEj0eoUUAdF+E2ndqmdsro0Vilp3OuQwI7twp7P6B3dR3UDZ1rUVi
AR4BsQ+yT0ZlIQXlykvBTAWXvv/Hn3+Q1CoTZx4jzUuQtSWYlcUdTY0uKboZL0CA
6tVHEXNJJg+qZzeoyURX/cOmGxVdLpV6LTnve1hc0QKYjS/aBKp+mNzjrkA5mGsq
+0xZqkVkfnST/23r0hl0
=/TAB
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to