-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/go: go mod tidy installs unreleased and gone package #51888
Comments
uptrace/go-clickhouse will need to use |
as an user, you can use |
Please read the issue. There is no go.mod file and there is no version to retract. The package |
There was publicly available commit and it is cached. It needs to be retracted. |
Or deleted. That is why I've created this issue. To retract it, I need to update go.mod file for the package I could restore go.mod for Is there a way to manually remove https://proxy.golang.org/github.com/uptrace/go-clickhouse/ch/@v/v0.0.0-20220308124651-82a5d8d72ef7.mod? |
No, but your retraction can include the version it's published in, it also doesn't have to be on the main branch. |
@seankhliao thanks, that worked. |
Using Go 1.8 with this program:
Then I run:
The problem is that Go installs
github.com/uptrace/go-clickhouse/ch
package that was never properly released but was installed once using Git revision.github.com/uptrace/go-clickhouse/ch/go.mod
is long gone from the repository. I wantgithub.com/uptrace/go-clickhouse v0.2.2
to be installed instead.How can I completely remove
github.com/uptrace/go-clickhouse/ch
from the cache?The text was updated successfully, but these errors were encountered: