在 ubuntu 16.04 中安装 R-base 时出现问题

在 ubuntu 16.04 中安装 R-base 时出现问题

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 包。

相关内容