Closed jayschwa closed 5 years ago
/cc @bcmills
Dup of #29278. Run go clean -modcache
and clear out the go.sum
entries for any modules whose repos contain symlinks.
@bcmills, this is not a duplicate. The problem still occurs after go clean -modcache
.
Yes, it is a duplicate. Read the whole reply.
and clear out the
go.sum
entries for any modules whose repos contain symlinks.
~/src/github.com/docker/docker$ find ./* -type l
./integration-cli/fixtures/https/server-key.pem
./integration-cli/fixtures/https/client-cert.pem
./integration-cli/fixtures/https/server-cert.pem
./integration-cli/fixtures/https/client-key.pem
./integration-cli/fixtures/https/ca.pem
Read the whole bug report. The first step of my example is rm go.sum
.
Yes, and you ran unset GOPATH && go mod tidy
. Did you also unset GOPATH
when you ran go clean -modcache
?
Here's what I get, starting from a clean GOPATH
:
Did you also unset
GOPATH
when you rango clean -modcache
?
No, that explains it. Sorry for the bother (and salt).
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I expected the same (or at least compatible)
go.sum
to be generated