如何解决安装 r-base 的问题?

如何解决安装 r-base 的问题?

我在 Ubuntu 16.04 中安装 r-base 时遇到问题。它显示无法满足依赖关系的一些错误。

以下软件包具有未满足的依赖关系:

r-base : 
Depends: r-base-core (>= 3.4.2-2zesty) but it is not going to be installed
Depends: r-recommended (= 3.4.2-2zesty) but it is not going to be installed
Recommends: r-base-html but it is not going to be installed
W: Target Sources (Sources) is configured multiple times in /etc/apt/sources.list:73 and /etc/apt/sources.list:77
E: Unable to correct problems, you have held broken packages.

有什么帮助吗?

答案1

尝试这个

sudo apt update
sudo apt list --upgradable 

然后

sudo apt install r-base

相关内容