试着让红宝石站起来,在一个5点的盒子上跑。
yum install libyaml-devel
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* addons: mirror.symnds.com
* base: centos.mirror.constant.com
* extras: mirror.umd.edu
* remi: mirrors.mediatemple.net
* updates: mirrors.lga7.us.voxel.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libyaml-devel.i386 0:0.1.2-3.el5 set to be updated
--> Processing Dependency: libyaml-0.so.1 for package: libyaml-devel
---> Package libyaml-devel.x86_64 0:0.1.4-1.el5.rf set to be updated
--> Running transaction check
---> Package libyaml.i386 0:0.1.2-3.el5 set to be updated
--> Processing Dependency: libyaml-0.so.1()(64bit) for package: python26-PyYAML
---> Package libyaml.x86_64 0:0.1.4-1.el5.rf set to be updated
--> Finished Dependency Resolution
python26-PyYAML-3.08-5.el5.x86_64 from installed has depsolving problems
--> Missing Dependency: libyaml-0.so.1()(64bit) is needed by package python26-PyYAML-3.08-5.el5.x86_64 (installed)
Error: Missing Dependency: libyaml-0.so.1()(64bit) is needed by package python26-PyYAML-3.08-5.el5.x86_64 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigestScalr安装在机器上,并在那里进行管理,它是安装python的工具。
发布于 2019-08-30 08:39:20
您以前从第三方存储库"rpmforge“安装了libyaml,但随后禁用了该存储库。要安装相应的libyaml-devel包,需要临时在yum命令行上使用--enablerepo=rpmforge重新启用存储库,或者通过编辑/etc/yum.repos.d目录中的repo文件来持久地启用存储库。
发布于 2013-07-22 17:37:01
在CentOS存在依赖问题的情况下,我使用了Fedora的EPEL (用于Enterprise的额外软件包)。如果你转到下面的链接,你会找到EPEL的软件包。下载适当的RPM,然后用rpm -ivh安装它。依赖关系应该以正常方式解析。我要指出的是,我不能保证Fedora的包适用于所有这种情况,但是,我个人从未遇到在企业环境中使用它们的问题。
链接到EPEL项目
https://serverfault.com/questions/525355
复制相似问题