When I type
sudo apt-get install r-base-core
I get the following error
The following packages have unmet dependencies. r-base-core : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
Now libc6 as far as I understand is an important library which should not be removed.
So how to upgrade from the current version (2.27) to any version >= 2.29?