I spent my whole day trying to install R and RStudio on Ubuntu 17.10. I tried every solution on this stackexchange but any of those worked. I tried to update the source.list
from apt-get
, create keys using gpg
, but every time I try to run sudo apt-get install r-base r-base-core
the terminal says:
The following packages have unmet dependencies:
r-base-core : Depends: libc6 (>= 2.27) but 2.26-0ubuntu2.1 is to be installed
Depends: libcurl4 (>= 7.28.0) but it is not installable
Depends: libicu60 (>= 60.1-1~) but it is not installable
Recommends: r-recommended but it is not going to be installed
Recommends: r-base-dev but it is not going to be installed
Recommends: r-doc-html but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Also, when I tried to use the gpg solution it always show the message:
gpg: key 51716619E084DAB9: "Michael Rutter <marutter@gmail.com>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1