LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing kernel-xen and xen packages (https://www.linuxquestions.org/questions/linux-newbie-8/installing-kernel-xen-and-xen-packages-730312/)

vinaytp 06-03-2009 12:06 AM

installing kernel-xen and xen packages
 
hi all.........

To set up for xen , i am trying to install kernel-xen and xen packages using following command....

# yum -y install kernel-xen xen

but i am getting following output with error

Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...d-f9&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again


can anyone please help me...............

Thanks in advance.........

paul81 06-03-2009 06:10 AM

Always read the error message closely. This will give you the hint(s) for debugging the problem.
Regarding your errormessage, pay attention to the text 'Temporary failure in name resolution'. The name (mirrors.fedoraproject.org) can't be resolved. Does the machine have a correct working internet connection?
What does the command $ ping mirrors.fedoraproject.org return?

vinaytp 06-03-2009 06:19 AM

internet connection is working but iam not able to ping to mirrors.fedoraproject.org ....

paul81 06-04-2009 12:11 AM

Ok, so there must be a problem in resolving the DNS name to an IP address.
I did a nslookup on mirrors.fedoraproject.org and got the following:
Code:

Non-authoritative answer:
 mirrors.fedoraproject.org        canonical name = wildcard.fedoraproject.org.
 Name:        wildcard.fedoraproject.org
 Address: 66.35.62.166
 Name:        wildcard.fedoraproject.org
 Address: 80.239.156.215
 Name:        wildcard.fedoraproject.org
 Address: 152.46.7.222
 Name:        wildcard.fedoraproject.org
 Address: 209.132.176.120

Try the following: add an entry for mirrors.fedoraproject.org in your /etc/hosts file.

Code:

$ sudo vi /etc/hosts
66.35.62.166  mirrors.fedoraproject.org

Now see if your install works.


All times are GMT -5. The time now is 05:31 PM.