-
Notifications
You must be signed in to change notification settings - Fork 1k
dep init solve error #473
Comments
Hmm...there's no normal scenario in which the tool would modify a file in the cache, which is where this error almost certainly is coming from. Three questions:
I know it's not a good solution, but |
The previous dep works fine(April 9). I updated dep and it told me missing Gopkg.toml and need dep init it.
no such file or directory: /Users/sdrzlyz/.godeps/pkg/dep/sources/ Anything more detail need I provide to solve this problem? |
They key here is whether you interrupted since updating to the latest dep. We changed the way signals are handled recently, and it's created these situations where git can terminate too quickly, possibly creating an inconsistent disk state (like what you've been seeing) on subsequent runs.
That's when attempting the |
@sdboyer Yes, I have multi GOPATH. I found those file in my project dir. |
OK, glad you got it fixed. It sounds like this is a symptom of a problem for which we already have a ticket, so closing this one out. |
solve error: No versions of golang.org/x/crypto met constraints:
master: Unable to update checked out version: error: Your local changes to the following files would be overwritten by checkout:
ssh/agent/example_test.go
Please commit your changes or stash them before you switch branches.
Aborting
No versions of golang.org/x/crypto met constraints:
master: Unable to update checked out version: error: Your local changes to the following files would be overwritten by checkout:
ssh/agent/example_test.go
Please commit your changes or stash them before you switch branches.
Aborting
The text was updated successfully, but these errors were encountered: