Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 10-31-2008, 06:36 AM   #1 (permalink)
Registered User
 
Join Date: Jul 2006
Posts: 161
OS: Windows XP Professional SP3


Send a message via AIM to Ascendancy
CentOS Cannot Install or Download Anything

I have just reformatted with a new install of CentOS 5, and I have been having some problems with being able to install Apache, MySQL, PHP, or really anything I've tried. I have configured my Firefox to run through a proxy server, as the computer is set up at my high school an is running through a Windows ISA Server. So I can get out to the internet on Firefox, but whenever I try to run anything (such as "yum update"), I get the following error message:

Code:
http://mirror.centos.org/centos/5/os/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (111, 'Connection refused')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
I am not sure what would cause this, but I am guessing it is beacuse my internet connection is run through a proxy server, and I have no idea where to go to fix the settings. I have already configured firefox with the proxy settings and it gets out fine, but do I need to go somewhere else to fix the entire internet connection, which would also fix this error?

I am a newbie to Linux, so if I am wrong with my assumption and the error is caused by someting else, please let me know. Thanks for any help in advance!
__________________
I really don't know
Ascendancy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-31-2008, 05:13 PM   #2 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,814
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: CentOS Cannot Install or Download Anything

Hi,

First thing is that you have to be in root to run yum update. To do this type:
Code:
su yum update
password:
Also, take a look at this tutorial from Howtoforge.com. Apache and centOS5. You can disregard the bind part if you don't want to install it. The rest is pretty straight forward.

Cheers!
__________________


Linux Forever!

wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-07-2008, 06:58 AM   #3 (permalink)
Registered User
 
Join Date: Jul 2006
Posts: 161
OS: Windows XP Professional SP3


Send a message via AIM to Ascendancy
Re: CentOS Cannot Install or Download Anything

Even running the command as root gives me the same error, saying that it cannot connect to download anything.
__________________
I really don't know
Ascendancy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-07-2008, 10:06 AM   #4 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,814
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: CentOS Cannot Install or Download Anything

Hi,

Have you done an update as I recommended in my last post? If so can you post the error that it is giving you from running at root.

Cheers!
__________________


Linux Forever!

wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-12-2008, 05:39 AM   #5 (permalink)
Registered User
 
Join Date: Jul 2006
Posts: 161
OS: Windows XP Professional SP3


Send a message via AIM to Ascendancy
Re: CentOS Cannot Install or Download Anything

Hey wmorri,

I tried your code, but it says that there is no user as "yum". I think you meant to type "su root yum update", which I tried instead and got this error message:

Code:
/usr/bin/yum: line 2: import: command not found
/usr/bin/yum: line 3: try:: command not found
/usr/bin/yum: line 4: import: command not found
/usr/bin/yum: line 5: except: command not found
/usr/bin/yum: yum: line 23: syntax error near unexpected token `('
/usr/bin/yum: yum: line 23: `""" % (sys.exc_value, sys.version)'
Let me know if this makes any sense.
__________________
I really don't know
Ascendancy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-12-2008, 07:53 AM   #6 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,814
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: CentOS Cannot Install or Download Anything

Hi,

This makes sense to me. It just goes to show me that I should try it on my own computer before I tell others to try. I should have told you to try this instead
Code:
su
password:
[root@name of pc user]# yum update
Cheers!
__________________


Linux Forever!

wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-17-2008, 06:31 AM   #7 (permalink)
Registered User
 
Join Date: Jul 2006
Posts: 161
OS: Windows XP Professional SP3


Send a message via AIM to Ascendancy
Re: CentOS Cannot Install or Download Anything

I tried that and it didn't seem to work, but I have good news! I was checking around in CentOS to see if I could find any network or proxy settings dialog, and I did find something under System>Preferences>Network proxy. I just set that value to the proxy server that the network runs through and viola! I'm finally able to run yum update with no errors now, so things are looking good. Thanks for your help!
__________________
I really don't know
Ascendancy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-17-2008, 07:39 AM   #8 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,814
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: CentOS Cannot Install or Download Anything

Hi,

Great to hear that you have fixed your own problems. Please mark this thread as solved in the thread tools in the top right of the page. This will help us to know that we can move on to other threads. Please stick around and help out when you can too.

Cheers!
__________________


Linux Forever!

wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 04:08 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85