<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57984>57984</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Uninstallable packages from apt.llvm.org on Ubuntu 18.04
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
knatten
</td>
</tr>
</table>
<pre>
When trying to use apt.llvm.org on Ubuntu 18.04, I get uninstallable packages.
Reproduction using Docker:
```
$ cat Dockerfile
FROM ubuntu:18.04
RUN apt-get --assume-yes update
RUN apt-get --assume-yes install wget lsb-release software-properties-common gnupg
RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
```
```
$ docker build .
(...)
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-15 : Depends: libclang-cpp15 (>= 1:15.0.2~++20220926062919+451e3b68306d) but it is not going to be installed
Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: libllvm15 but it is not going to be installed
Depends: libstdc++6 (>= 11) but 8.4.0-1ubuntu1~18.04 is to be installed
Depends: libclang-common-15-dev (= 1:15.0.2~++20220926062919+451e3b68306d-1~exp1~20220926063015.64) but it is not going to be installed
Depends: llvm-15-linker-tools (= 1:15.0.2~++20220926062919+451e3b68306d-1~exp1~20220926063015.64) but it is not going to be installed
Depends: libclang1-15 (= 1:15.0.2~++20220926062919+451e3b68306d-1~exp1~20220926063015.64) but it is not going to be installed
Recommends: llvm-15-dev but it is not going to be installed
clangd-15 : Depends: libclang-cpp15 (>= 1:15.0.2~++20220926062919+451e3b68306d) but it is not going to be installed
Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: libllvm15 but it is not going to be installed
Depends: libstdc++6 (>= 11) but 8.4.0-1ubuntu1~18.04 is to be installed
Depends: libclang-common-15-dev (= 1:15.0.2~++20220926062919+451e3b68306d-1~exp1~20220926063015.64) but it is not going to be installed
lld-15 : Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: libllvm15 (= 1:15.0.2~++20220926062919+451e3b68306d-1~exp1~20220926063015.64) but it is not going to be installed
Depends: libstdc++6 (>= 11) but 8.4.0-1ubuntu1~18.04 is to be installed
lldb-15 : Depends: libclang-cpp15 (>= 1:15.0.2~++20220926062919+451e3b68306d) but it is not going to be installed
Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: liblldb-15 but it is not going to be installed
Depends: libllvm15 (= 1:15.0.2~++20220926062919+451e3b68306d-1~exp1~20220926063015.64) but it is not going to be installed
Depends: libstdc++6 (>= 11) but 8.4.0-1ubuntu1~18.04 is to be installed
Depends: llvm-15-dev but it is not going to be installed
Depends: python3-lldb-15 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"' returned a non-zero code: 100
```
Alternatively to using Docker, you should be able to get the same by running the above commands on a regular Ubuntu 18.04 system.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzVV01v4zYQ_TXyhZAgUbYsH3zIbhJgD-0C6QY9U-JYYkORKj-Sur--Q0pOnKy322CNbBoIsSWSM2_eG8p8jeb77e89KOLMXqiOOE28BcJGl0l5P2TadEQrctt45Twp6ixfJvQj-UQ6cMQroaxjUrJGAhlZe8c6sFmSXyb5xfT_BkajuW-dwCjehhSXur0Dk5QXx_OSKp-v6ZYuScvcPHcnJEzPr28-_0J8BIMBJjhTnttfA-g0wEpTZq0fIN2DJX7kzMF3Js1lkIcwIm2TGpDAkAerd-6BGUixihGME2DTVg8DFtMpP3ZPcRtme5K2JKEUwSe0jrHSzyQlvXOjDfXSa7yOqcXb-NX2Cd2ElSe5-BZBPJJDGi8kJwfWaZ1lWYgWb3_Tw5MwpNUeZyrtSAOHmoFn5EsvLBnYngzAsBN6JH6vPenZ_UycgT89W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