Yum Issues: Cannot find a valid baseurl

General support questions
Post Reply
lycovian
Posts: 1
Joined: 2014/07/20 16:47:17

Yum Issues: Cannot find a valid baseurl

Post by lycovian » 2014/07/20 16:55:56

Just installed the latest CentOS 7 LiveCD from torrents, after initial setup installing to my local harddrive, and reboot and login to CentOS yum is broken. It's giving me:
Cannot find a valid baseurl for repo: base/7/x86_64

I've made no changes to the system other than to install it from the LiveCD with default options.

Not to confuse the issue but I installed the LiveCD version as the previous version of CentOS 7 I had installed (Everything ISO I believe) worked for a few days and then started giving me the same error. Are the base repos for CentOS 7 offline?

Thanks for any information you can furnish.

User avatar
TrevorH
Forum Moderator
Posts: 23042
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum Issues: Cannot find a valid baseurl

Post by TrevorH » 2014/07/20 17:14:32

No, sounds more like your DNS servers are not working.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

tomasz.szkudlarek
Posts: 1
Joined: 2014/07/24 13:25:24

Re: Yum Issues: Cannot find a valid baseurl

Post by tomasz.szkudlarek » 2014/07/24 13:28:38

Have the same problem. Installed from torrent 64 "everything" version. In my case it's not the DNS problem. I use proxy without authorization, and i can use other internet-connected tools without problems. Yum from the other side gives me exaclty same error...

User avatar
TrevorH
Forum Moderator
Posts: 23042
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum Issues: Cannot find a valid baseurl

Post by TrevorH » 2014/07/24 16:12:04

If you use a proxy then you need to edit /etc/yum.conf and read man yum.conf and add the right lines to the file to tell it about the proxy.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply