![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| 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: * 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 |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
|
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 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 |
|
|
|
| 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 |
|
|
#2 (permalink) |
|
Moderator/Fedora Amb.
|
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: Cheers!
__________________
![]() Linux Forever!
|
|
|
|
|
|
#5 (permalink) |
|
Registered User
|
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)'
__________________
I really don't know |
|
|
|
|
|
#6 (permalink) |
|
Moderator/Fedora Amb.
|
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
__________________
![]() Linux Forever!
|
|
|
|
|
|
#7 (permalink) |
|
Registered User
|
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 |
|
|
|
|
|
#8 (permalink) |
|
Moderator/Fedora Amb.
|
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!
|
|
|
|
![]() |
| Thread Tools | |
|
|