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

1 Answer 1


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


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

  • Thank you I have got an error stating that No package dkms is available Feb 15, 2012 at 4:19
  • DKMS appears to be in RPMForge. Do you have that repository enabled?
    – devicenull
    Feb 15, 2012 at 14:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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