当前位置:网站首页>【openEuler】Failed to download metadata for repo ‘EPOL‘: Cannot d
【openEuler】Failed to download metadata for repo ‘EPOL‘: Cannot d
2022-04-21 10:53:00 【华为云】
在刚刚安装好openEuler21.09后,更新源的时候可能会发生这个错误:
Failed to download metadata for repo 'EPOL': Cannot download repodata/repomd.xml
这个问题发生的地方在/etc/yum.repos.d/openEuler.repo文件路径下
手动修正EPOL的baseurl地址
baseurl=http://repo.openeuler.org/openEuler-21.09/EPOL/$basearch/
修改为
baseurl=http://repo.openeuler.org/openEuler-21.09/EPOL/main/$basearch/
就是/EPOL/$basearch/中间加上main/即可
系统刚刚安装时候由于无法更新源,可以用vi编辑:
vi /etc/yum.repos.d/openEuler.repo
按下键盘上的i键即可进入编辑模式,修改完成后,依次按下键盘上的esc+:+w+q即可完成修改。
esc+:+w+q含义为修改并退出。
版权声明
本文为[华为云]所创,转载请带上原文链接,感谢
https://bbs.huaweicloud.com/blogs/348911
边栏推荐
- Go语言错误处理
- Pytoch learning notes (3) torch Autograd, logistic regression model, training
- 润和大禹学习方案
- First go program
- 塔米狗企业并购平台上,法律服务商名单目录!
- AC自动机模版代码解析
- After reading this article, I'll teach you to play with the penetration test target vulnhub - dc9
- 小程序生命周期
- Teach you by hand: rolling bearing fault diagnosis based on deep learning
- torch. autograd. Function customization
猜你喜欢

Digital Economy & Green Innovation matching: Green Patent matching data of digital finance enterprises of 3169 companies in China, 2011-2019

Postman setting environment variables is simple and practical

What if there are not enough mobile phones in Showcase? Cloud real machine platform atxserver2

MySQL in-depth study (30): database design specification

Showcase时手机不够怎么办? 云真机平台atxserver2

Local IP addresses are accessed using domain names

How to write product requirements document (PRD) with the idea of five elements of user experience

Enter the welcome interface when idea and pycharm are started

TypeError: The view function did not return a valid response. The function either returned none

O2oa secondary development - use the open source platform to build a complete OA (3) - development enterprise reimbursement approval
随机推荐
【acwing】1459. 奶牛体操(模拟、思维)
再战leetcode (392.判断子序列)
Oracle密码过期问题,设置永不过期
Mysql 002 DDL
@Lookup
What if there are not enough mobile phones in Showcase? Cloud real machine platform atxserver2
小程序生命周期
Local IP addresses are accessed using domain names
【天梯赛】L3-005 垃圾箱分布(堆优化版dijkstra)
基于润和大禹开发板的导购系统路线详解
Pytoch learning notes (3) torch Autograd, logistic regression model, training
[ladder race] is l3-010 a complete binary search tree
Teach you by hand: rolling bearing fault diagnosis based on deep learning
O2oa secondary development - use the open source platform to build a complete OA (3) - development enterprise reimbursement approval
手把手教你:基于深度学习的滚动轴承故障诊断
AcWing 1737. 传送(分类讨论)
Detailed explanation of the route of the shopping guide system based on Runhe Dayu development board
8-channel can FD, more powerful data recorder gl3400
Sum of two numbers
Use of go interface