[GH-ISSUE #175] Cannot install in Ubuntu 24.04 #76

Closed
opened 2026-05-05 22:08:16 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @csandwith on GitHub (Aug 8, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/175

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
Originally created by @csandwith on GitHub (Aug 8, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/175 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 ```
Author
Owner

@feschber commented on GitHub (Aug 8, 2024):

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

rustup update

Should do the trick depending on how you installed rust

<!-- gh-comment-id:2275957394 --> @feschber commented on GitHub (Aug 8, 2024): We had this issue recently. You need to update cargo. ```sh rustup update ``` Should do the trick depending on how you installed rust
Author
Owner

@feschber commented on GitHub (Sep 3, 2024):

Do you have an update?

<!-- gh-comment-id:2327556713 --> @feschber commented on GitHub (Sep 3, 2024): Do you have an update?
Author
Owner

@tanish20j commented on GitHub (Sep 19, 2024):

It is working have checked

<!-- gh-comment-id:2360185803 --> @tanish20j commented on GitHub (Sep 19, 2024): It is working have checked
Author
Owner

@feschber commented on GitHub (Sep 19, 2024):

Thank you!

<!-- gh-comment-id:2360296895 --> @feschber commented on GitHub (Sep 19, 2024): Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#76
No description provided.