<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/92242>92242</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Unmet dependencies in llvm-toolchain-jammy-18
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jpgaribotti
</td>
</tr>
</table>
<pre>
I added the repositories `deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main` and `deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main`, but having an issue getting packages from them. When trying to install clang-18 tools, I'm getting the following errors:
```
$ sudo apt-get install clang-format-18 clang-tidy-18 clang-tools-18
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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-format-18 : Depends: libllvm18 (= 1:18.1.6~++20240514093257+47b6dc45e39a-1~exp1~20240514213423.122) but 1:18.1.6~++20240514123345+c5b3fa491f00-1~exp1~20240514003518.120 is to be installed
clang-tidy-18 : Depends: libllvm18 (= 1:18.1.6~++20240514093257+47b6dc45e39a-1~exp1~20240514213423.122) but 1:18.1.6~++20240514123345+c5b3fa491f00-1~exp1~20240514003518.120 is to be installed
Depends: libclang-common-18-dev (= 1:18.1.6~++20240514093257+47b6dc45e39a-1~exp1~20240514213423.122) but 1:18.1.6~++20240514123345+c5b3fa491f00-1~exp1~20240514003518.120 is to be installed
clang-tools-18 : Depends: clang-18 (= 1:18.1.6~++20240514093257+47b6dc45e39a-1~exp1~20240514213423.122) but 1:18.1.6~++20240514123345+c5b3fa491f00-1~exp1~20240514003518.120 is to be installed
E: Unable to correct problems, you have held broken packages.
```
I can see in the https://apt.llvm.org/ page that the repositories were updated recently:
Jammy (22.04) LTS - Last update : Wed, 15 May 2024 03:20:07 UTC / Revision: 20240514031530+2766f2174e42
but it seems the available versions and the dependencies don't match.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzcVk9z46gT_TT40mUVQv_sgw_x5Oeq_Gr2MpOpOSPRtsgg0AJy1pd89q1GthMnm9teZlMpuUDN6_e60QMZgj5YxA2rtqy6X8gp9s5vnsaD9Lp1MepF69Rp8wBSKVQQewSPows6Oq8xAKu5whb6GEdW3DGxY2Inx5gZcxwy5w9M7J7kMJyY2AHNLaNzpuultss0v8xXMEhtWc1BWnXGWwbf_SuYTHyBdorQy6O2B5AWdAgTwgFjpIlRdr_kAQPsvRtI3ZDBzx4tRH-i99GBtiFKY6Az0h4ImrIFAn5gohmuUFSavTPGPdMIvXc-EH1-z_jlWfPz_zwUJYRJOZBjXB4wvku1d36QkTLO46jV6c2IWCzz1Qz1DaV6oweMDjFkWQb3zuIcsp20STEKR7QKbXeC6BFvoy5AIcqIoO1MQjt7G_bdDfhavM5NRoF1EVq8iECVwWOvAwzyBANKC7GXEU5uomacYTz-OWGIqFJnhtGFoFuDEHScUlZwHvQ-rZIeYQqXSk-UpTVnHKVD9Lqd0pKUJxBBgtce1StTSp2InpDIooXOo4yoZhzn58nBHVGBmyK4PTzYzg3aHrI55vGmz28qlJT2aEbaNR6DM0dMXK9q3m2HW6RbjpMdML62SuPrXvqwPVhxB_cpkoLA6Ja-CnohVqy4h5wVd_kqy7P6hYktE1vBRcmrvOTrQlQNE9uyaWvVlRUWa7nMX_CvMX-5BIm8KEWR5UIwsU4f06d4uSiKsmJi21VtsZflOt9z_h6P86Ki1YKDDlSqt3vmRuFlw__39L3_u1U3q-_cMDi7zFdLhcffV-qtW73v5dVUf1d9_yMVPyxZEQV0znvsIozetQaHdExcLI-8QUHr3S-01689--eTIT0foJMWAlLSZCR0IobPjkQYyfiT-X04pZ-RzHNU5HTgsUMbzelqKP-nQ5M6IETGSyrd18fvsISvMsTzqtS3n6hIT17BH_IEVCTgBSvuBGfFHW_g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