在虚拟机 Ubuntu Xenial v16.04 上安装 R

在虚拟机 Ubuntu Xenial v16.04 上安装 R

我尝试了所有可以想象到的方法来在此服务器上安装 R,但都不起作用,我只得到以下错误。我意识到这个问题已经发布了几次,但没有一个得到认可的答案对我有用。我是 ubuntu 新手,所以请帮忙。这非常令人沮丧。

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-3bionic) but it is not going to be installed
      Depends: r-recommended (= 3.6.1-3bionic) 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.

然后我尝试手动安装 r-base-core,结果

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-core : Depends: libc6 (>= 2.27) but 2.23-0ubuntu11 is to be 
               installed  
               Depends: libcurl4 (>= 7.28.0) but it is not installable  
               Depends: libicu60 (>= 60.1-1~) but it is not installable  
               Depends: libreadline7 (>= 6.0) but it is not installable  
               Recommends: r-base-dev but it is not going to be installed  
E: Unable to correct problems, you have held broken packages.

然后我尝试安装 libcurl4,结果

Package libcurl4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source.

其他包也产生相同的错误。

再次,请用外行人能理解的语言来解释,我对此还不是很理解。

相关内容