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

Notices


Reply
  Search this Thread
Old 07-14-2009, 01:34 AM   #1
vikyath
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 http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
[Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Error: Cannot find a valid baseurl for repo: base
#
--------------------------------------------------------------------------

Looking for your valuable inputs
Thanks,
Vikyath
 
Old 07-14-2009, 09:06 AM   #2
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 297

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, 09:50 AM   #3
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 774
Blog Entries: 6

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

also

try ping -c 4 google.com
 
Old 07-15-2009, 12:32 AM   #4
Bhagyesh
Member
 
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, 01:26 AM   #5
lazlow
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, 03:09 AM   #6
andycol
Member
 
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
CentOS-Media.repo
CentOS-Base.repo

otherwise re-add them

Andrew
 
  


Reply


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 11:07 AM
Uninstalling when install done thorugh urmpi ShadowMetis Linux - Software 4 12-05-2004 12:59 PM
From where Do I download YUM? TSynergy Linux - Newbie 4 11-06-2004 10:01 PM
internet sharing thorugh LANs mashoodalam Linux - Networking 1 08-28-2003 12:46 PM
Add a user thorugh SHELL? mikeshn Linux - General 4 01-08-2003 11:31 PM


All times are GMT -5. The time now is 04:06 PM.

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