[Bug 2127125] Re: rust-src symlink is broken

Launchpad Bug Tracker 2127125 at bugs.launchpad.net
Tue Oct 21 14:14:51 UTC 2025


This bug was fixed in the package rust-defaults - 1.88.0ubuntu1

---------------
rust-defaults (1.88.0ubuntu1) resolute; urgency=medium

  [ Max Gilmour ]
  * d/rules: move default version of Rust toolchain to 1.88.0 (LP: #2127863)
  * Fix /usr/lib/rustlib file conflict issue on upgrade (LP: #2119014)
    - d/rules,d/architecture.mk: define substitution variables for dh_install
    - d/rustc.links: replace rustlib link with link to arch-specific child dir

  [ Simon Chopin ]
  * rust-src: fix symlink by redirecting through /u/l/rust-XX (LP: #2127125)

 -- Simon Chopin <schopin at ubuntu.com>  Wed, 15 Oct 2025 16:57:02 +0200

** Changed in: rust-defaults (Ubuntu)
       Status: New => Fix Released

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

Title:
  rust-src symlink is broken

Status in rust-defaults package in Ubuntu:
  Fix Released

Bug description:
  The symlink from /usr/src/rustc-${env:RUST_VERSION} to /usr/lib/rustlib/src/rust is broken.
  /usr/src/rustc-${env:RUST_VERSION} does not exist; the directory created by rust-X.Y-src is actually
  located at /usr/src/rustc-${env:RUST_LONG_VERSION}.

  Steps to reproduce:

  root at broken-rust-src-link:~# apt install -y rust-src
  [...]
  root at broken-rust-src-link:~# ls /usr/lib/rustlib/src
  rust
  root at broken-rust-src-link:~# test -e /usr/lib/rustlib/src/rust || echo "link is broken"
  link is broken

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-defaults/+bug/2127125/+subscriptions




More information about the foundations-bugs mailing list