简体   繁体   English

无法在CentOS上安装condor

[英]Can't install condor on CentOS

I have been trying to install condor on my centos virtual machine but keep getting the following errors: 我一直在尝试在我的centos虚拟机上安装condor,但一直遇到以下错误:

--> Finished Dependency Resolution
Error: Package: condor-classads-8.5.5-1.el6.x86_64 (htcondor-development)
           Requires: libpcre.so.0()(64bit)
Error: Package: condor-8.5.5-1.el6.x86_64 (htcondor-development)
           Requires: ecryptfs-utils
Error: Package: condor-8.5.5-1.el6.x86_64 (htcondor-development)
           Requires: libpcre.so.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I looked around online and tried all the suggestions but nothing's worked. 我在网上环顾四周并尝试了所有建议,但没有任何效果。 I did the next logical thing and tried to install those packages but doing yum install ecryptfs-utils gave me "Nothing to do," message. 我做了下一个合乎逻辑的事情,并尝试安装这些软件包但是做yum install ecryptfs-utils给了我“无所事事”的消息。 Same with libpcre.so.0() I'm a beginner with Linux so I don't know what I'm doing wrong here. 与libpcre.so.0()相同我是Linux的初学者所以我不知道我在这里做错了什么。 Help appreciated. 帮助赞赏。

Get condor from the official location . 官方地点获取神鹰。 It has all the binaries it needs. 它拥有它需要的所有二进制文件。

I had the same issue, and this was happening because yum was trying to install different version of condor. 我有同样的问题,这发生了,因为yum试图安装不同版本的神鹰。 I was running centos 6.6, but yum was trying to install centos 7 (rhel 7) version. 我正在运行centos 6.6,但是yum正试图安装centos 7(rhel 7)版本。 The reason for this was, by mistake, I initially downloaded and setup the rhel7 repo details of condor, and results got cached. 这样做的原因是,我最初下载并设置了condor的rhel7 repo详细信息,结果得到了缓存。

The solution is to clear yum cache ( yum clean all ), download the correct condor repo for your CentOS version/arch (use rpm -q centos-release to find this out), and then install ( yum install condor-all ). 解决方案是清除yum缓存( yum clean all ),为你的CentOS版本/ arch下载正确的condor repo(使用rpm -q centos-release找到它),然后安装( yum install condor-all )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM