Skip to content

Package 'clang-8' has no installation candidate, Ubuntu 22.04 #4892

Description

@iagupov

Bug report

  • AirSim Version/#commit: 1.8.1
  • UE/Unity version: 4.27
  • autopilot version: ArduPilot 4.4.1
  • OS Version: Ubuntu 22.04.3
  • python 3.9.17

What's the issue you encountered?

I follow the instruction: https://microsoft.github.io/AirSim/build_linux/ to install AirSim in Ubuntu
In a section "Build AirSim" I cloned repository and then executed ./setup.sh
This provoke an error: "Package 'clang-8' has no installation candidate"
I did not find any similar issue or any relative information. The full log is shown below. Please help if you have any idea how to fix it. I saw that clang is not supported for Ubuntu 22.04, but maybe there is a way to run it without reinstalling Ubuntu.

Settings

How can the issue be reproduced?

  1. Just follow the AirSim installation procedure from https://microsoft.github.io/AirSim/build_linux/

Include full error message in text form

./setup.sh

user@MSK-PC-0726:~/cv_dev/ardupilot/AirSim$ ./setup.sh

  • set -e
    +++ dirname ./setup.sh
    ++ cd .
    ++ pwd
  • SCRIPT_DIR=/home/user/cv_dev/ardupilot/AirSim
  • pushd /home/user/cv_dev/ardupilot/AirSim
  • downloadHighPolySuv=true
  • MIN_CMAKE_VERSION=3.10.0
    ++ uname
  • '[' Linux == Darwin ']'
  • DEBUG=false
  • [[ 0 -gt 0 ]]
    ++ uname
  • '[' Linux == Darwin ']'
  • sudo apt-get update
    Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
    Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
    Hit:3 http://archive.ubuntu.com/ubuntu jammy-security InRelease
    Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
    Hit:5 http://archive.canonical.com/ubuntu jammy InRelease
    Reading package lists... Done
  • sudo apt-get -y install --no-install-recommends lsb-release rsync software-properties-common wget libvulkan1 vulkan-utils
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'vulkan-tools' instead of 'vulkan-utils'
    lsb-release is already the newest version (11.1.0ubuntu4).
    wget is already the newest version (1.21.2-2ubuntu1).
    rsync is already the newest version (3.2.7-0ubuntu0.22.04.2).
    software-properties-common is already the newest version (0.99.22.7).
    libvulkan1 is already the newest version (1.3.261.0rc1-1lunarg20.04-1).
    vulkan-tools is already the newest version (1.3.261.0
    rc2-1lunarg20.04-1).
    The following packages were automatically installed and are no longer required:
    amd64-microcode binutils-arm-linux-gnueabihf cpp-11-arm-linux-gnueabihf cpp-arm-linux-gnueabihf cuda-command-line-tools-11-2 cuda-compiler-11-2 cuda-cudart-11-2 cuda-cudart-dev-11-2
    cuda-cuobjdump-11-2 cuda-cupti-11-2 cuda-cupti-dev-11-2 cuda-cuxxfilt-11-2 cuda-documentation-11-2 cuda-driver-dev-11-2 cuda-gdb-11-2 cuda-libraries-11-2 cuda-libraries-dev-11-2
    cuda-memcheck-11-2 cuda-nsight-11-2 cuda-nsight-compute-11-2 cuda-nsight-systems-11-2 cuda-nvcc-11-2 cuda-nvdisasm-11-2 cuda-nvml-dev-11-2 cuda-nvprof-11-2 cuda-nvprune-11-2 cuda-nvrtc-11-2
    cuda-nvrtc-dev-11-2 cuda-nvtx-11-2 cuda-nvvp-11-2 cuda-samples-11-2 cuda-sanitizer-11-2 cuda-toolkit-11-2 cuda-tools-11-2 cuda-visual-tools-11-2 dctrl-tools dkms
    gcc-11-arm-linux-gnueabihf-base gcc-11-cross-base gcc-12-cross-base intel-microcode iucode-tool libasan6-armhf-cross libatomic1:i386 libatomic1-armhf-cross libc6-armhf-cross
    libc6-dev-armhf-cross libcublas-11-2 libcublas-dev-11-2 libcufft-11-2 libcufft-dev-11-2 libcurand-11-2 libcurand-dev-11-2 libcusolver-11-2 libcusolver-dev-11-2 libcusparse-11-2
    libcusparse-dev-11-2 libdrm-amdgpu1:i386 libdrm-intel1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libegl-mesa0:i386 libegl1:i386 libelf1:i386 libexpat1:i386 libgbm1:i386
    libgcc-11-dev-armhf-cross libgcc-s1-armhf-cross libgdk-pixbuf-xlib-2.0-0 libgdk-pixbuf2.0-0 libgl1:i386 libgl1-mesa-dri:i386 libglapi-mesa:i386 libgles2:i386 libglvnd0:i386 libglx-mesa0:i386
    libglx0:i386 libgomp1-armhf-cross libicu70:i386 libllvm15:i386 libnpp-11-2 libnpp-dev-11-2 libnvidia-cfg1-535 libnvidia-common-535 libnvidia-compute-530:i386 libnvidia-compute-535:i386
    libnvidia-decode-530:i386 libnvidia-decode-535 libnvidia-decode-535:i386 libnvidia-encode-530:i386 libnvidia-encode-535 libnvidia-encode-535:i386 libnvidia-extra-535 libnvidia-fbc1-530:i386
    libnvidia-fbc1-535 libnvidia-fbc1-535:i386 libnvidia-gl-535:i386 libnvjpeg-11-2 libnvjpeg-dev-11-2 libomxil-bellagio-bin libomxil-bellagio0 libopengl0:i386 libpciaccess0:i386
    libsensors5:i386 libstdc++-11-dev-armhf-cross libstdc++6:i386 libstdc++6-armhf-cross libubsan1-armhf-cross libva2:i386 libvdpau1:i386 libx11-xcb1:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386
    libxcb-glx0:i386 libxcb-present0:i386 libxcb-randr0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxfixes3:i386 libxml2:i386 libxshmfence1:i386 libxxf86vm1:i386
    linux-libc-dev-armhf-cross mesa-utils-bin mesa-vdpau-drivers:i386 nsight-compute-2020.3.1 nsight-systems-2020.4.3 nvidia-compute-utils-535 nvidia-firmware-535-535.113.01
    nvidia-kernel-common-535 nvidia-kernel-source-535 nvidia-modprobe nvidia-prime nvidia-settings nvidia-utils-535 screen-resolution-extra thermald usb-modeswitch usb-modeswitch-data
    vdpau-driver-all:i386 xserver-xorg-video-nvidia-535 xul-ext-ubufox
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove, and 3 not upgraded.
    ++ lsb_release -rs
    ++ cut -d. -f1
  • VERSION=22
  • '[' 22 -lt 17 ']'
  • sudo apt-get install -y clang-8 clang++-8 libc++-8-dev libc++abi-8-dev
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Note, selecting 'librust-clang-sys-1.3+clang-8-0-dev' for regex 'clang++-8'
    Note, selecting 'clang-8' for regex 'clang++-8'
    Note, selecting 'librust-clang-sys+clang-8-0-dev' for regex 'clang++-8'
    Note, selecting 'librust-clang-sys-1+clang-8-0-dev' for regex 'clang++-8'
    Note, selecting 'librust-clang-sys-1.3.0+clang-8-0-dev' for regex 'clang++-8'
    Note, selecting 'librust-clang-sys-dev' for regex 'librust-clang-sys+clang-8-0-dev'
    Note, selecting 'librust-clang-sys-dev' for regex 'librust-clang-sys-1+clang-8-0-dev'
    Note, selecting 'librust-clang-sys-dev' for regex 'librust-clang-sys-1.3+clang-8-0-dev'
    Note, selecting 'librust-clang-sys-dev' for regex 'librust-clang-sys-1.3.0+clang-8-0-dev'
    Package 'clang-8' is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'clang-8' has no installation candidate
E: Unable to locate package libc++-8-dev
E: Unable to locate package libc++abi-8-dev

### Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions