yum update failed centos 7.9 - Not Found error

benclark

Newbie
Hello,

I am trying to update my CentOS 7.9 server but am encountering the following errors:

Code:
[root@clark ~]# yum upgrade
Loaded plugins: fastestmirror
Determining fastest mirrors
epel/x86_64/metalink                                                                                                                                      |  27 kB  00:00:00
 * epel: na.edge.kernel.org
base                                                                                                                                                      | 3.6 kB  00:00:00
epel                                                                                                                                                      | 4.7 kB  00:00:00
extras                                                                                                                                                    | 2.9 kB  00:00:00
updates                                                                                                                                                   | 2.9 kB  00:00:00
epel/x86_64/primary_db         FAILED
.../epel/7/x86_64/repodata/7719ec6aa9770d053b2d1825aa724efe13037d3866f0a6bdbdf609d33b50e5c0-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found ETA
Trying other mirror.
To address this issue please refer to the below wiki article

If above article doesn't help to resolve this issue please use.

(1/2): epel/x86_64/updateinfo                                                                                                                             | 1.0 MB  00:00:00
(2/2): epel/x86_64/primary_db                                                                                                                             | 7.0 MB  00:00:00
No packages marked for update
[root@clark ~]# cat /etc/centos-release
CentOS Linux release 7.9.x (Core)

I have already tried:
yum clean metadata

Please help me.
 

nick

Newbie
EPEL can encounter a temporary problem. Refresh the YUM cache:
Code:
yum clean all

If yum still has issues, refresh the yum cache:
rm -f /var/lib/rpm/__*
rpm --rebuilddb -v -v

Alternatively, if there is a yum update error, temporarily disable the EPEL repository:
vi /etc/yum.repos.d/epel.repo
Change enabled=1 to enabled=0
 
Top