[Help Request] Issues getting Yum going on CentOS
Im using PuTTy and trying to even get yum going, because ultimately i want the command
Code:
yum install screen I get the following error after yum install command Code:
https://atomicorp.com/channels/asl-3.0/centos/5/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401: Authorization Required Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: asl-3.0. Please verify its path and try again |
This is going to be one of two problems:
1. You are not connected to the internet 2. The atomiccorp.com mirror is down and YUM didn't select another mirror. What happens if you run this command: Code:
yum update Are you able to ping google.com from the machine in reference (I'm hoping that I'm not being an ass being that you are using the machine in reference and are obviously on the internet :D )? |
Assuming you're connected to the internet, I would just try changing the mirror.
I just tried to get to that mirror and it's asking for a name and password, so that may be the issue too. |
Quote:
New mirror is definitely the answer. |
Quote:
|
Quote:
@andre199017: Please post the contents of your /etc/yum.repos.d/whichever_file_that_has_to_do_with_stock_repositories In my /etc/yum.repos.d/CentOS-Base.repo I have to key lines: Code:
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib *NOTE: mirror.centos.org should be replaces with mirror.fedora_whatever.org or whatever your distribution is (make sure you put it in your post or in your profile information as an added help "bonus" to the rest of us). |
Thank you very much for your replies.
@kasl33: I did as you said and i still get the same error. (Uncommenting out baseurl...) You also asked what happens with a simple yum update, and it is the same auth error: Code:
[root@host ~]# yum update |
You might try disabling the fastest mirror plugin. If that doesn't work, you could manually edit the files in /etc/yum.repos.d to use a specific repository uncommenting the baseurl line and editing it to select your favorite mirror), then commenting out the mirrorlist line.
|
I'm not sure that im that centos-gifted.
Where can i find alternate mirrors? |
Is anyone out there able to help? Quite frustrating being stuck at the first hurdle!
|
|
Sorry to be a pain in the @ss but i did as follows and im still hitting this error:
Code:
https://atomicorp.com/channels/asl-3.0/centos/5/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401: Authorization Required |
It looks like you're still trying the same mirror, I haven't used CentOS in a while but if I remember correctly you need to comment out one mirror in order to use another - so if you added a different mirror make sure you comment out the old one.
|
Here is my CentOS-Base.repo file within yum.repos.d:
Code:
# CentOS-Base.repo Here is my asl.repo in the same directory: Code:
[asl-3.0] |
Can you post your /etc/yum.conf file?
Sorry I don't have a CentOS machine to play on anymore so I'm trying to remember from memory how to manage mirrors in yum, lol. |
All times are GMT -5. The time now is 03:01 AM. |