<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Can't install clangd-9 alongside clang-tools-9 on Ubuntu Disco"
   href="https://bugs.llvm.org/show_bug.cgi?id=43254">43254</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Can't install clangd-9 alongside clang-tools-9 on Ubuntu Disco
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Packaging
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>deb packages
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>janx@linux.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When trying to install clangd-9 and clang-tools-9 via apt.llvm.org on Ubuntu
Disco, like this:

```Dockerfile
FROM ubuntu:disco

RUN apt-get update && apt-get install -qy curl gnupg software-properties-common

RUN curl -fsSL <a href="https://apt.llvm.org/llvm-snapshot.gpg.key">https://apt.llvm.org/llvm-snapshot.gpg.key</a> | apt-key add - \
 && apt-add-repository -yu "deb <a href="http://apt.llvm.org/disco/">http://apt.llvm.org/disco/</a>
llvm-toolchain-disco-9 main" \
 && apt-get -t llvm-toolchain-disco-9 install -y \
    clangd-9 \
    clang-format-9 \
    clang-tidy-9
```

it fails with this error:

<span class="quote">> The following packages have unmet dependencies:
> clangd-9 : Breaks: clang-tools-9 (< 1:9~+rc1-1~exp2) but 1:9~svn371301-1~exp1~20190908074810.48 is to be installed
> E: Unable to correct problems, you have held broken packages.</span >

However, doing the exact same thing with clangd-10 and clang-tools-10 works
fine:

```Dockerfile
FROM ubuntu:disco

RUN apt-get update && apt-get install -qy curl gnupg software-properties-common

RUN curl -fsSL <a href="https://apt.llvm.org/llvm-snapshot.gpg.key">https://apt.llvm.org/llvm-snapshot.gpg.key</a> | apt-key add - \
 && apt-add-repository -yu "deb <a href="http://apt.llvm.org/disco/">http://apt.llvm.org/disco/</a> llvm-toolchain-disco
main" \
 && apt-get -t llvm-toolchain-disco install -y clangd-10 clang-tidy-10
clang-format-10
```</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>