1

在 ubuntu 12.04 中安装 R 时出现以下错误。

sudo apt-get install r-base-core

The following packages have unmet dependencies:
 r-base-core : Depends: libblas3 but it is not installable or

               Depends: liblapack3 but it is not installable or

               Depends: liblzma5 (>= 5.1.1alpha+20120614) but 5.1.1alpha+20110809-3 is to be installed
               Depends: libtiff5 (> 4.0.0-1~) but it is not installable

E: Unable to correct problems, you have held broken packages.
4

1 回答 1

4

尝试通过 Ubuntu 软件中心安装它。搜索 R 软件。

或者尝试使用以下命令修复它:

sudo apt-get -f install

该命令将尝试查找并安装任何缺少的依赖项。

对于其他解决方案,您可以查看此链接:

https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies

于 2013-05-11T15:24:53.940 回答