Open glebpom opened 2 days ago
I'm not sure if it's really a duplicate. Five hours ago, building the proposed fix was started, and the versions here are different.
Yeah, I noticed after that that your versions are latest. @sylvestre seems that 19 packages have another issue.
This is a new issue. It was still working yesterday (or maybe even just a few hours ago).
+ apt-get install -y clang-19 lldb-19 lld-19 clangd-19
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
clang-19 : Depends: libclang-cpp19 (>= 1:19.1.0~++20240919065040+64075837b553) but it is not going to be installed
Depends: libllvm19 (>= 1:19.1.0) but 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40 is to be installed
Depends: llvm-19-linker-tools (= 1:19.1.0~++20[240](https://github.com/danmar/cppcheck/actions/runs/10942033159/job/30378066407?pr=6812#step:6:241)919065040+64075837b553-1~exp1~20240919065053.40) but it is not going to be installed
Depends: libclang1-19 (= 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40) but it is not going to be installed
Recommends: llvm-19-dev but it is not going to be installed
clangd-19 : Depends: libclang-cpp19 (>= 1:19.1.0~++20240919065040+64075837b553) but it is not going to be installed
Depends: libllvm19 (>= 1:19.1.0) but 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40 is to be installed
lld-19 : Depends: libllvm19 (>= 1:19.1.0) but 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40 is to be installed
lldb-19 : Depends: libclang-cpp19 (>= 1:19.1.0~++20240919065040+64075837b553) but it is not going to be installed
Depends: liblldb-19 (>= 1:19.1.0) but it is not going to be installed
Depends: libllvm19 (>= 1:19.1.0) but 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40 is to be installed
Depends: python3-lldb-19 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I can confirm that I am also seeing this problem. It started some time in the last 12-18 hours, as I was able to do this successfully yesterday evening.
From a docker build:
4.791 + apt-get install -y clang-19 lldb-19 lld-19 clangd-19
4.817 Reading package lists...
5.584 Building dependency tree...
5.746 Reading state information...
5.800 Some packages could not be installed. This may mean that you have
5.800 requested an impossible situation or if you are using the unstable
5.800 distribution that some required packages have not yet been created
5.800 or been moved out of Incoming.
5.800 The following information may help to resolve the situation:
5.800
5.800 The following packages have unmet dependencies:
5.858 clang-19 : Depends: libclang-cpp19 (>= 1:19.1.0~++20240919065040+64075837b553) but it is not going to be installed
5.858 Depends: libllvm19 (>= 1:19.1.0) but 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40 is to be installed
5.858 Depends: llvm-19-linker-tools (= 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40) but it is not going to be installed
5.858 Depends: libclang1-19 (= 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40) but it is not going to be installed
5.858 Recommends: llvm-19-dev but it is not going to be installed
5.858 clangd-19 : Depends: libclang-cpp19 (>= 1:19.1.0~++20240919065040+64075837b553) but it is not going to be installed
5.858 Depends: libllvm19 (>= 1:19.1.0) but 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40 is to be installed
5.860 lld-19 : Depends: libllvm19 (>= 1:19.1.0) but 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40 is to be installed
5.860 lldb-19 : Depends: libclang-cpp19 (>= 1:19.1.0~++20240919065040+64075837b553) but it is not going to be installed
5.860 Depends: liblldb-19 (>= 1:19.1.0) but it is not going to be installed
5.860 Depends: libllvm19 (>= 1:19.1.0) but 1:19.1.0~++20240919065040+64075837b553-1~exp1~20240919065053.40 is to be installed
5.860 Depends: python3-lldb-19 but it is not going to be installed
5.864 E: Unable to correct problems, you have held broken packages.
Attempting installation with:
wget https://apt.llvm.org/llvm.sh && \
chmod u+x llvm.sh && \
./llvm.sh 19
regressed here: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/commit/42f059d5a11da9cf30494c5ba2728eb749cc4127
I think I have a fix for this one.
Does anyone have a workaround for this of any kind yet?
it should be fixed now on most of the distros
This appears to still be broken at least for Debian 10 (Buster)
Works on Debian bookworm. but not Debian bullseye.
Can confirm that it is working again with LLVM 19 on ubuntu 22.04.
Thanks for the confirmations.
Works on debian bullseye.
I start getting the following error while trying to install llvm 19 on debian: