I made the mistake of trying to upgrade Rstudio and now I cannot install the new version and the old version was removed. Reinstalling the old one doesn't work either.
I downloaded this: rstudio-2022.07.2-576-amd64.deb
gdebi rstudio-2022.07.2-576-amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libclang-dev
But, if I search for installed packages, I get this
sudo apt list --installed | grep "libclang"
libclang-11-dev/focal-updates,focal-updates,now 1:11.0.0-2~ubuntu20.04.1 amd64 [installed]
libclang-12-dev/focal-security,focal-updates,now 1:12.0.0-3ubuntu1~20.04.5 amd64 [installed]
libclang-common-11-dev/focal-updates,focal-updates,now 1:11.0.0-2~ubuntu20.04.1 amd64 [installed,automatic]
libclang-common-12-dev/focal-security,focal-updates,now 1:12.0.0-3ubuntu1~20.04.5 amd64 [installed,automatic]
libclang1-11/focal-updates,focal-updates,now 1:11.0.0-2~ubuntu20.04.1 amd64 [installed,automatic]
libclang1-12/focal-security,focal-updates,now 1:12.0.0-3ubuntu1~20.04.5 amd64 [installed,automatic]
If I try to install it, I get this:
sudo apt-get install libclang-dev
Reading package lists... Done
Building dependency tree
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
Tried this:
sudo aptitude install clang
No candidate version found for clang
Unable to apply some actions, aborting
Tried all the suggestions here: package management - Unable to install libclang on 20.04 LTS - Ask Ubuntu
I have tried to install RStudio through conda which also fails:
mamba install -c r rstudio
Encountered problems while solving:
- package tensorboard-data-server-0.6.0-py39h95dcef6_1 requires openssl >=1.1.1l,<1.1.2a, but none of the providers can be installed
conda list | grep openssl
openssl 1.1.1s h7f8727e_0
pyopenssl 22.0.0 pyhd8ed1ab_0 conda-forge
r-openssl 1.4.4 r41he36bf35_0 conda-forge