Problem phenomenon
$ sudo dnf update
EPOL
Errors during downloading metadata for repository 'EPOL':
-Status code: 404 for htpp://repo.openeuler.org/openEuler-21.09/EPOL/repomd.xml (IP: 159.138.**.***)
Error: Failed to download metadata for repo 'EPOL': Cannot download repodata/repomd.xml: All mirrors were tried
solve
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
/etc/yum.repos.d/openeuler.repo
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= http://repo.openeuler.org/openEuler-21.09/EPOL/ $basearch/
is modified to
baseurl= http://repo.openeuler.org/openEuler-21.09/EPOL/main/ $basearch/
Read More:
- Solution to “TCLs parsing failed” when dnf starts
- Error reporting – the project directly introduces the error reporting and solution of. SCSS file
- Solution to 800b0001 failure of Windows Update
- Using apt mirror to build Debian local warehouse
- The solution of unsuccessful rosdep update
- Ultimate solution to error reporting of sudo rosdep init of ROS
- Solution of Java resources error reporting
- about jQuery.js The solution to always reporting errors
- Solution to error reporting in Java @ override
- Solution of error reporting in PIP installation of iPhone
- Ego planner swarm installation and error reporting solution
- Idea update failure problem: couldn’t save uncommitted changes solution
- Solution of selenium driven edge error reporting
- Svn warehouse migration in Windows Environment
- Redhat8 make nginx error reporting solution
- After using fastlick, double-click the error reporting solution
- Vscode failed to update plug-in XHR timeout error solution
- Update project manually_ Solution of too large jar package in springboot
- Process finished with exit code 0 error reporting solution
- Solution of apt unable to update in the docker container of raspberry pie