Page 1 of 1

[SOLVED] Yum update errno 14 http error 404: not found

Posted: 2017/04/05 08:57:52
by Meditsh
Hi,

I just deployed a VMware virtual appliance which is integrated on a CentOS 5 system.
The network is configured and I am able to ping my lan's computers and ping 8.8.8.8.

Yet I am unable to "yum update" and it output
http://mirrors_path/mirrors_name.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror
...
...
Error: Cannot retrieve repository metadata (repomd.xml) for repository: extras.
Please verify its path and try again.
I did :
yum clean all
yum erase apf
sudo iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT -p tcp -m tcp --dport 443 -j ACCEPT
The commands "yum check-update" and "yum upgrade" output the same message as "yum update".

Here is my yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug

metadata_expire=1h

installonly_limit = 5


Thank you per advance.

Re: Yum update errno 14 http error 404: not found

Posted: 2017/04/05 09:03:06
by TrevorH
CentOS 5 is dead. Please see viewtopic.php?f=9&t=57398 which has been there for at least a year warning that CentOS 5 EOL was approaching.

There will be no more updates for CentOS 5 ever. If you have a requirement to run el5 still then you should install RHEL5 and purchase an EUS subscription to allow you to continue to receive any future updates from them (this is a chargeable service and updates are no longer made public).

[SOLVED] Yum update errno 14 http error 404: not found

Posted: 2017/04/05 09:20:59
by Meditsh
I knew CentOs 5 was dead but the appliance came with it and I thought running yum was a prerequisite to migration.

Thank you for your answer TrevorH.
Have a good day.

Re: [SOLVED] Yum update errno 14 http error 404: not found

Posted: 2017/04/05 12:17:27
by MartinR
There's no migration path from 5 to 6 (or from 6 to 7), you need to reinstall the OS. Yum is used during installation and updates, but that is only updates within major releases, not between them. For instance if you were running CentOS 6.5, then yum update would move you to CentOS 6.8 but never to 7.3.

Re: [SOLVED] Yum update errno 14 http error 404: not found

Posted: 2017/04/05 14:12:45
by Meditsh
This is troublesome because the only OVA file released of my Virtual Appliance (PowerChute Network Shutdown v4.2) is using CentOS 5. I am going to find another way to install it and don't keep this securtiy breach.

Thank you again TrevorH for all your informations.