I'm trying to install R 4.0 on Linux Mint 19.3 but get the following error message :
The following packages have unmet dependencies:
r-base-core : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
Depends: libicu66 (>= 66.1-1~) but it is not installable
Depends: libreadline8 (>= 6.0) but it is not installable.
Can any one please help ? Thanks !
The issue is that Mint 19.3 is based on Ubuntu 18.04, which is called bionic beaver. You may have used the wrong entry in your /etc/apt/sources.list
file. You need this one:
deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/
Because bionic
is the Ubuntu release that fits Mint 19.3.
You need to delete (or comment out with #
) any other R entries if they exist. If you get errors, check the extra sources file at /etc/apt/sources.list.d/additional-repositories.list
.