Skip to content

When using v1.14.1, go get -u ./... wants to fetch v2.0.6+incompatible and fails #844

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
marianrh opened this issue Aug 20, 2020 · 3 comments

Comments

@marianrh
Copy link

Hi,

my go.mod contains:
github.com/mattn/go-sqlite3 v1.14.1

When doing go get -u ./... to upgrade all dependencies in my project, go says:

go: finding github.com/mattn/go-sqlite3 v2.0.6+incompatible
verifying github.com/mattn/[email protected]+incompatible/go.mod: github.com/mattn/[email protected]+incompatible/go.mod: reading https://sum.golang.org/lookup/github.com/mattn/[email protected]+incompatible: 410 Gone

I'm not sure whether this is a problem in my setup (I already cleared the Go modules caches using go clean -modcache), or whether the Go sumdb has invalid data or whether the tags in this project are weird somehow.

Thanks,
Marian

@marianrh
Copy link
Author

The problem above seems to occur when using the JFrog GoCenter proxy (https://search.gocenter.io/).

However, when using no proxy at all the situation is still not right. Without a proxy, go get -u ./... tries to upgrade to v2.0.3+incompatible:

go: finding github.com/mattn/go-sqlite3 v2.0.3+incompatible
go: downloading github.com/mattn/go-sqlite3 v2.0.3+incompatible
go: extracting github.com/mattn/go-sqlite3 v2.0.3+incompatible

This does not fail, but is still unexpected.

I'd be glad for any input!

@marianrh
Copy link
Author

Ok, it seems that this should be fixed in Go 1.14 (I'm using 1.13) according to golang/go#33558 (comment).

@jtherin
Copy link

jtherin commented Oct 6, 2020

Still get github.com/mattn/go-sqlite3 v2.0.3+incompatible with Go 1.15.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants