[Bug 2100266] Re: Versioned cargo wrapper script points to default cargo
Adrian Dombeck
2100266 at bugs.launchpad.net
Tue Nov 18 09:53:13 UTC 2025
The issue doesn't seem to be fixed on noble, the cargo wrapper still
uses /usr/bin/cargo:
$ sudo apt-cache policy cargo-1.85
cargo-1.85:
Installed: 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04
Candidate: 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04
Version table:
*** 1.85.1+dfsg0ubuntu2~bpo0-0ubuntu0.24.04 500
500 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages
500 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages
100 /var/lib/dpkg/status
$ /usr/lib/rust-1.85/share/cargo/bin/cargo --version
cargo 1.75.0
Am I doing something wrong?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc-1.76 in Ubuntu.
https://bugs.launchpad.net/bugs/2100266
Title:
Versioned cargo wrapper script points to default cargo
Status in rustc-1.76 package in Ubuntu:
Invalid
Status in rustc-1.77 package in Ubuntu:
Invalid
Status in rustc-1.78 package in Ubuntu:
Invalid
Status in rustc-1.79 package in Ubuntu:
Invalid
Status in rustc-1.80 package in Ubuntu:
Invalid
Status in rustc-1.81 package in Ubuntu:
In Progress
Status in rustc-1.82 package in Ubuntu:
In Progress
Status in rustc-1.83 package in Ubuntu:
In Progress
Status in rustc-1.84 package in Ubuntu:
In Progress
Status in rustc-1.85 package in Ubuntu:
In Progress
Status in rustc-1.88 package in Ubuntu:
In Progress
Status in rustc-1.76 source package in Focal:
New
Status in rustc-1.77 source package in Focal:
New
Status in rustc-1.78 source package in Focal:
New
Status in rustc-1.79 source package in Focal:
New
Status in rustc-1.80 source package in Focal:
New
Status in rustc-1.76 source package in Jammy:
New
Status in rustc-1.77 source package in Jammy:
New
Status in rustc-1.78 source package in Jammy:
New
Status in rustc-1.79 source package in Jammy:
New
Status in rustc-1.80 source package in Jammy:
New
Status in rustc-1.76 source package in Noble:
New
Status in rustc-1.77 source package in Noble:
New
Status in rustc-1.78 source package in Noble:
New
Status in rustc-1.79 source package in Noble:
New
Status in rustc-1.80 source package in Noble:
New
Status in rustc-1.80 source package in Oracular:
Won't Fix
Status in rustc-1.81 source package in Oracular:
Won't Fix
Status in rustc-1.81 source package in Plucky:
New
Status in rustc-1.82 source package in Plucky:
New
Status in rustc-1.83 source package in Plucky:
New
Status in rustc-1.84 source package in Plucky:
Triaged
Status in rustc-1.85 source package in Questing:
New
Status in rustc-1.88 source package in Questing:
New
Status in rustc-1.88 source package in Resolute:
In Progress
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.76/+bug/2100266/+subscriptions
More information about the foundations-bugs
mailing list