【发布时间】:2020-01-13 20:16:15
【问题描述】:
我知道这不是一个新问题,而是这个问题已被多次提出。 我刚刚从 Linux Mint 19.1 切换到 19.3(全新安装,而不是升级)并想从头开始安装 R。 但是,当我尝试遵循此repair guide 并最终尝试运行时出现问题
sudo apt-get 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.6.2-1disco) but it is not going to be installed
> Depends: r-recommended (= 3.6.2-1disco) but it is not going to be installed W: Target Packages (Packages) is configured multiple
> times in /etc/apt/sources.list:1 and
> /etc/apt/sources.list.d/additional-repositories.list:2 E: Unable to
> correct problems, you have held broken packages
现在我知道这是许多 Linux 和 R 用户的常见问题,我已经阅读了数十篇关于此问题的 StackOverflow 帖子。但是问题仍然存在,对我来说几乎不可能修复,因为我尝试编辑 /etc/apt/sources.list 并没有任何改变。
非常感谢任何帮助!
【问题讨论】:
-
也安装dependencies?
-
@NelsonGon:我已经尝试过了。关键是每当我尝试安装依赖项时,它都会告诉我找不到。
标签: r installation dependencies package linux-mint