在 Ubuntu 16.10 上安装 R 时未满足的依赖关系

在 Ubuntu 16.10 上安装 R 时未满足的依赖关系

我按照这个说明操作关联 依次运行以下命令

sudo sh -c 'echo "deb http://cran.rstudio.com/bin/linux/ubuntu trusty/" >> /etc/apt/sources.list'
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install r-base

执行最后一条命令后我收到以下消息

    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.3.2-1trusty0) but it is not going to be installed
          Depends: r-recommended (= 3.3.2-1trusty0) 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.

相关内容