°Ô½Ã¹° 1,369°Ç
   
yum update error (Error: Cannot open/read repomd.xml file)
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2009-12-13 (ÀÏ) 21:27 Á¶È¸ : 17611
±ÛÁÖ¼Ò :
                                

¿¡·¯È®ÀÎ

[root@mojily yum.repos.d]#  yum list available
Loading "kernel-module" plugin
Loading "installonlyn" plugin
Setting up repositories
 http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: extras

ÇØ°á¹æ¹ý

[root@mojily yum.repos.d]# yum clean all
Loading "kernel-module" plugin
Loading "installonlyn" plugin
Cleaning up Everything

yum clean all ÅëÇØ ¼³Á¤»óÀÇ ¹®Á¦°¡ ÀÖ´ÂÁö È®ÀÎ, È®ÀÎÈÄ ¹®Á¦°¡ ¾ø´Ù¸é
¿¡·¯ ¹®±¸Áß¿¡¼­ ã°ÔµÈ http://mirrors.fedoraproject.org/mirrorlist?repo=core-6&arch=i386 ÁÖ¼Ò¸¦ Á¢¼ÓÇغ»´Ù.
Åë½Å»óÀÇ ¹®Á¦°¡ ¾Æ´Ï¶ó¸é ÇöÀç Á¢¼ÓµÇ¾î ÀÖ´Â °¡Àå °¡±î¿î ¹Ì·¯¸µ¼­¹ö È®ÀÎ

# repo = core-6 arch = i386 country = global
http://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/core/6/i386/os/
http://archive.kernel.org/fedora-archive/fedora/linux/core/6/i386/os/
http://archive.fedoraproject.org/pub/archive/fedora/linux/core/6/i386/os/

ÀÌÁ¦ ºÎÅÍ´Â À¥À» ÅëÇØ È®ÀÎÇÑ ¹Ì·¯¸µ ¼­¹ö¸¦ ¼öµ¿À¸·Î ¼³Á¤ÇؾßÇÑ´Ù. ¿ø·¡¶ó¸é YUMÀÌ ÀÚµ¿À¸·Î ¸ñ·ÏÀ» °»½Å Çß¾î¾ß ÇÑ´Ù.
¸¸¾à ¿¡·¯°¡ Ãâ·ÂµÈ´Ù¸é NetworkÁ¤º¸¸¦ ¸ÕÀú È®ÀÎÇؼ­ internetÀÌ È°¼ºÈ­ »óÅÂÀÎÁö Á¡°ËÇÑ´Ù.

¼­¹ö¼³Á¤

[root@mojily yum.repos.d]# pwd
/etc/yum.repos.d

[root@mojily yum.repos.d]# ls -al
ÇÕ°è 64
drwxr-xr-x  2 root root  4096 12¿ù 13 21:54 .
drwxr-xr-x 88 root root 12288 12¿ù 13 21:48 ..
-rw-r--r--  1 root root  1300 12¿ù 13 21:53 fedora-core.repo
-rw-r--r--  1 root root  1966 12¿ù 13 21:40 fedora-development.repo
-rw-r--r--  1 root root  1490 10¿ù 16  2006 fedora-extras-development.repo
-rw-r--r--  1 root root  1441 12¿ù 13 21:54 fedora-extras.repo
-rw-r--r--  1 root root   517 10¿ù 16  2006 fedora-legacy.repo
-rw-r--r--  1 root root  1112 10¿ù 16  2006 fedora-updates-testing.repo
-rw-r--r--  1 root root  1342 12¿ù 13 21:54 fedora-updates.repo


Âü°í(fedora ¹öÀü¸¶´Ù À§Ä¡ÇÑ ÆÄÀÏ À̸§ÀÌ ¾à°£ÀÇ Â÷ÀÌ°¡ ÀÖÀ»¼ö ÀÖ´Ù.
ex:fedora-core 3 ¿¡¼­´Â fedora.repo·Î µÇ¾î ÀÖ´Â ÆÄÀÏÀÌ fedora-core6 ¿¡¼­´Â fedora-core.repo ¶ó´Â ÆÄÀÏÀ̸§À¸·Î ¹Ù²î¾ú´Ù)

ÆÄÀϼöÁ¤
fedora-core.repo
fedora-extras.repo
fedora-updates.repo

³»¿ëÀ» ¹Ù²Ù´Â ¹æ¹ýÀº ±âÁ¸¿¡ »ç¿ëµÇ¾ú´ø mirrorlist ¿Í baseurlÀ» ¸ðµÎ ÁÖ¼®Ã³¸®

# [root@mojily yum.repos.d]# vim fedora-core.repo
[core]
name=Fedora Core $releasever - $basearch
baseurl=http://archive.kernel.org/fedora-archive/fedora/linux/core/6/i386/os/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://archive.kernel.org/fedora-archive/fedora/linux/core/6/i386/debug/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
baseurl=http://archive.kernel.org/fedora-archive/fedora/linux/core/6/source/SRPMS/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


ºÓÀº»öÀ¸·Î µÇ¾îÀÖ´Â ºÎºÐ¸¸ Ãß°¡ÇÏ¸é µÈ´Ù.
Âü°í·Î ³»¿ëÀ» º¸¸é ¾Ë°ÚÁö¸¸. $releaseverº¯¼ö´Â fedora core ÀÇ ¹öÀüÀ» ¶æÇÏ°í $basearch´Â ¹Þ¾Æ¾ß ÇÒ rpmÀ» ¶æÇÑ´Ù.

# [root@mojily yum.repos.d]#vim fedora-extras.repo
[extras]
name=Fedora Extras $releasever - $basearch
baseurl=http://archive.kernel.org/fedora-archive/fedora/linux/extras/6/i386/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

[extras-debuginfo]
name=Fedora Extras $releasever - $basearch - Debug
baseurl=http://archive.kernel.org/fedora-archive/fedora/linux/extras/6/i386/debug/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/debug/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-debug-$releasever&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

[extras-source]
name=Fedora Extras $releasever - Source
baseurl=http://archive.kernel.org/fedora-archive/fedora/linux/extras/6/SRPMS/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/SRPMS/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-source-$releasever&arch=$basearch
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

 

# [root@mojily yum.repos.d]# vim fedora-updates.repo
[updates]
name=Fedora Core $releasever - $basearch - Updates
baseurl=http://archive.kernel.org/fedora-archive/fedora/linux/core/updates/6/i386/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-debuginfo]
name=Fedora Core $releasever - $basearch - Updates - Debug
baseurl=http://archive.kernel.org/fedora-archive/linux/core/updates/6/i386/debug/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/debug/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-fc$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-source]
name=Fedora Core $releasever - Updates Source
baseurl=http://archive.kernel.org/fedora-archive/linux/core/updates/6/SRPMS/
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/SRPMS/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-fc$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora


¿ø·¡ ÆÄÀÏ·Î ÀÖ´Â baseurlÀÇ ³»¿ëÀ» Âü°íÇؼ­ ¼öÁ¤ÇϸéµÈ´Ù.
ÀÌ·¸°Ô ¹Ì·¯¸µ ¼­¹ö ¸ñ·ÏÀ» ¼öµ¿À¸·Î ¹Ù²Ù¾ú´Ù¸é ÀÌÁ¦ºÎÅÍ´Â yum ½ÃÀ۽à ¹®Á¦°¡ µÇ¾ú´ø ºÎºÐÀÌ ¾øÀ»°ÍÀÌ´Ù. yum clean all À» ÅëÇØ ¼öµ¿À¸·Î ¼³Á¤ÇÑ ¸ñ·Ï¿¡ ÀÌ»óÀÌ ¾ø´ÂÁö È®ÀÎÇÑ´Ù.


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.