![在 ubuntu 16.04 中安装 R-base 时出现问题](https://linux22.com/image/1164675/%E5%9C%A8%20ubuntu%2016.04%20%E4%B8%AD%E5%AE%89%E8%A3%85%20R-base%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
sudo apt-get install r-base
产生以下错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
r-base : Depends: r-base-core (>= 3.5.3-1bionic) but it is not going to be installed
Depends: r-recommended (= 3.5.3-1bionic) but it is not going to be installed
Recommends: r-base-html but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我关注如何在 Ubuntu 18.04 上安装 R希望它与 ubuntu 16.04 相同。我需要在我的 CPU 上安装最新版本的 R。谢谢你的帮助。
答案1
我发现了这个问题,在系统设置>>软件和更新>>其他软件中我从列表中删除了bionic-cran35 包。