When I fire up the virtualbox VM Centos starts as I would expect, but when I try to use yum list updates (or any of several other yum command I've tried) I get a repo error - " Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base
I looked in the repo.d and the base CentOS-Base.repo suggests that if the mirrorlist= does not work I should try the commented out baseurl= instead. But I don't seem to have nano and can't install it - yum install fails as above.
Ideas?
Dave
On 19 February 2014 03:01, Dave Stevens geek@uniserve.com wrote:
When I fire up the virtualbox VM Centos starts as I would expect, but when I try to use yum list updates (or any of several other yum command I've tried) I get a repo error - " Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base
I looked in the repo.d and the base CentOS-Base.repo suggests that if the mirrorlist= does not work I should try the commented out baseurl= instead. But I don't seem to have nano and can't install it - yum install fails as above.
Ideas?
Dave
-- Advertising is the rattling of a stick inside a swill bucket - George Orwell
Does the VirtualBox VM have access to the internet, are there any proxy
setting on the host?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Quoting Earl A Ramirez earlaramirez@gmail.com:
On 19 February 2014 03:01, Dave Stevens geek@uniserve.com wrote:
When I fire up the virtualbox VM Centos starts as I would expect, but when I try to use yum list updates (or any of several other yum command I've tried) I get a repo error - " Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base
I looked in the repo.d and the base CentOS-Base.repo suggests that if the mirrorlist= does not work I should try the commented out baseurl= instead. But I don't seem to have nano and can't install it - yum install fails as above.
Ideas?
Dave
-- Advertising is the rattling of a stick inside a swill bucket - George Orwell
Does the VirtualBox VM have access to the internet, are there any proxy
setting on the host?
seems so - I have a terminal and can ping out and ftp, the host computer is a home ubuntu box on a wifi network, I'm typing right now on another computer on the same network, I'm not aware of any connectivity issues, I haven't set up any proxy.
Dave
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Kind Regards Earl Ramirez _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, 2014-02-18 at 20:32 -0800, Dave Stevens wrote:
When I fire up the virtualbox VM Centos starts as I would expect, but when I try to use yum list updates (or any of several other yum command I've tried) I get a repo error - " Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was 14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'" Error: Cannot find a valid baseurl for repo: base
seems so - I have a terminal and can ping out and ftp, the host computer is a home ubuntu box on a wifi network, I'm typing right now on another computer on the same network, I'm not aware of any connectivity issues, I haven't set up any proxy.
I got exactly the same problem due to a firewall (IP Tables) stopping traffic. Ensure port 80 is open.
check following #cd /etc/yum.repos.d check whether base.repo is available and then remove that file
You can freshly install latest epel from location accorindg to your version http://download.fedoraproject.org/pub/epel
Then you can try yum -------------------------------------------- On Wed, 19/2/14, Always Learning centos@u62.u22.net wrote:
Subject: Re: [CentOS] new Centos 6.5 32 bit yum issue To: "CentOS mailing list" centos@centos.org Date: Wednesday, 19 February, 2014, 4:37 AM
On Tue, 2014-02-18 at 20:32 -0800, Dave Stevens wrote:
When I fire up the virtualbox VM Centos starts
as I would expect, but
when I try to use yum list updates (or any of
several other yum
command I've tried) I get a repo error - " Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os
error was
14: PYCURL ERROR 6 - "Couldn't resolve host
'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo:
base
seems so - I have a terminal and can ping out and ftp,
the host
computer is a home ubuntu box on a wifi network, I'm
typing right now
on another computer on the same network, I'm not aware
of any
connectivity issues, I haven't set up any proxy.
I got exactly the same problem due to a firewall (IP Tables) stopping traffic. Ensure port 80 is open.
-- Paul. England, EU.
Our systems are exclusively Centos. No Micro$oft Windoze here.
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 02/19/2014 11:01 AM, rajkumar raj wrote:
check following #cd /etc/yum.repos.d check whether base.repo is available and then remove that file
DO NOT delete base.repo, this guy is newbie or wants to create you more problems!
You can freshly install latest epel from location accorindg to your version http://download.fedoraproject.org/pub/epel
Then you can try yum
On Wed, 19/2/14, Always Learning centos@u62.u22.net wrote:
Subject: Re: [CentOS] new Centos 6.5 32 bit yum issue To: "CentOS mailing list" centos@centos.org Date: Wednesday, 19 February, 2014, 4:37 AM
On Tue, 2014-02-18 at 20:32 -0800, Dave Stevens wrote:
When I fire up the virtualbox VM Centos starts
as I would expect, but
when I try to use yum list updates (or any of
several other yum
command I've tried) I get a repo error - " Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=i386&repo=os
error was
14: PYCURL ERROR 6 - "Couldn't resolve host
'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo:
base
Couldn't resolve host 'mirrorlist.centos.org means that your VM is not resolving (DNS) that host. Try: ping mirrorlist.centos.org
It it works, then firewall could be the problem, but I doubt it. If it does not work, as I suspect, then either your VM host (Ubuntu) does not accept or forwards DNS requests from your VM guest (CentOS) or "DNS server" information DHCP provides to your guest is faulty.
So you either need to fix your Ubuntu's DNS server, Ubuntu firewall to allow port 53 from inside (CentOS VM), or just set static "Primary DNS server to something like 8.8.8.8 (Google OpenDNS).