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

If the cargo index is removed install-update fails to run #150

Closed
xbb opened this issue Dec 7, 2020 · 3 comments
Closed

If the cargo index is removed install-update fails to run #150

xbb opened this issue Dec 7, 2020 · 3 comments

Comments

@xbb
Copy link

xbb commented Dec 7, 2020

Clearing the cargo index (manually or for example via cargo-cache crate) breaks cargo install-update -l/-a etc...

Couldn't get package repository: Couldn't read /home/user/.cargo/registry/index/github.com-1ecc6299db9ec823 (index directory for https://github.com/rust-lang/crates.io-index): No such file or directory (os error 2).

A work around is to rebuild the index with cargo search --limit 0 or cargo search <crate>

@nabijaczleweli
Copy link
Owner

Can you try current master (at least 5420022)?

@xbb
Copy link
Author

xbb commented Dec 7, 2020

Just tested and it works fine!

Thank you

@nabijaczleweli
Copy link
Owner

Cool, released in v5.0.0!

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

No branches or pull requests

2 participants