I am beginner. I'm trying to install latest R 4.4 on Ubuntu 22.04, but I'm running into the following error. How do I solve?
The following packages have unmet dependencies:r-base-core : Depends: libc6 (>= 2.38) but 2.35-0ubuntu3.7 is to be installed Depends: libcurl4t64 (>= 7.28.0) but it is not installable Depends: libglib2.0-0t64 (>= 2.12.0) but it is not installable Depends: libicu74 (>= 74.1-1~) but it is not installable Depends: libpng16-16t64 (>= 1.6.2) but it is not installable Depends: libreadline8t64 (>= 6.0) but it is not installable Depends: libtiff6 (>= 4.0.3) but it is not installable Depends: libtirpc3t64 (>= 1.0.2) but it is not installable Depends: libxt6t64 but it is not installable Recommends: r-recommended but it is not going to be installed Recommends: r-doc-html but it is not going to be installedE: Unable to correct problems, you have held broken packages.