Page 1 of 1

yum update error on centos 6

Posted: 2021/03/19 15:13:39
by taufiqshovon
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

Re: yum update error on centos 6

Posted: 2021/03/19 17:49:40
by TrevorH
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.