RVM/rbenv 用 rvm 安装 ruby 出错

smallbottle · 2015年03月05日 · 最后由 smallbottle 回复于 2015年03月06日 · 11810 次阅读

系统:fedora 20

问题:rvm 已经安装成功,用命令 rvm requirements 运行结果如下,错误在 error running 那里,不知道如何解决. [myname@localhost ~]$ rvm requirements Checking requirements for fedora. Installing requirements for fedora. Installing required packages: patch, libyaml-devel, autoconf, patch, readline-devel, libffi-devel, openssl-devel, automake, libtool, bison, sqlite-devel..smallbottle password required for 'yum install -y patch libyaml-devel autoconf patch readline-devel libffi-devel openssl-devel automake libtool bison sqlite-devel': ........................................................... Error running 'requirements_centos_libs_install patch libyaml-devel autoconf patch readline-devel libffi-devel openssl-devel automake libtool bison sqlite-devel', showing last 15 lines of /home/myname/.rvm/log/1425528790/package_install_patch_libyaml-devel_autoconf_patch_readline-devel_libffi-devel_openssl-devel_automake_libtool_bison_sqlite-devel.log

xorg-x11-server-Xorg-1.14.4-11.fc20.x86_64 是 xorg-x11-server-Xorg-1.14.4-5.fc20.x86_64 的副本 xorg-x11-server-common-1.14.4-11.fc20.x86_64 是 xorg-x11-server-common-1.14.4-5.fc20.x86_64 的副本 xorg-x11-server-utils-7.7-6.fc20.x86_64 是 xorg-x11-server-utils-7.7-2.fc20.x86_64 的副本 1:xorg-x11-xauth-1.0.9-1.fc20.x86_64 是 1:xorg-x11-xauth-1.0.7-4.fc20.x86_64 的副本 xorg-x11-xinit-1.3.4-1.fc20.x86_64 是 xorg-x11-xinit-1.3.2-9.fc20.x86_64 的副本 xulrunner-32.0-1.fc20.x86_64 是 xulrunner-25.0-2.fc20.x86_64 的副本 xz-5.1.2-12alpha.fc20.x86_64 是 xz-5.1.2-6alpha.fc20.x86_64 的副本 xz-libs-5.1.2-12alpha.fc20.x86_64 是 xz-libs-5.1.2-6alpha.fc20.x86_64 的副本 1:yelp-3.10.2-1.fc20.x86_64 是 1:yelp-3.10.1-1.fc20.x86_64 的副本 1:yelp-libs-3.10.2-1.fc20.x86_64 是 1:yelp-libs-3.10.1-1.fc20.x86_64 的副本 yum-3.4.3-152.fc20.noarch 是 yum-3.4.3-106.fc20.noarch 的副本 yum-utils-1.1.31-23.fc20.noarch 是 yum-utils-1.1.31-18.fc20.noarch 的副本 zenity-3.8.0-4.fc20.x86_64 是 zenity-3.8.0-3.fc20.x86_64 的副本

  • return 1
  • return 1 Requirements installation failed with status: 1.

我在网上找了半天也没找到解决方法,求帮助

sudo yum install -y patch libyaml-devel autoconf patch readline-devel libffi-devel openssl-devel automake libtool bison sqlite-devel

手动调用这个试试

#1 楼 @huacnlee 好像是因为用不同的源导致了包的重复,依赖关系错误了。我重装了一下系统,再安装就可以了。谢谢你啊

需要 登录 后方可回复, 如果你还没有账号请 注册新账号