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

General support questions including new installations
Post Reply
Meditsh
Posts: 6
Joined: 2017/04/03 13:38:36

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

Post by Meditsh » 2017/04/05 08:57:52

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.
Last edited by Meditsh on 2017/04/05 09:23:16, edited 2 times in total.

User avatar
TrevorH
Forum Moderator
Posts: 24075
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2017/04/05 09:03:06

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).
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Meditsh
Posts: 6
Joined: 2017/04/03 13:38:36

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

Post by Meditsh » 2017/04/05 09:20:59

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.

MartinR
Posts: 348
Joined: 2015/05/11 07:53:27
Location: UK

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

Post by MartinR » 2017/04/05 12:17:27

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.

Meditsh
Posts: 6
Joined: 2017/04/03 13:38:36

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

Post by Meditsh » 2017/04/05 14:12:45

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.

Post Reply