Masterminds / glide

Package Management for Golang
https://glide.sh
Other
8.15k stars 541 forks source link

Failed to get dep exit status 128 #972

Open Somebi opened 6 years ago

Somebi commented 6 years ago

Glide version: glide version v0.13.1

[INFO] --> Fetching updates for github.com/prometheus/client_golang [WARN] Download failed. [ERROR] Update failed for github.com/emersion/go-message: Unable to update repository: exit status 128 [INFO] --> Fetching updates for github.com/dgrijalva/jwt-go [WARN] Download failed. [ERROR] Update failed for github.com/dgrijalva/jwt-go: Unable to update repository: exit status 128 [ERROR] Failed to checkout packages: Unable to update repository: exit status 128 Unable to update repository: exit status 128

Somebi commented 6 years ago

[WARN] Download failed. [ERROR] Update failed for github.com/go-openapi/spec: Unable to update repository: exit status 128 [DEBUG] Output was: fatal: unable to access 'https://github.com/go-openapi/spec/': Could not resolve host: github.com[DEBUG] Unlocking https-github.com-go-openapi-spec

Somebi commented 6 years ago

Tried to download manually via wget https://github.com/go-openapi/spec/ url and it downloaded it without problems. How the hell it can't resolve github.com? Via what it resolves domain then?

Somebi commented 6 years ago

Guess problem is somewhere here: Repository caching and data caching for improved performance.

I have multiple vpn and networks here and there... Possibly there is some caching going on and wrong domains resolving information was cached...

nihlaakram commented 6 years ago

Faced the same error
glide version v0.13.1


[WARN]  Download failed.
[ERROR] Update failed for gopkg.in/yaml.v2: Unable to update repository: exit status 128
[WARN]  Download failed.
[ERROR] Update failed for gopkg.in/gomail.v2: Unable to update repository: exit status 128
[ERROR] Failed to do initial checkout of config: Unable to update repository: exit status 128