Tentando instalar libclang-dev usando estas instruções . Mas, eu me deparo com esse erro.
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
O problema original é, na verdade, tentar instalar o 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
Algumas informações úteis:
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
libclang-dev
está emuniverse
, você precisa adicioná-lo aos seus repositórios:Para encontrar isso, usei
rmadison
dodevscripts
pacote: