<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/56849>56849</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Can't install clang-tidy-15 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>
          Zitrax
      </td>
    </tr>
</table>

<pre>
    Recently `apt install clang-tidy-15` stopped working (with `Package 'clang-tidy-15' has no installation candidate`) after using the bionic apt llvm repositories from https://apt.llvm.org

I suspected the default changed such that the package `clang-tidy` is now version 15, however I am getting:

```
$ sudo apt install clang-tidy
Reading package lists... Done
Building dependency tree
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-tidy : Depends: clang-tidy-15 (>= 15~) but it is not installable
E: Unable to correct problems, you have held broken packages.
```

The apt repositories were added like so:

```
add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main"
```

Am I missing something? How should 15 be installed now?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9VMuSmzoQ_RrYdJkCbLBZsJjEM3VndyuPTXYCNUZ3hMTVYxz_fVpizNipSaooG6TW6XNOd6vT_NJ-wR6VkxdI6pzNDoSyjkkJvWTqtHGCXzZFRXtgnZ5n5HDW5kWoEyTl4SzcGM79y_oXdkJa2t8fK_cwMgtKX2GZE1pBzxQXnDmks0nZABscGvA2wLoRoaMg0UOgI-XrBAZnbYXTRqCFwegJRudmm2wfkvKJHgrMQmCmzSnJj0n-sPw-g_V2xt4R7YDLcWBeOuhHIklr1vcjbTAXd-erijp_VxGUi6DgDK9obGAfdH2GUZ-RVuAZ2AQndI7IB0I36YO65Vk-yx1l5Bo-tnkJ-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