无法在Ubuntu 18.04 linux上安装最新的R版本
我希望能够为Ubuntu 18.04安装最新的稳定R版本,我已经安装了Ubuntu版本,所以我删除了它,然后遵循了一些指南,如link 无论我做什么,当我发布无法在Ubuntu 18.04 linux上安装最新的R版本,r,linux,installation,ubuntu-18.04,R,Linux,Installation,Ubuntu 18.04,我希望能够为Ubuntu 18.04安装最新的稳定R版本,我已经安装了Ubuntu版本,所以我删除了它,然后遵循了一些指南,如link 无论我做什么,当我发布sudo apt get install r-base时,我都会得到以下输出: sudo apt install r-base Reading package lists... Done Building dependency tree Reading state information... Done Some packag
sudo apt get install r-base
时,我都会得到以下输出:
sudo apt 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.6.1-3disco) but it is not going to be installed
Depends: r-recommended (= 3.6.1-3disco) 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.
出了什么问题?这里可能有很多问题,包括:您配置了哪些PPA;您是否在添加任何新PPA后进行了apt更新;以前的软件包是否未完成安装/配置;而且可能更多。不过,我想你可能会得到更好的回答,因为这个问题完全是关于PPAs和外部软件包的安装,而不是R本身。好吧,这是有道理的——我在askubuntu.com上发布了同样的问题