简体   繁体   English

Yum 安装失败 - “无法解析主机:elgis.argeo.org;未知错误”

[英]Yum Installation fails - "Could not resolve host: elgis.argeo.org; Unknown error"

Receiving following error when attempting to install:尝试安装时收到以下错误:

yum install centos-release-scl Loaded plugins: fastestmirror, priorities Loading mirror speeds from cached hostfile *nux-dextop: mirror.li.nux.rohttp://elgis.argeo.org/repos/6/elgis/x86_64/repodata/repomd.xml : [Errno 14] curl#6 - "Could not resolve host: elgis.argeo.org; Unknown error" Trying other mirror. yum install centos-release-scl 加载插件:fastestmirror, priorities 从缓存主机文件加载镜像速度 *nux-dextop: mirror.li.nux.rohttp://elgis.argeo.org/repos/6/elgis/x86_64/repodata /repomd.xml:[Errno 14] curl#6 -“无法解析主机:elgis.argeo.org;未知错误”正在尝试其他镜像。 597 packages excluded due to repository priority protections No package centos-release-scl available.由于存储库优先级保护而排除了 597 个软件包没有可用的 package centos-release-scl。 Error: Nothing to do错误:无事可做

Any help is much appreciated:)任何帮助深表感谢:)

The repo / the linkhttp://elgis.argeo.org/repos/6/elgis/x86_64/repodata/repomd.xml is an invalid address.回购/链接http://elgis.argeo.org/repos/6/elgis/x86_64/repodata/repomd.xml是无效地址。

https://wiki.osgeo.org/wiki/Enterprise_Linux_GIS "The ELGIS repository is not maintained any more, use EPEL." https://wiki.osgeo.org/wiki/Enterprise_Linux_GIS “不再维护 ELGIS 存储库,请使用 EPEL。”

But CentOS 6 had "End Of Life" November 30, 2020, so "EPEL for old versions" (( https://archives.fedoraproject.org/pub/archive/epel/ )) must be used.但是 CentOS 6 在 2020 年 11 月 30 日“生命终结”,因此必须使用“旧版本的 EPEL”(( https://archives.fedoraproject.org/pub/archive/epel/ ))。 Example CentOS 6.10 EPEL repo file x86_64:示例 CentOS 6.10 EPEL 回购文件 x86_64:

[epel-6.10.repo]
name=CentOS-6.10-EPEL
baseurl=https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/
enabled=1
gpgcheck=1

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

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