[llvm-bugs] [Bug 40015] New: ubuntu 18.04 clang 7 has inconsistent dependencies (libncurses6 and libtinfo6)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 13 16:06:23 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=40015

            Bug ID: 40015
           Summary: ubuntu 18.04 clang 7 has inconsistent dependencies
                    (libncurses6 and libtinfo6)
           Product: Packaging
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: deb packages
          Assignee: unassignedbugs at nondot.org
          Reporter: jan.hafer at rwth-aachen.de
                CC: llvm-bugs at lists.llvm.org

Trying to install via apt (https://apt.llvm.org/) yields:
# sudo apt-get install clang-7 lldb-7 lld-7
...
The following packages have unmet dependencies:
 clang-7 : Depends: libllvm7 (>= 1:7~svn298832-1~) but it is not going to be
installed
           Depends: libclang-common-7-dev (=
1:7.0.1~svn348686-1~exp1~20181211133748.6) but it is not going to be installed
           Depends: libclang1-7 (= 1:7.0.1~svn348686-1~exp1~20181211133748.6)
but it is not going to be installed
           Recommends: llvm-7-dev but it is not going to be installed
 lld-7 : Depends: libllvm7 (= 1:7.0.1~svn348686-1~exp1~20181211133748.6) but it
is not going to be installed
 lldb-7 : Depends: liblldb-7 (>= 1:7~svn298832-1~) but it is not going to be
installed
          Depends: libllvm7 (= 1:7.0.1~svn348686-1~exp1~20181211133748.6) but
it is not going to be installed
          Depends: libncurses6 (>= 6) but it is not installable
          Depends: libtinfo6 (>= 6) but it is not installable
          Depends: llvm-7-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Checking for libncurses6 reveals that there are no packages for 18.04 LTS, but
there exist packages for 18.10.
Checking for libtinfo6 reveals that there exist libtinfo-dev, but I am unsure
which one to include.

So do I need to upgrade to 18.10 or is there an easy fix?
Does it even make sense to include the apt, if the package is not easy
installable?

For future use, different test scripts could be invoked via
apt-get --simulate install packageThatDoesntExist
(however that would require installed instances of every OS).
https://stackoverflow.com/questions/18008508/bash-how-to-check-if-packages-can-be-installed-if-apt-get-dpkg-is-running

Is there no tool for remote resolving package dependencies?
Or does Debian not check, if the dependencies are fullfilled?

-- 
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/20181214/556fad83/attachment.html>


More information about the llvm-bugs mailing list