• Hello and welcome! Register to enjoy full access and benefits:

    • Advertise in the Marketplace section for free.
    • Get more visibility with a signature link.
    • Company/website listings.
    • Ask & answer queries.
    • Much more...

    Register here or log in if you're already a member.

yum update failed centos 7.9 - Not Found error

benclark

Newbie
Messages
15
Reaction score
2
Points
3
Balance
$5.9USD
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
Messages
12
Reaction score
1
Points
3
Balance
$0.5USD
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
 

James165

New Member
Hosting Provider
Messages
82
Reaction score
8
Points
8
Balance
$2.0USD
EPEL can encounter a temporary problem. Refresh the YUM cache:
Code:
yum clean all

If yum still has issues, refresh the yum cache:


Alternatively, if there is a yum update error, temporarily disable the EPEL repository:

Change enabled=1 to enabled=0
An iforamtive answer has been shared.
 
Top