Closed
Description
Currently with cargo:
$ cargo install cargo-pkgbuild # I have it already installed
Updating crates.io index
Downloaded cargo-pkgbuild v0.1.1
Downloaded 1 crates (717.7 KB) in 10.13s
Installing cargo-pkgbuild v0.1.1
error: binary `cargo-pkgbuild` already exists in destination as part of `cargo-pkgbuild v0.1.1 (/home/igor/Rust/cargo-pkgbuild)`
Add --force to overwrite
This exits with 101 error code. But for me it seems that downloading crate and issuing an error here doesn't make any sense.
E.g. rustup has expected behavior:
$ rustup component add clippy # It's also installed
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
This exits with 0.
Just failed into that on CI setup and wondered why this problem exists at all