当前位置:网站首页>How to fix Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorli
How to fix Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorli
2022-06-29 06:57:00 【Dreamer DBA】
Step 1:
[[email protected] home]# cd /etc/yum.repos.d/
Step2 :
[[email protected] yum.repos.d]# sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
[[email protected] yum.repos.d]# sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
Step3:
[[email protected] yum.repos.d]# wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
Step4:
[[email protected] yum.repos.d]# yum clean all
Repository extras is listed more than once in the configuration
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
44 files removed
[[email protected] yum.repos.d]#
Step5:
[[email protected] yum.repos.d]# yum makecache
Repository extras is listed more than once in the configuration
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-epel.repo; Configuration: OptionBinding with id "failovermethod" does not exist
CentOS-8.5.2111 - Base - mirrors.aliyun.com 179 kB/s | 4.6 MB 00:26
CentOS-8.5.2111 - Extras - mirrors.aliyun.com 35 kB/s | 10 kB 00:00
CentOS-8.5.2111 - AppStream - mirrors.aliyun.com 119 kB/s | 8.4 MB 01:12
CentOS Linux 8 - AppStream 3.7 MB/s | 8.4 MB 00:02
CentOS Linux 8 - BaseOS 4.0 MB/s | 4.6 MB 00:01
Extra Packages for Enterprise Linux 8 - x86_64 42 MB/s | 11 MB 00:00
MySQL 8.0 Community Server 4.5 MB/s | 2.3 MB 00:00
MySQL Connectors Community 236 kB/s | 74 kB 00:00
MySQL Tools Community 1.2 MB/s | 459 kB 00:00
Metadata cache created.
[[email protected] yum.repos.d]#

边栏推荐
- QT custom bit operation class
- Vite快速上手
- 软件工程师与软件开发区别? Software Engineer和Software Developer区别?
- 解析学习幼儿机器人教育的浪潮
- 数据库-同义词
- Chapter V online logic analyzer signaltap
- Qt 处理图像数据的类区别(QPixmap、QImage、QPicture)
- Introduction to Ceres Quartet
- Li Kou daily question - day 30 -1281 Difference of sum of bit product of integer
- Daily question 1 - force deduction - there are three consecutive arrays of odd numbers
猜你喜欢

施工企业选择智慧工地的有效方法

QT qlineedit details

融入STEAM教育的劳动技能课程

Li Kou today's question -324 Swing sort II

2022.02.14 - 239. A single element in an ordered array

Unity AR Shadow 阴影

Labor skills courses integrated into steam Education

Differences between JSON objects and JSON strings

Json对象和Json字符串的区别

【OSPF引入直连路由时巧借静态黑洞路由做汇总】
随机推荐
Chapter V online logic analyzer signaltap
Ribbon 服务调用与负载均衡
Share 10 interview questions related to JS promise
层次分析法
Daily question - force deduction - multiply the found value by 2
VerilogA - dynamic comparator
Object detection - VIDEO reasoning using yolov6
QT (x): innosetup for software packaging
[c language] [sword finger offer article] - print linked list from end to end
百度小程序自动提交搜索
WDCP访问不存在的路径全部跳转到首页不返回404的解决办法
UVM authentication platform
The echares map is implemented separately by provinces, and the tooltip user-defined prompt box, scattered annotation and scattered illumination are explained in detail
jetson tx2
Character pointer as function parameter
centos下配置mysql 5.7 和 8
Method of changing host name (permanent)
What is 'EC2-Other' filter in 'Cost Explorer' dashboard mean? [closed]
JDBC连接数据库,socket发送客户端。
Draw smooth curves - methods needed - drawing smooth curves - methods needed