[llvm-bugs] [Bug 43254] New: Can't install clangd-9 alongside clang-tools-9 on Ubuntu Disco
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Sep 9 03:16:00 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43254
Bug ID: 43254
Summary: Can't install clangd-9 alongside clang-tools-9 on
Ubuntu Disco
Product: Packaging
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: deb packages
Assignee: unassignedbugs at nondot.org
Reporter: janx at linux.com
CC: llvm-bugs at lists.llvm.org
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 https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
&& apt-add-repository -yu "deb http://apt.llvm.org/disco/
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:
> 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.
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 https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - \
&& apt-add-repository -yu "deb http://apt.llvm.org/disco/ llvm-toolchain-disco
main" \
&& apt-get -t llvm-toolchain-disco install -y clangd-10 clang-tidy-10
clang-format-10
```
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190909/573e8666/attachment.html>
More information about the llvm-bugs
mailing list