When I try to install 1.2.747 in Ubuntu 16.04 I get this:
The following packages have unmet dependencies:
libclang-dev : Depends: libclang-3.8-dev (>= 3.8~) but it is not going to be installed
libclang-3.8-dev in turn requires other packages that won't be installed. I haven't spent time trying to figure this out but wanted to report the issue. Thanks!
@kevinushey, it worked this time! I tried it the first time and got an error about something else not being installable. But this time it just worked. Either I erred or the attempt to install did something.
I just tried to install on a different machine and ran into the same problem. this has me wondering what fixed it before. Here's the output:
libclang-dev doesn't install
sudo apt install libclang-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libclang-dev : Depends: libclang-3.8-dev (>= 3.8~) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
liblcang-3.8-dev doesn't install
sudo apt install libclang-3.8-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libclang-3.8-dev : Depends: libobjc-5-dev but it is not going to be installed
Depends: libclang1-3.8 (= 1:3.8-2ubuntu4) but it is not going to be installed
Depends: libclang-common-3.8-dev (= 1:3.8-2ubuntu4) but it is not going to be installed
rstudio : Depends: libclang-dev but it is not going to be installed
Recommends: r-base (>= 2.11.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I tried the install-all-at once in Ubuntu 18.04 but get these errors:
sudo apt-get install libclang-dev libclang-3.8-dev libclang-common-3.8-dev libclang1-3.8 libobjc-5-dev libobjc4
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libclang-3.8-dev
E: Couldn't find any package by glob 'libclang-3.8-dev'
E: Couldn't find any package by regex 'libclang-3.8-dev'
E: Unable to locate package libclang-common-3.8-dev
E: Couldn't find any package by glob 'libclang-common-3.8-dev'
E: Couldn't find any package by regex 'libclang-common-3.8-dev'
E: Unable to locate package libclang1-3.8
E: Couldn't find any package by glob 'libclang1-3.8'
E: Couldn't find any package by regex 'libclang1-3.8'
Note that Ubuntu 18.04 does not provide libclang-3.8-dev (it probably supplies something newer, e.g. libclang-6.0-dev). But just installing libclang-dev should provide you with the 'default' version of libclang for the associated platform.
I'm on ubuntu 18.04.1 LTS and tried installing rstudio-server-1.2.1226-amd64.deb, still get
The following packages have unmet dependencies:
clang-6.0 : Depends: libjsoncpp1 (>= 1.7.4) but it is not going to be installed
Depends: libobjc-7-dev but it is not going to be installed
Depends: libclang-common-6.0-dev (= 1:6.0.1~svn334776-1~exp1~20181018152737.116) but it is not going to be installed
Depends: libclang1-6.0 (= 1:6.0.1~svn334776-1~exp1~20181018152737.116) but it is not going to be installed
Recommends: llvm-6.0-dev but it is not going to be installed
Recommends: libomp-dev but it is not going to be installed
rstudio-server : Depends: libclang-dev but it is not going to be installed