sudo apt-获取安装r-base
sudo: unable to resolve host dev
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.4.4-1xenial0) but it is not going to be installed
Depends: r-recommended (= 3.4.4-1xenial0) 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.我想在我的ubuntu 16.04中安装r。
帮帮我!
发布于 2018-10-21 19:25:22
当我看到诸如“依赖: meant core (>= 3.4.4-1xenial0)”之类的消息时,这意味着所需的包r-base-core存在,但它是向下的(版本小于3.4.4-1),因此不能使用。签入您的包管理器,并查看这些包的版本可用。除非能够满足所有的依赖项,否则您将无法安装r-base。一个选项可能是下载源代码并自己编译,但这可能意味着您需要一堆开发包,因此您需要完成这些工作。我刚刚查看了我的Ubuntu18.04笔记本电脑,根据我的Synaptic管理器,r是3.4.4-1。Ubuntu 18.10版本为3.5.1-1。您可以尝试升级Ubuntu。我前一段时间从16.04升级到18.04,没有麻烦。如果您尝试这样做,首先要确保有一个好的备份。我不知道从16点04到18点10分。
https://askubuntu.com/questions/1085866
复制相似问题