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

查看:300
本文介绍了重新安装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(= 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/Upgradeing-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天全站免登陆