이것은 아무런 문제없이 몇 달 동안 내 방랑하는 VM에서 실행되었습니다. 나는 아무것도 바꾸지 않았고 이전에도 아무 문제 없이 이 작업을 vagrant up
여러 번 수행했습니다. vagrant destroy
하지만 이제는 실패하고 문제를 파악할 수 없습니다. vim도 설치가 안되네요.
버전 정보
[root@localhost ~]# uname -a
Linux localhost 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# cat /etc/*{release,version}
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
CentOS release 6.5 (Final)
EPEL 설치
[root@localhost ~]# rpm -ivh http://dl.fedoraproject.org/pub/epel/6/$(uname -i)/epel-release-6-8.noarch.rpm
Receiving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Warning: /var/tmp/rpm-tmp.RGvUnd: Header V3 RSA/SHA256 Signature, Key-ID 0608b895: NOKEY
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]
[root@localhost ~]# yum clean all
[root@localhost ~]#
/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
업데이트 확인을 시도했습니다(실패).
[root@localhost ~]# yum check-update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp-stud.fht-esslingen.de
* epel: mirrors.ircam.fr
* extras: mirror2.hs-esslingen.de
* updates: mirror2.hs-esslingen.de
http://mirrors.ircam.fr/pub/fedora/epel/6/x86_64/repodata/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
[...]
epel을 제외한 업데이트를 확인해 보세요(작동).
[root@localhost ~]# yum --disablerepo="epel" check-update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp-stud.fht-esslingen.de
* extras: mirror2.hs-esslingen.de
* updates: mirror2.hs-esslingen.de
[vagrant@localhost ~]#
URLGRABBER_DEBUG
[root@localhost ~]# URLGRABBER_DEBUG=1 yum check-update 2> debug.log
2014-09-03 07:39:10,534 MIRROR: trying repodata/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2 -> http://mirrors.ircam.fr/pub/fedora/epel/6/x86_64/repodata/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2
INFO:urlgrabber:MIRROR: trying repodata/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2 -> http://mirrors.ircam.fr/pub/fedora/epel/6/x86_64/repodata/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2
2014-09-03 07:39:10,535 combined options: {
'checkfunc' : (<bound method YumRepository.checkMD of <yum.yumRepo.YumRepository object at 0x27c8490>>, ('primary_db',), {}),
'copy_local' : 1,
'http_headers' : (),
'range' : None,
'reget' : 'simple',
'size' : '6623767',
'text' : 'epel/primary_db',
'delegate' : {
'bandwidth' : 0,
'cache_openers': True,
'checkfunc' : None,
'close_connection': 0,
'copy_local' : 0,
'data' : None,
'delegate' : None,
'failure_callback': (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0x276c0d0>>, (), {}),
'ftp_headers' : None,
'http_headers' : (),
'interrupt_callback': <bound method YumBaseCli.interrupt_callback of <cli.YumBaseCli object at 0x276c0d0>>,
'keepalive' : True,
'max_header_size': 2097152,
'opener' : None,
'password' : None,
'prefix' : None,
'progress_obj' : <output.YumTextMeter instance at 0x279e4d0>,
'proxies' : None,
'quote' : None,
'range' : None,
'reget' : 'simple',
'retry' : 10,
'retrycodes' : [-1, 2, 4, 5, 6, 7],
'size' : None,
'ssl_ca_cert' : None,
'ssl_cert' : None,
'ssl_cert_type': 'PEM',
'ssl_context' : None,
'ssl_key' : None,
'ssl_key_pass' : None,
'ssl_key_type' : 'PEM',
'ssl_verify_host': True,
'ssl_verify_peer': True,
'text' : None,
'throttle' : 0,
'timeout' : 30.0,
'urlparser' : <urlgrabber.grabber.URLParser instance at 0x28f1f38>,
'user_agent' : 'urlgrabber/3.9.1 yum/3.2.29',
'username' : None,
}
}
DEBUG:urlgrabber:combined options: {
'checkfunc' : (<bound method YumRepository.checkMD of <yum.yumRepo.YumRepository object at 0x27c8490>>, ('primary_db',), {}),
'copy_local' : 1,
'http_headers' : (),
'range' : None,
'reget' : 'simple',
'size' : '6623767',
'text' : 'epel/primary_db',
'delegate' : {
'bandwidth' : 0,
'cache_openers': True,
'checkfunc' : None,
'close_connection': 0,
'copy_local' : 0,
'data' : None,
'delegate' : None,
'failure_callback': (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0x276c0d0>>, (), {}),
'ftp_headers' : None,
'http_headers' : (),
'interrupt_callback': <bound method YumBaseCli.interrupt_callback of <cli.YumBaseCli object at 0x276c0d0>>,
'keepalive' : True,
'max_header_size': 2097152,
'opener' : None,
'password' : None,
'prefix' : None,
'progress_obj' : <output.YumTextMeter instance at 0x279e4d0>,
'proxies' : None,
'quote' : None,
'range' : None,
'reget' : 'simple',
'retry' : 10,
'retrycodes' : [-1, 2, 4, 5, 6, 7],
'size' : None,
'ssl_ca_cert' : None,
'ssl_cert' : None,
'ssl_cert_type': 'PEM',
'ssl_context' : None,
'ssl_key' : None,
'ssl_key_pass' : None,
'ssl_key_type' : 'PEM',
'ssl_verify_host': True,
'ssl_verify_peer': True,
'text' : None,
'throttle' : 0,
'timeout' : 30.0,
'urlparser' : <urlgrabber.grabber.URLParser instance at 0x28f1f38>,
'user_agent' : 'urlgrabber/3.9.1 yum/3.2.29',
'username' : None,
}
}
2014-09-03 07:39:10,535 attempt 1/10: http://mirrors.ircam.fr/pub/fedora/epel/6/x86_64/repodata/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2
INFO:urlgrabber:attempt 1/10: http://mirrors.ircam.fr/pub/fedora/epel/6/x86_64/repodata/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2
2014-09-03 07:39:10,535 opening local file "/var/cache/yum/x86_64/6/epel/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2" with mode ab
INFO:urlgrabber:opening local file "/var/cache/yum/x86_64/6/epel/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2" with mode ab
* About to connect() to mirrors.ircam.fr port 80 (#0)
* Trying 129.102.1.37... * connected
* Connected to mirrors.ircam.fr (129.102.1.37) port 80 (#0)
> GET /pub/fedora/epel/6/x86_64/repodata/9fdd4609f219b3ec5cfa5408ab03b84b2bce97ab6de268b890577ee86b998618-primary.sqlite.bz2 HTTP/1.1
User-Agent: urlgrabber/3.9.1 yum/3.2.29
Host: mirrors.ircam.fr
Accept: */*
* The requested URL returned error: 404 Not Found
* Closing connection #0
2014-09-03 07:39:10,610 exception: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
INFO:urlgrabber:exception: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
2014-09-03 07:39:10,610 calling callback: (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0x276c0d0>>, (), {})
INFO:urlgrabber:calling callback: (<bound method YumBaseCli.failureReport of <cli.YumBaseCli object at 0x276c0d0>>, (), {})
어떤 아이디어가 있나요?
답변1
@Burhan Ali의 말이 맞습니다. 이는 EPEL 저장소의 일시적인 문제인 것 같습니다.
나는 언급된 것 대신 /etc/yum.repos.d/epel.repo
에를 사용하도록 변경했습니다.baseurl
mirrorlist
이 답변이제 괜찮아.
답변2
Google을 통해 이 문제에 도달한 다른 사람들의 경우 CentOS의 오래된 보안 패키지로 인해 문제가 발생할 수도 있습니다. 나에게 수정 사항은 다음과 같습니다.
rpm -ev epel-release-6-8.noarch
yum update
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/$(uname -i)/epel-release-6-8.noarch.rpm