Package 'libclang-dev' has no installation candidate
0
votes
1
answer
1228
views
Trying to install libclang-dev using these [instructions](https://installati.one/install-libclang-dev-ubuntu-22-04/) . But, I run into this error.
sudo apt-get update
sudo apt-get -y install libclang-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libclang-dev 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 'libclang-dev' has no installation candidate
The original issue is actually trying to install RStudio:
gdebi rstudio-2022.07.2-576-amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libclang-dev
Some useful info:
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
sudo cat /etc/apt/sources.list
deb http://se.archive.ubuntu.com/ubuntu/ jammy main restricted
deb http://se.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
deb http://se.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://se.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
deb http://se.archive.ubuntu.com/ubuntu/ jammy-backports main restricted multiverse
Asked by mindlessgreen
(1349 rep)
Nov 21, 2022, 01:25 PM
Last activity: Nov 21, 2022, 01:46 PM
Last activity: Nov 21, 2022, 01:46 PM