我尝试在 Linux Mint 19.3 上安装 R 4.0,但收到以下错误消息:
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.
有人可以帮忙吗?
谢谢 !
问题是Mint 19.3基于Ubuntu 18.04,被称为仿生海狸。您可能使用了错误的条目/etc/apt/sources.list
file. 你需要这个 https://cran.r-project.org/bin/linux/ubuntu/:
deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/
Because bionic
是适合 Mint 19.3 的 Ubuntu 版本。
您需要删除(或注释掉#
) 任何其他 R 条目(如果存在)。如果出现错误,请检查额外的源文件:/etc/apt/sources.list.d/additional-repositories.list
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)