重新安装 R linux ubuntu:未满足的依赖项 R [英] re- installing R linux ubuntu: unmet dependencies R

查看:23
本文介绍了重新安装 R linux ubuntu:未满足的依赖项 R的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 aptitude install 安装了一个软件包,Ubuntu 11.10 oneiric,显然由于依赖关系我无法安装.我在执行此操作时删除了更多库.我卸载了 Rstudio,但仍然无法在我的机器上安装 R.我在 ubuntu 上,这就是我在跑步时得到的sudo apt-get install r-base

I used aptitude install to install a package, Ubuntu 11.10 oneiric, that apparently I couldn't install because of dependencies. I removed a couple of more libraries while doing it. I uninstalled Rstudio but still can't install R on my machine. I'm on ubuntu and this is what I get while running sudo apt-get install r-base

以下包具有未满足的依赖关系:r-base :取决于:r-base-core (>= 2.15.3-1quantal0) 但不会安装取决于:r-recommended (= 2.15.3-1quantal0) 但不会安装推荐:r-base-html 但不会安装E: 无法纠正问题,您持有破损的包裹.

The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 2.15.3-1quantal0) but it is not going to be installed Depends: r-recommended (= 2.15.3-1quantal0) 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.

任何想法如何从头开始并让 R 再次运行?

any ideas how to start from scratch and get R running again?

更多错误日志:以下软件包具有未满足的依赖关系 r-base-core :依赖:libblas3 但不可安装或 libblas.so.3 但不可安装或 libatlas3-base 但不可安装 依赖:libc6 (>= 2.15) 但 2.13-20ubuntu5.3 要安装 取决于:liblapack3 但它不可安装或 liblapack.so.3 但不可安装或 libatlas3-base 但不可安装 取决于:liblzma5 (>= 5.1.1alpha+20120614) 但它无法安装 –

More of the Error log: The following packages have unmet dependencies r-base-core : Depends: libblas3 but it is not installable or libblas.so.3 but it is not installable or libatlas3-base but it is not installable Depends: libc6 (>= 2.15) but 2.13-20ubuntu5.3 is to be installed Depends: liblapack3 but it is not installable or liblapack.so.3 but it is not installable or libatlas3-base but it is not installable Depends: liblzma5 (>= 5.1.1alpha+20120614) but it is not installable –

推荐答案

试试这个

如果您已将新 ubuntu 存储库中的一行添加到/etc/apt/sources.list,请删除该行.然后,运行命令

If you have added a line from new ubuntu repository to /etc/apt/sources.list, erase the line. Then, run the commands

sudo add-apt-repository ppa:marutter/rrutter 
sudo apt-get update 
sudo apt-get upgrade 

它对我有用,答案来自这里http://r.789695.n4.nabble.com/Upgrading-on-Ubuntu-from-2-11-1-to-2-15-1-td4636965.html

It worked for me, the answer comes from here http://r.789695.n4.nabble.com/Upgrading-on-Ubuntu-from-2-11-1-to-2-15-1-td4636965.html

这篇关于重新安装 R linux ubuntu:未满足的依赖项 R的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆