title: When using Centos 6, I cannot run 'yum update' anymore, I get this error 'Cannot find a valid baseurl for repo: base'
body: <p>When using VirtualBox with a Centos6 image I cannot do yum udpate anymore, I have checked on the internet and it looks that Centos6 is deprecated.</p>
  <pre><code>[root@centos69 ~]# yum makecache
  Failed to set locale, defaulting to C
  Loaded plugins: fastestmirror, refresh-packagekit, security
  Determining fastest mirrors
  YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
   Eg. Invalid release/repo/arch combination/
  removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
  Error: Cannot find a valid baseurl for repo: base
  
  [root@centos69 ~]# yum update
  Failed to set locale, defaulting to C
  Loaded plugins: fastestmirror, refresh-packagekit, security
  Setting up Update Process
  Loading mirror speeds from cached hostfile
  YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
   Eg. Invalid release/repo/arch combination/
  removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
  Error: Cannot find a valid baseurl for repo: base
  </code></pre>