Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to install dkms to install the VBGuessAdditions but

yum install dkms

always results in an error

loaded pluggins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was 14: PYCURL ERROR 6 - "Could not resoltve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo:base

share|improve this question

1 Answer 1

Your DNS servers are broken. What do you have in /etc/resolv.conf? Replace it with something like this:

nameserver 8.8.8.8
nameserver 8.8.4.4

If that doesn't fix it, make sure you have outbound connectivity, and there's no iptables rules blocking things.

share|improve this answer
    
Thank you I have got an error stating that No package dkms is available –  user1125233 Feb 15 '12 at 4:19
    
DKMS appears to be in RPMForge. Do you have that repository enabled? –  devicenull Feb 15 '12 at 14:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.