无法安装 R >3.6 版本

无法安装 R >3.6 版本

我正在尝试在我的系统上安装 R >3.6 版本,但每次都会出现此错误:

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

我该如何解决这个问题?

相关内容