[llvm-bugs] [Bug 52137] New: Ubuntu 18.04 packages are trying to install 20.04 dependencies

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 11 08:38:11 PDT 2021


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

            Bug ID: 52137
           Summary: Ubuntu 18.04 packages are trying to install 20.04
                    dependencies
           Product: Packaging
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: deb packages
          Assignee: unassignedbugs at nondot.org
          Reporter: chris.sidebottom at arm.com
                CC: llvm-bugs at lists.llvm.org

When I go to install the 18.04 (bionic) versions of LLVM from the apt repo they
are uninstallable due to depending on packages only available in 20.04 such as
libgcc-s1.

root at e126393:/# apt-get update && apt-get install -y llvm-9 llvm-10 llvm-11
llvm-12 clang-9 libclang-9-dev clang-10 libclang-10-dev clang-11
libclang-11-dev clang-12 libclang-12-dev
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]       
Get:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]     
Hit:4 https://apt.llvm.org/bionic llvm-toolchain-bionic-9 InRelease             
Hit:5 https://apt.llvm.org/bionic llvm-toolchain-bionic-10 InRelease
Hit:6 https://apt.llvm.org/bionic llvm-toolchain-bionic-11 InRelease
Hit:7 https://apt.llvm.org/bionic llvm-toolchain-bionic-12 InRelease
Get:8 https://apt.llvm.org/bionic llvm-toolchain-bionic InRelease [5527 B]
Get:9 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]     
Get:10 https://apt.llvm.org/bionic llvm-toolchain-bionic/main Sources [2321 B]
Get:11 https://apt.llvm.org/bionic llvm-toolchain-bionic/main amd64 Packages
[11.8 kB]
Fetched 254 kB in 1s (415 kB/s)
Reading package lists... Done
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-11 : Depends: libclang-cpp11 (>= 1:11.1.0~++20211010011718+1fdec59bffc1)
but it is not going to be installed
            Depends: libgcc-s1 (>= 3.0) but it is not installable
            Depends: libllvm11 (>= 1:9~svn298832-1~) 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-11-dev (=
1:11.1.0~++20211010011718+1fdec59bffc1-1~exp1~20211010132151.4) but it is not
going to be installed
            Depends: llvm-11-linker-tools (=
1:11.1.0~++20211010011718+1fdec59bffc1-1~exp1~20211010132151.4) but it is not
going to be installed
            Depends: libclang1-11 (=
1:11.1.0~++20211010011718+1fdec59bffc1-1~exp1~20211010132151.4) but it is not
going to be installed
            Recommends: llvm-11-dev but it is not going to be installed
 libclang-11-dev : Depends: libclang1-11 (=
1:11.1.0~++20211010011718+1fdec59bffc1-1~exp1~20211010132151.4) but it is not
going to be installed
                   Depends: libclang-common-11-dev (=
1:11.1.0~++20211010011718+1fdec59bffc1-1~exp1~20211010132151.4) but it is not
going to be installed
 llvm-11 : Depends: llvm-11-runtime (=
1:11.1.0~++20211010011718+1fdec59bffc1-1~exp1~20211010132151.4) but it is not
going to be installed
           Depends: llvm-11-linker-tools (=
1:11.1.0~++20211010011718+1fdec59bffc1-1~exp1~20211010132151.4) but it is not
going to be installed
           Depends: libgcc-s1 (>= 3.3) but it is not installable
           Depends: libllvm11 (>= 1:9~svn298832-1~) but it is not going to be
installed
           Depends: libstdc++6 (>= 11) but 8.4.0-1ubuntu1~18.04 is to be
installed
           Recommends: llvm-11-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

-- 
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/20211011/5ca3d48e/attachment-0001.html>


More information about the llvm-bugs mailing list