0
Answered

[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"

Ricardo Cunha 11 years ago updated by KeithPatton 6 years ago 6
Instalação do Ajenti no RedHat 6.2:

[root@xxxxx ~]# yum install ajenti
Loaded plugins: security
Repository rhel-debuginfo is listed more than once in the configuration
Repository rhel-debuginfo-beta is listed more than once in the configuration
http://repo.ajenti.org/ng/centos/5Server/x86_64/re... [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ajenti. Please verify its path and try again
Under review
Run yum clean all and try again.
I ran but not had succeed, following return.

[root@xxxx ~]# uname -a
Linux tjpjh03.tj.ce.gov.br 2.6.32-220.el6.x86_64 #1 SMP Wed Nov 9 08:03:13 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@xxxx ~]# cat /etc/yum.repos.d/
ajenti.repo epel-release-6-8.noarch.rpm epel-testing.repo rhel-source.repo
cdrom.repo epel.repo rhel-debuginfo.repo
[root@tjpjh03 ~]# cat /etc/yum.repos.d/ajenti.repo
[ajenti]
name=Ajenti
baseurl=http://repo.ajenti.org/ng/centos/$releasever/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ajenti-packagers

[root@xxxx ~]# cat /etc/yum.repos.d/epel
cat: /etc/yum.repos.d/epel: Arquivo ou diretório não encontrado
[root@tjpjh03 ~]# cat /etc/yum.repos.d/epel
epel-release-6-8.noarch.rpm epel.repo epel-testing.repo
[root@xxxx ~]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[root@xxxx ~]# yum clean all
Loaded plugins: security
Repository rhel-debuginfo is listed more than once in the configuration
Repository rhel-debuginfo-beta is listed more than once in the configuration
Cleaning repos: ajenti epel
Cleaning up Everything
[root@xxxx ~]# yum install ajenti
Loaded plugins: security
Repository rhel-debuginfo is listed more than once in the configuration
Repository rhel-debuginfo-beta is listed more than once in the configuration
http://repo.ajenti.org/ng/centos/5Server/x86_64/re... [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ajenti. Please verify its path and try again
-2
Fixed; re-run yum clean metadata and then yum install ajenti
Thank you. The problem is resolved.