Skip to content
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

glide update failed to retrieve a list of dependencies #3700

Closed
amitkrout opened this issue Aug 5, 2020 · 5 comments · Fixed by #3866
Closed

glide update failed to retrieve a list of dependencies #3700

amitkrout opened this issue Aug 5, 2020 · 5 comments · Fixed by #3866
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done.

Comments

@amitkrout
Copy link
Contributor

/kind bug

What versions of software are you using?

Operating System:
Supported
Output of odo version:
master

How did you run odo exactly?

glide update

Actual behavior

$ glide update
[INFO]  Downloading dependencies. Please wait...
[...]
[INFO]  --> Setting version for github.com/evanphx/json-patch to v4.2.0.
[WARN]  Conflict: k8s.io/apimachinery version is origin-4.4-kubernetes-1.17.1, but also asked for v0.17.0
[...]
[WARN]  Conflict: k8s.io/client-go version is origin-4.4-kubernetes-1.17.1, but also asked for v0.17.0
[...]
[WARN]  Conflict: k8s.io/api version is origin-4.4-kubernetes-1.17.1, but also asked for v0.17.0
[...]
[WARN]  Conflict: github.com/onsi/ginkgo rev is currently v1.14.0, but k8s.io/apimachinery wants v1.10.1
[...]
[WARN]  Conflict: github.com/onsi/gomega rev is currently v1.10.1, but k8s.io/apimachinery wants v1.7.0
[...]
[WARN]  Conflict: github.com/docker/docker rev is currently v19.03.8, but k8s.io/kubectl wants be7ac8be2ae0
[...]
[ERROR] Error scanning sigs.k8s.io/controller-runtime/pkg/runtime/scheme: cannot find package "." in:
        /Users/amit/.glide/cache/src/https-sigs.k8s.io-controller-runtime/pkg/runtime/scheme
[...]
[ERROR] Failed to retrieve a list of dependencies: Error resolving imports

Expected behavior

Dependencies should be updated

Any logs, error output, etc?

@openshift-ci-robot openshift-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 5, 2020
@amitkrout
Copy link
Contributor Author

blocking pr #3657

@amitkrout
Copy link
Contributor Author

ping @girishramnani

@amitkrout amitkrout added the priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). label Aug 5, 2020
@girishramnani girishramnani added priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done. and removed priority/High Important issue; should be worked on before any other issues (except priority/Critical issue(s)). labels Aug 5, 2020
@kadel
Copy link
Member

kadel commented Aug 20, 2020

can you try cleaning glide cache first? rm -r ~/.glide/cache
This resolved this issue for me

$ glide update

You should always run glide update --strip-vendor or better make vendor-update

@girishramnani
Copy link
Contributor

now this is not relavent anymore because of this #3866

@kadel kadel mentioned this issue Sep 2, 2020
4 tasks
@prietyc123
Copy link
Contributor

now this is not relavent anymore because of this #3866

/close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants