Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I try to run "yum install vim" for instance, I get the following error:

# yum install vim
Setting up Install Process
Setting up repositories
core                      100% |=========================| 1.1 kB    00:00     
http://update.onlinehome-server.info/fedora/linux/core/updates/6/x86_64/repodata/repomd.xml: [Errno 12] Timeout: 
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: updates-released

So I attempted to fix this issue by running this command:

# yum clean all && yum clean metadata && yum clean dbcache && yum makecache && yum update
Cleaning up Everything
0 metadata files removed
0 cache files removed
Setting up repositories
core                      100% |=========================| 1.1 kB    00:00     
http://update.onlinehome-server.info/fedora/linux/core/updates/6/x86_64/repodata/repomd.xml: [Errno 4] IOError: 
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: updates-released

I'd like to get Yum working so I can install vim, ntp, and rsync. That's all.

edit: Unfortunately, this server is legacy and we cannot upgrade the distro or change it.

share|improve this question
    
What repos are enabled in /etc/yum.repos.d/fedora-core.repo ? Sounds to me like it may be having trouble contacting one of them... –  Mike B Dec 23 '09 at 16:34
add comment

2 Answers

You appear to be trying to get at a Fedora 6 repository. I believe Fedora 6 is EOL. There might still be mirrors around, but the mainstream mirrors have mostly been retired. You probably are looking at an upgrade to a more current version of Fedora.

If you are not keeping on the Fedora upgrade treadmill, you may be happier moving to a distribution which doesn't churn as quickly, such as CentOS.

share|improve this answer
    
I've updated the question, but we can't change or update the distro. Do you know of any way around this, or where I may find a mirror? –  blackrobot Dec 23 '09 at 16:55
add comment

Fedora 6 is EOL but this blog post (Keeping Fedora 6 going...) might be helpful.

Edit fedora-extras.repo:

[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=extras-$releasever&arch=$basearch
baseurl=http://ftp.uni-bayreuth.de/linux/fedora/linux/extras/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

Edit fedora-updates.repo to disable updates [yum will complain about it]

[updates]
name=Fedora Core $releasever - $basearch - Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-fc$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.