Cargo install issues(Ubuntu20.04)

inch-G5-Notebook-PC:~$ cargo install cargo-binutils --locked cargo
Updating crates.io index
error: failed to fetch https://github.com/rust-lang/crates.io-index

Caused by:
could not execute process git fetch --force --update-head-ok 'https://github.com/rust-lang/crates.io-index' '+HEAD:refs/remotes/origin/HEAD' (never executed)

How to do ?

Do you have git installed and can you run that git fetch --force --update-head-ok 'https://github.com/rust-lang/crates.io-index command manually?

Thanks a lot, I will try it.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.