[Bug 2119014] Re: /usr/lib/rustlib is contained in multiple packages

Launchpad Bug Tracker 2119014 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: Confirmed => 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/2119014

Title:
  /usr/lib/rustlib is contained in multiple packages

Status in rust-defaults package in Ubuntu:
  Fix Released

Bug description:
  When trying to upgrade my riscv64 questing system I received this
  error:

  Unpacking rustc (1.85.1ubuntu1) over (1.84.0ubuntu1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-Bacnwr/155-rustc_1.85.1ubuntu1_riscv64.deb (--unpack):
   trying to overwrite '/usr/lib/rustlib', which is also in package rust-src (1.84.0ubuntu1)

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




More information about the foundations-bugs mailing list