Yum에는 repodata 디렉터리에 존재하지 않는 updateinfo.xml 해시가 필요합니다.

Yum에는 repodata 디렉터리에 존재하지 않는 updateinfo.xml 해시가 필요합니다.

"yum clean dbcache metadata"왜 이 일을 더 자주 해야 하는지 아시나요 ? 저는 epel repo가 ​​있는 centos6.6을 사용하고 있습니다. 미러에서 패키지를 가져오는 데 자주 실패하고 yum을 다시 정리할 때까지 404 오류가 발생합니다. 아래는 로그의 일부입니다.

Trying other mirror.
http://mirrors.syringanetworks.net/fedora-epel/6/x86_64/repodata/3a5d63c8e27b2a5b5bf046c71ec05e3710df642c3e13f6e6354bd2b613f3c7e7-updateinfo.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirror.sfo12.us.leaseweb.net/epel/6/x86_64/repodata/3a5d63c8e27b2a5b5bf046c71ec05e3710df642c3e13f6e6354bd2b613f3c7e7-updateinfo.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirrors.cat.pdx.edu/epel/6/x86_64/repodata/3a5d63c8e27b2a5b5bf046c71ec05e3710df642c3e13f6e6354bd2b613f3c7e7-updateinfo.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirrors.tummy.com/pub/fedora.redhat.com/epel/6/x86_64/repodata/3a5d63c8e27b2a5b5bf046c71ec05e3710df642c3e13f6e6354bd2b613f3c7e7-updateinfo.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirrors.kernel.org/fedora-epel/6/x86_64/repodata/3a5d63c8e27b2a5b5bf046c71ec05e3710df642c3e13f6e6354bd2b613f3c7e7-updateinfo.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.

리폴리싱의 결과물입니다

# yum repolist
Loaded plugins: fastestmirror, presto, security
Loading mirror speeds from cached hostfile
 * base: mirror.solarvps.com
 * epel: mirror.symnds.com
 * extras: mirror.metrocast.net
 * updates: mirror.es.its.nyu.edu
repo id                                                     repo name                                                                                           status
base                                                        CentOS-6 - Base                                                                                      6,518
epel                                                        Extra Packages for Enterprise Linux 6 - x86_64                                                      11,745
extras                                                      CentOS-6 - Extras                                                                                       38
updates                                                     CentOS-6 - Updates                                                                                   1,370
repolist: 19,671

업데이트: 요리사 레시피를 사용하여 설치했습니다.https://github.com/chef-cookbooks/yum-epel ..저장소를 설치하는 특별한 방법은 보이지 않습니다.

/var/log/yum.log (yum을 정리한 후 오늘 설치한 플러그인 표시)

Jul 07 20:42:05 Installed: wget-1.12-5.el6_6.1.x86_64
Jul 23 17:17:12 Updated: nginx-filesystem-1.0.15-12.el6.noarch
Jul 23 17:17:12 Updated: nginx-1.0.15-12.el6.x86_64
Jul 30 21:25:43 Installed: yum-plugin-security-1.1.30-30.el6.noarch

/etc/yum.conf

# This file was generated by Chef
# Do NOT modify this file by hand.

[main]
cachedir=/var/cache/yum/$basearch/$releasever
debuglevel=2
distroverpkg=centos-release
exactarch=1
gpgcheck=1
installonly_limit=3
keepcache=0
logfile=/var/log/yum.log
obsoletes=1
plugins=1

/etc/yum.repos.d/epel.repo

# This file was generated by Chef
# Do NOT modify this file by hand.

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
enabled=1
failovermethod=priority
gpgcheck=1
gpgkey=https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
sslverify=true

관련 정보