Hi,
I'm on Windows, I had Go 1.7.4 installed from the MSI installer. Today I
decided to upgrade to Go 1.8, so I downloaded the new MSI, ran it and
that was it.
However, first package I tried to install I got the following errors:
G:\Gopath\src\github.com\google> go get -u -v github.com/vrischmann/ghclone
github.com/vrischmann/ghclone (download)
github.com/google/go-github (download)
github.com/google/go-querystring (download)
runtime/internal/atomic
runtime
# runtime
C:\Go\src\runtime\utf8.go:16: surrogateMin redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:49
C:\Go\src\runtime\utf8.go:17: surrogateMax redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:50
C:\Go\src\runtime\utf8.go:21: t1 redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:31
C:\Go\src\runtime\utf8.go:22: tx redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:32
C:\Go\src\runtime\utf8.go:23: t2 redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:33
C:\Go\src\runtime\utf8.go:24: t3 redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:34
C:\Go\src\runtime\utf8.go:25: t4 redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:35
C:\Go\src\runtime\utf8.go:26: t5 redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:36
C:\Go\src\runtime\utf8.go:28: maskx redeclared in this block
previous declaration at C:\Go\src\runtime\rune.go:43
I got it working by uninstalling Go, removing the directory completely
in the explorer, and reinstalled Go.
Shouldn't the MSI installer remove the previous Go installation before
installing the new files ? Not sure if I did something wrong.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.