Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R 4.2.2 on Ubuntu Server 22.10

Tags:

r

ubuntu

I try to install R 4.2.2 but it is able to install only 4.2.1.

The following packages have unmet dependencies: r-base-core : Depends: libicu70 (>= 70.1-1~) but it is not installable Recommends: r-doc-html but it is not going to be installed E: Unable to correct problems, you have held broken packages.

I have

libicu-dev is already the newest version (71.1-3ubuntu1).

Could be that is not yet supported for 22.10? or is there any turnaround to install it?

Thanks

like image 298
Emma Athan Avatar asked Oct 16 '25 04:10

Emma Athan


1 Answers

I am running ubuntu 22.10 and had the same problem. I have solved it via:

wget http://ftp.osuosl.org/pub/ubuntu/pool/main/i/icu/libicu70_70.1-2_amd64.deb
sudo dpkg -i libicu70_70.1-2_amd64.deb

then this will work:

sudo apt-get install r-base-core
like image 163
de_chris Avatar answered Oct 17 '25 17:10

de_chris



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!