Skip to content

Suspicious change to libc++-20-dev dependency on libc++* #144501

Open
@firewave

Description

@firewave

Starting today I was seeing this installing the packages from apt.llvm.org

The following packages were automatically installed and are no longer required:
  libc++1-20 libc++abi1-20 libunwind-20
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
  libc++1 libc++abi1 libunwind
The following packages will be upgraded:
  clang-20 clang-21 clang-tidy-20 clang-tidy-21 clang-tools-20 clang-tools-21 clangd-20 libc++-20-dev libc++abi-20-dev
  libclang-20-dev libclang-21-dev libclang-common-20-dev libclang-common-21-dev libclang-cpp20 libclang-cpp21
  libclang-rt-20-dev libclang-rt-21-dev libclang1-20 libclang1-21 liblldb-20 libllvm20 libllvm21 libunwind-20-dev
  lld-20 lldb-20 llvm-20 llvm-20-dev llvm-20-linker-tools llvm-20-runtime llvm-20-tools llvm-21 llvm-21-dev
  llvm-21-linker-tools llvm-21-runtime llvm-21-tools python3-lldb-20

The current system shows the following dependencies

$ apt-cache rdepends libc++1-20 libc++abi1-20 libunwind-20
libc++1-20
Reverse Depends:
  libc++-20-dev
libc++abi1-20
Reverse Depends:
  libc++1-20
  libc++abi-20-dev
libunwind-20
Reverse Depends:
  libc++1-20
  libunwind-20-dev
  libc++abi1-20
$ apt-cache show libc++-20-dev
Package: libc++-20-dev
Source: llvm-toolchain-20
Version: 1:20.1.7~++20250616065743+6146a88f6049-1~exp1~20250616065852.130
Architecture: amd64
Maintainer: LLVM Packaging Team <[email protected]>
Installed-Size: 20397
Depends: libc++1 (= 1:20.1.7~++20250616065743+6146a88f6049-1~exp1~20250616065852.130), libc++abi-20-dev (= 1:20.1.7~++20250616065743+6146a88f6049-1~exp1~20250616065852.130), libunwind-20-dev

Looks like the version was accidentally dropped from the dependency for the newer package:

$ apt-cache depends libc++-20-dev
libc++-20-dev
  Depends: libc++1
  Depends: libc++abi-20-dev
  Depends: libunwind-20-dev

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions