lan-mouse icon indicating copy to clipboard operation
lan-mouse copied to clipboard

Cannot install in Ubuntu 24.04

Open csandwith opened this issue 1 year ago • 1 comments

Attempting to install lan-mouse on Ubuntu 24 fails with the following message:

$ cargo install lan-mouse
    Updating crates.io index
  Installing lan-mouse v0.9.1
error: failed to compile `lan-mouse v0.9.1`, intermediate artifacts can be found at `/tmp/cargo-installjgK0YL`

Caused by:
  failed to select a version for `env_logger`.
      ... required by package `lan-mouse v0.9.1`
  versions that meet the requirements `^0.11.3` are: 0.11.5, 0.11.4, 0.11.3

  the package `lan-mouse` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
   It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


  failed to select a version for `env_logger` which could resolve this conflict

csandwith avatar Aug 08 '24 14:08 csandwith

We had this issue recently. You need to update cargo.

rustup update

Should do the trick depending on how you installed rust

feschber avatar Aug 08 '24 14:08 feschber

Do you have an update?

feschber avatar Sep 03 '24 22:09 feschber

It is working have checked

tanish20j avatar Sep 19 '24 07:09 tanish20j

Thank you!

feschber avatar Sep 19 '24 08:09 feschber