Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a VPS and i wanted to install some packages with yum. But for some reason i'm getting errors when i try to do that. I also have no idea how to fix this.
This is the error that i'm getting when i try to do a yum update. (I'm getting the same error for all yum commands)
Quote:
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: base
I checked my resolv.conf file. It had the Google DNS in it 8.8.4.4 8.8.8.8, but i changed that to OpenDNS:
you've got some clear gaps in your troubleshooting there... who cares about yum if it's a DNS issue? Is DNS working? if you ping a remote site, does it resolve? then, what sites is yum trying to resolve? look in /etc/yum.repos.d/*
I forgot to add, but i tried to ping a site which didn't work. I also tried the host command and that didn't work either.
So that's probably the reason i can't access any mirrors, since i can't access any internet address at all...
If you dont want to use Google's DNS, contact your admin or ISP to help you find your actual DNS server which can help you with name resolution as the one which you are using doesn't seems much helping in your case.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.