• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1362
  • Last Modified:

Error: Cannot find a valid baseurl for repo: base


when I do yum
I get this error
Error: Cannot find a valid baseurl for repo: base

I am using a vps where centos 5 is installed

could this be because I am not given enough privileges as a vps user

and I should ask my hosting company
0
rgb192
Asked:
rgb192
  • 2
2 Solutions
 
acl-puzzCommented:
Hi

it looks the the baseurl which has been put in  /etc/yum.repos.d/Centos-Base.repo file is not working you can install EPEL repository which works great simply issue this command

rpm -ivh  http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm

Cheers
0
 
nabeelmoiduCommented:
replace the mirror url with something direct..it works most of the time
0
 
nabeelmoiduCommented:
in the yum repo file
0
 
rgb192Author Commented:
thanks
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now