在LInux Mint 19.3上安装R4.0时出现问题 [英] Problem installing R4.0 on LInux Mint 19.3

查看:53
本文介绍了在LInux Mint 19.3上安装R4.0时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Linux Mint 19.3上安装R 4.0,但收到以下错误消息:

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 !

推荐答案

问题是Mint 19.3基于Ubuntu 18.04(称为仿生海狸).您可能在/etc/apt/sources.list 文件中使用了错误的条目.您需要这个:

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/

因为 bionic 是适合Mint 19.3的Ubuntu版本.

Because bionic is the Ubuntu release that fits Mint 19.3.

您需要删除(或用#注释掉)任何其他R条目(如果存在).如果遇到错误,请在/etc/apt/sources.list.d/additional-repositories.list 中检查额外的源文件.

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.

这篇关于在LInux Mint 19.3上安装R4.0时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆