Solution of epol warehouse error reporting during openeuler-21.09 DNF update

Problem phenomenon

$ sudo dnf update
Errors during downloading metadata for repository 'EPOL':
    -Status code: 404 for htpp:// (IP: 159.138.**.***)
Error: Failed to download metadata for repo 'EPOL': Cannot download repodata/repomd.xml: All mirrors were tried


Method 1.
the official has pushed the update. The updated file is located in
/etc/yum.repos.d/openeuler.repo.rpmnew ,
it needs to be manually compared and updated to the original
for the differences between the two files, see baseurl Path Method 2 in method 2 below.
directly manually modify the baseurl address of epol
baseurl= $basearch/
is modified to
baseurl= $basearch/

Read More: