yum update error on centos 6

General support questions
Post Reply
taufiqshovon
Posts: 1
Joined: 2021/03/19 15:08:35

yum update error on centos 6

Post by taufiqshovon » 2021/03/19 15:13:39

when i try to update then showing this error

Loading mirror speeds from cached hostfile
https://buildlogs.centos.org/centos/6.. ... repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

my base url code is

Code: Select all

name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=https://vault.centos.org/6.10/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update error on centos 6

Post by TrevorH » 2021/03/19 17:49:40

The error you got is not for the base repo since your repo file doesn't reference buildlogs at all. The url you posted in the error is truncated so we cannot tell from the info you've given what it is.

CentOS 6 is dead. You should migrate to something newer and supported. It already has at least one high severity security bug that will never be fixed that allows local users to run sudo and gain root access.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply