Linux – Why is yum not working properly

linuxredhatyum

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.

Best Answer

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.