首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >百胜安装libyaml存在问题

百胜安装libyaml存在问题
EN

Server Fault用户
提问于 2013-07-22 16:43:01
回答 2查看 2.6K关注 0票数 0

试着让红宝石站起来,在一个5点的盒子上跑。

代码语言:javascript
复制
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 --nodigest

Scalr安装在机器上,并在那里进行管理,它是安装python的工具。

EN

回答 2

Server Fault用户

发布于 2019-08-30 08:39:20

注解:这个答案只是为了完整;CentOS 5已经过期了,rpmforge是一个死了的项目。两者都不应该再使用了。

您以前从第三方存储库"rpmforge“安装了libyaml,但随后禁用了该存储库。要安装相应的libyaml-devel包,需要临时在yum命令行上使用--enablerepo=rpmforge重新启用存储库,或者通过编辑/etc/yum.repos.d目录中的repo文件来持久地启用存储库。

票数 2
EN

Server Fault用户

发布于 2013-07-22 17:37:01

在CentOS存在依赖问题的情况下,我使用了Fedora的EPEL (用于Enterprise的额外软件包)。如果你转到下面的链接,你会找到EPEL的软件包。下载适当的RPM,然后用rpm -ivh安装它。依赖关系应该以正常方式解析。我要指出的是,我不能保证Fedora的包适用于所有这种情况,但是,我个人从未遇到在企业环境中使用它们的问题。

链接到EPEL项目

票数 -1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/525355

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档