【发布时间】:2013-03-25 19:25:48
【问题描述】:
好吧,我正在尝试执行以下命令。
yum remove libffi-3.0.9-1.el5.rf.i386
因为我需要那个文件 (?),但是在使用 rvm 安装 ruby 时遇到问题,因为 libffi-devel 是 rvm 的依赖项来安装 ruby。
但是它给了我以下错误,当然它不会删除任何东西。
Error: Trying to remove "yum", which is protected
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我已经尝试过 --skip-broken 并且得到了这个:
Error: Trying to remove "yum", which is protected
You could try running: rpm -Va --nofiles --nodigest
如您所见,我不是 Linux 专家,但我需要使用 rvm 安装 Ruby,但由于此错误而无法安装,你们中有人知道我做错了什么吗?
谢谢你:)
【问题讨论】: