Latest clangd won't install on Bookworm and Trixie
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Installing latest `clangd` from `http://apt.llvm.org` on *Bookworm* and *Trixie* seems to fail:
```Containerfile
#! /usr/bin/env -S podman build --no-cache -f
FROM debian:trixie
RUN apt-get update && apt-get install -y ca-certificates
ADD --chmod=644 https://apt.llvm.org/llvm-snapshot.gpg.key /etc/apt/keyrings/llvm.asc
COPY <= 22~) but it is not installable
E: Unable to correct problems, you have held broken packages.
E: The following information from --solver 3.0 may provide additional context:
Unable to satisfy dependencies. Reached two conflicting decisions:
1. clangd:amd64=1:22.0-62~exp2~20251121220725.4 is selected for install
2. clangd:amd64=1:22.0-62~exp2~20251121220725.4 Depends clangd-22 (>= 22~)
but none of the choices are installable:
[no choices]
```
The same Containerfile seems to work and installs `clangd-23` when based on *Bullseye*:
```Containerfile
#! /usr/bin/env -S podman build --no-cache -f
FROM debian:bullseye
RUN apt-get update && apt-get install -y ca-certificates
ADD --chmod=644 https://apt.llvm.org/llvm-snapshot.gpg.key /etc/apt/keyrings/llvm.asc
COPY <
Contributor guide
Assessment
This issue has not been assessed yet.