[Bug 2100266] [NEW] Versioned cargo wrapper script points to default cargo

Simon Chopin 2100266 at bugs.launchpad.net
Wed Feb 26 09:40:26 UTC 2025


Public bug reported:

If you use the cargo wrapper script provided by a versioned cargo
package, e.g. /usr/lib/rust-1.80/share/cargo/bin/cargo, it will invoke
/usr/bin/cargo rather than /usr/lib/rust-1.80/bin/cargo.

** Affects: rustc-1.80 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rustc-1.83 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rustc-1.84 (Ubuntu)
     Importance: High
         Status: Triaged

** Also affects: rustc-1.83 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: rustc-1.80 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc-1.83 in Ubuntu.
https://bugs.launchpad.net/bugs/2100266

Title:
  Versioned cargo wrapper script points to default cargo

Status in rustc-1.80 package in Ubuntu:
  New
Status in rustc-1.83 package in Ubuntu:
  New
Status in rustc-1.84 package in Ubuntu:
  Triaged

Bug description:
  If you use the cargo wrapper script provided by a versioned cargo
  package, e.g. /usr/lib/rust-1.80/share/cargo/bin/cargo, it will invoke
  /usr/bin/cargo rather than /usr/lib/rust-1.80/bin/cargo.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.80/+bug/2100266/+subscriptions




More information about the foundations-bugs mailing list