<div dir="ltr">Package: golang-1.10<div>Version: 1.10.1-1</div><div><br></div><div>Running the experimental `vgo` command[1] produces the following error:<br></div><div><br></div><div>vgo requires Go 1.10 but VGOROOT=/usr/lib/go-1.10 is not a Go 1.10 source tree</div><div><br></div><div>It uses[2] the presence of `api/go1.10.txt` to detect the Go version, but Debian does not ship this file.</div><div><br></div><div>### Workaround</div><div><br></div><div>Creating the file resolves the problem.<br></div><div><br></div><div>$ mkdir -p /usr/lib/go-1.10/api; touch /usr/lib/go-1.10/api/go1.10.txt</div><div><br></div><div><br></div><div>### Environment</div><div><br></div><div>$ ls -al $(which go)</div><div>lrwxrwxrwx 1 root root 21 Feb 28 16:51 /usr/bin/go -> ../lib/go-1.10/bin/go*</div><div><div>$ go version</div><div>go version go1.10.1 linux/amd64</div></div><div><br></div><div><br></div><div>[1] <a href="https://github.com/golang/vgo">https://github.com/golang/vgo</a></div><div>[2] <a href="https://github.com/golang/vgo/blob/master/vendor/cmd/go/internal/cfg/cfg.go#L124">https://github.com/golang/vgo/blob/master/vendor/cmd/go/internal/cfg/cfg.go#L124</a></div></div>