无法在yum中添加额外的回购。 Cent OS 6.8

时间:2016-10-12 16:29:55

标签: linux centos6 yum

我在更新某些存储库时遇到了一些问题。 服务器操作系统是CentOs 6.8。 要获得新的yum包,对yum更新没有问题。

直到我添加了一些额外的回购。 我不明白为什么会失败。 例如,Cent OS 6.8。最后

已配置回购。例如:

 [mongodb]
    name=MongoDB Repository
    baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
    gpgcheck=0
    enabled=1

Error: Cannot retrieve repository metadata (repomd.xml) for repository: mongodb

ip表没有运行。

iptables: Firewall is not running.

这个LINK不是解决方案,因为我添加的回购没有区别。我尝试使用Fiware,MongoDB和Epel。

我错过了什么。有没有人伸出援助之手?我认为这是一个网络问题但不明白为什么"正常" yum update正在运行。 有什么想法吗?

干杯 CH

1 个答案:

答案 0 :(得分:0)

我的解决方案是分配一个新的IP地址。并重新加载到防火墙规则。