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

error: could not find disel_cli in registry https://github.com/rust-lang/crates.io-index #6662

Closed
jparr721 opened this issue Feb 14, 2019 · 7 comments
Labels
C-bug Category: bug

Comments

@jparr721
Copy link

Problem
I cannot seem to install global packages using the global cargo install command. I have seen this issue twice now on the issue board here and I have tried all recommended fixes to no avail whatsoever. I am opening this issue because I simply cannot figure out what might be going wrong here.

Steps

  1. cargo install diesel_cli --no-default-features --features postgres
  2. Let it run
  3. error: could not find 'disel_cli' in registry 'https://github.com/rust-lang/crates.io-index'

However, Diesel_cli does exist and is right here

Possible Solution(s)
I have tried to delete $CARGO_HOME/registry, added a .cargo/config file, and also checked my .gitconfig as per @alexcrichton in #4007 and #2605

Notes

Output of cargo version: cargo 1.34.0-nightly (865cb70 2019-02-10)

I am running linux 4.20.7-arch1-1-ARCH with a Intel i5-8400 (6) @ 4.000GHz CPU.

I really am not sure what the heck is going on here. Could this be a linux-related issue?

@jparr721 jparr721 added the C-bug Category: bug label Feb 14, 2019
@ehuss
Copy link
Contributor

ehuss commented Feb 14, 2019

Is disel_cli in your error message a typo, or is that what it actually says?

@jparr721
Copy link
Author

Sorry for the delay @ehuss, what do you mean for this?

@ehuss
Copy link
Contributor

ehuss commented Feb 15, 2019

The error message you posted is missing the letter e. It is diesel_cli not disel_cli. I was wondering if Cargo actually printed that, or if there was a copy-paste error. If it actually printed that, there is a typo somewhere.

@jparr721
Copy link
Author

Oh my god. That was the mistake. Forgive me man, thanks for the prompt responses.

@sopheaksem1993
Copy link

Pay attention to spelling rather than code

@hadamssmith
Copy link

I cannot seem to install findomain packages using the global cargo install on termux

error: could not find findomain in registry crates-io with version *

@Eh2406
Copy link
Contributor

Eh2406 commented Mar 29, 2022

@hadamssmith it looks like all versions of that crate have been yanked https://crates.io/crates/findomain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

5 participants