Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

bug in godep save #335

Closed
ghost opened this issue Nov 26, 2015 · 4 comments
Closed

bug in godep save #335

ghost opened this issue Nov 26, 2015 · 4 comments

Comments

@ghost
Copy link

ghost commented Nov 26, 2015

huzhifeng@s ~/go/src/github.com/netroby/gosense (master*) $ godep save
godep: cannot save golang.org/x/net/html at revision 4f2fc6c1e69d41baf187332ee08fbd2b296f21ed: already have golang.org/x/net at revision b4e17d61b15679caf2335da776c614169a1b4643.
Run `godep update golang.org/x/net' first.
huzhifeng@s ~/go/src/github.com/netroby/gosense (master*) $ godep update golang.org/x/net
godep: not in manifest: golang.org/x/net
godep: no packages can be updated

can not run godep save and godep update

@ghost
Copy link
Author

ghost commented Nov 26, 2015

I had to remove Godeps/Godeps.json , then run godep save again.

@freeformz
Copy link

What godep version?

@client9
Copy link
Contributor

client9 commented Dec 14, 2015

@freeformz

for x/net and x/crypto I've had to do

go get -u golang.org/x/net/...
godep update golang.org/x/net/...

then go get and godep seem to work fine. Its something to do with the way these packages are setup and I think not particular to godep

@freeformz
Copy link

See #362 and kubernetes/kubernetes#18695 (similar, dep was basically missing before).

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants