Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

solve error: Unable to retrieve local repo information #469

Closed
amenzhinsky opened this issue Apr 27, 2017 · 5 comments · Fixed by #857
Closed

solve error: Unable to retrieve local repo information #469

amenzhinsky opened this issue Apr 27, 2017 · 5 comments · Fixed by #857

Comments

@amenzhinsky
Copy link

amenzhinsky commented Apr 27, 2017

$ dep init 
Unable to cache golang.org/x/net
Cached gopkg.in/yaml.v2
Cached github.com/go-sql-driver/mysql
Cached github.com/lib/pq
Cached github.com/mattn/go-sqlite3
solve error: Unable to retrieve local repo information: 
Unable to retrieve local repo information: 

Most likely it's caused by git clone process interruption, like Ctrl+c.
Previous discussion is here: #320 (comment)

@sdboyer
Copy link
Member

sdboyer commented Apr 28, 2017

Noting - while the idea to do initial clones into a tempdir is great, it doesn't help with all cases, as there's plenty of local-only/post-clone operations that can result in undefined disk state if cmds are killed. (#473 could well be an instance of that).

@ethanfrogers
Copy link

Is there any work around for this?

@sdboyer sdboyer added the bug label Apr 29, 2017
@sdboyer
Copy link
Member

sdboyer commented Apr 29, 2017

@ethanfrogers it's kinda stuck behind #453, unfortunately; it's a somewhat involved fix, so I want to defer it until after we get gps moved over (lest it end up holding up the whole move).

@amenzhinsky
Copy link
Author

@ethanfrogers rm -rf $GOPATH/pkg/dep/sources

@sdboyer
Copy link
Member

sdboyer commented Apr 29, 2017

(sorry, I read "is there any work around for this" as "is there any work to be done/contributed on this")

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

Successfully merging a pull request may close this issue.

4 participants