Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 07-14-2009, 12:34 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 18

Rep: Reputation: 0
Not able to download thorugh YUM

I have installed Cent OS installed, but somehow i believe that i do not have all the packages. I know i can get it done by reinstalling the OS again with Complete install option. But i would like to configure YUM and get the packages downloaded.
When i try to download any package via yum, it throws the below error message:
#yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist error was
[Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Error: Cannot find a valid baseurl for repo: base

Looking for your valuable inputs
Old 07-14-2009, 08:06 AM   #2
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
You could remove the fastest mirror plugin and revert to the default repos.

Lots of information on the Centos Wiki under package management.
Old 07-14-2009, 08:50 AM   #3
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 780
Blog Entries: 6

Rep: Reputation: 75
another posibility is your dns
check your /etc/resolv.conf


try ping -c 4
Old 07-14-2009, 11:32 PM   #4
Registered: Jul 2009
Posts: 35

Rep: Reputation: 17
try $ vi /etc/resolve.conf

search <ur localdomain>
nameserver <name server ip>
nameserver <name server ip>

nameserver ip --> is you dns ip address
Old 07-15-2009, 12:26 AM   #5
Senior Member
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
If you are running through a local proxy there are a couple of extra hoops you have to jump through to get yum to work. A search of yum proxy on this sight should produce a lot of information.
Old 07-15-2009, 02:09 AM   #6
Registered: Jul 2009
Location: South Africa
Posts: 38

Rep: Reputation: 16
It seems possible as the other guys said you cant resolve hostnames
ping google

also what you can try is check in /etc/yum.repos.d
and see if there is the following

otherwise re-add them



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
web filtering thorugh a proxy jsmarshall85 General 4 12-16-2004 10:07 AM
Uninstalling when install done thorugh urmpi ShadowMetis Linux - Software 4 12-05-2004 11:59 AM
From where Do I download YUM? TSynergy Linux - Newbie 4 11-06-2004 09:01 PM
internet sharing thorugh LANs mashoodalam Linux - Networking 1 08-28-2003 11:46 AM
Add a user thorugh SHELL? mikeshn Linux - General 4 01-08-2003 10:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration