Fedora core 4를 2012년 8월 13일인 오늘 설치하여
yum 을 사용하려고 보니 repository 설정이 사용 불가능한 서버를 가리키고 있었다.
fedora:[~]# yum install proftpd Loading "installonlyn" plugin Setting up Install Process Setting up repositories core [1/3] http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')> Trying other mirror. Cannot open/read repomd.xml file for repository: core failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try. Error: failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try. |
따라서 인터넷을 찾아보아 새로운 repository 설정법을 찾았다.
아래 3개의 파일에서 baseurl을 변경해주면 된다. mirrorlist 모두 주석처리 했다.
/etc/yum.repos.d/fedora-core.repo
[core]
... baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/os/ … [core-debuginfo] ... baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/$basearch/debug/ … [core-source] ... baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/$releasever/source/SRPMS/ … |
/etc/yum.repos.d/fedora-updates.repo
[updates]
... baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/ ... [updates-debuginfo] ... baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/$basearch/debug/ [updates-source] ... baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/core/updates/$releasever/SRPMS/ … |
/etc/yum.repos.d/fedora-extras.repo
[extras]
... baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/ … [extras-debuginfo] ... baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/$basearch/debug/ … [extras-source] … baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/extras/$releasever/SRPMS/ … |
'Linux' 카테고리의 다른 글
16bit bmp 를 로드할 수 있는 xv-3.10a + jumbopatch(20070520) (0) | 2012.05.23 |
---|---|
Hanterm XFree86.4.2.0 사용법 예시 (0) | 2012.05.15 |
ld: cannot find -lX11 컴파일 에러 대처법 (0) | 2012.05.15 |
rpm 패키지를 설치하지 않고 압축만 해제하는 방법 (0) | 2012.05.15 |
리눅스, 윈도우 파일 생성 시간 차이점 (0) | 2012.02.10 |