我已经在我的服务器上安装了EPEL存储库。我想安装一些新的东西,我在yum中得到了这个错误:
PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: CentALT. Please verify its path and try again
当我检查EPEL (编辑注意事项:实际上是CentALT,但为了清晰起见保留原件) url时,我在url中得到了这个错误:
403 Forbidden - nginx所以我决定改变EPEL的来源。我在http://howto.wikin.com/wiki/How_to_Delete_Centos_Repositories上完成了移除以前的存储库的步骤,当我执行yum repolist操作时,我得到了以下步骤:
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.mirror.gtcomm.net
* extras: centos.mirror.gtcomm.net
* updates: centos.mirror.iweb.ca
http://centos.alt.ru/repository/centos/6/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
repo id repo name status
CentALT CentALT Packages for Enterprise Linux 6 - x86_64 0
base CentOS-6 - Base 0
extras CentOS-6 - Extras 0
mariadb MariaDB 0
updates CentOS-6 - Updates 0
repolist: 0现在,当我想用以下命令安装EPEL存储库时:
sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
仍然会收到以下错误:
Retrieving http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm Preparing... ########################################### [100%] package epel-release-6-8.noarch is already installed
怎样才能安装EPEL回购系统?
发布于 2014-06-19 18:31:17
要重新安装EPEL存储库,请为该回购的yum reinstall运行.rpm。
yum reinstall 'http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm'发布于 2014-06-18 18:27:27
您将问题归咎于错误的存储库。错误是针对CentALT存储库的。在这一点上,它似乎是不正常的(返回403 s)。在这种情况下,解决方案是删除CentALT存储库并运行yum clean all。至于EPEL没有出现在存储库列表中,请查看运行yum clean all之后会发生什么。它似乎仍然安装在您的系统上。
https://serverfault.com/questions/606200
复制相似问题