当前位置:网站首页>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:37:00 【梦想家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]#

边栏推荐
- 力扣每日一题-第30天-1281.整数的各位积和之差
- 2022.02.15 - 240. Lucky number in matrix
- Why are keys unordered in golang map
- What are the uses of wireless pressure collectors?
- Draw smooth curves - methods needed - drawing smooth curves - methods needed
- VerilogA——动态比较器
- Analytic hierarchy process
- Haar cascades and LBP cascades in face detection [closed] - Haar cascades vs. LBP cascades in face detection [closed]
- Li Kou today's question -324 Swing sort II
- JDBC | Chapter 6: simple use of database connection pool
猜你喜欢

It is the only one in China that Alibaba cloud container service has entered the Forrester leader quadrant

百度小程序自动提交搜索

Illustrate plug-in -- AI plug-in development -- creative plug-in -- astute graphics -- length and angle measurement function

Illustrate plug-in -- AI plug-in development -- creative plug-in -- astute graphics -- path width style function

Introduction to Ceres Quartet

RPC和RMI

Leetcode simple question: judging the color of a grid on a chess board

QT (x): innosetup for software packaging

开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事

Presto-Trial
随机推荐
String and variable are spliced into variable name
Go basic data types: characters and strings
Fault: administrator account cannot be selected for login
Unity AR Shadow 阴影
Hyperledger Fabric 2. X custom smart contract
VerilogA——计数器
Part 63 - interpreter and compiler adaptation (II)
Leetcode simple problem building arrays with stack operation
Rich material libraries make modeling easy and efficient for developers
开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事
Design of leetcode simple problem goal parser
Li Kou daily question - day 30 -1281 Difference of sum of bit product of integer
Annual inventory review of Alibaba cloud's observable practices in 2021
想请教一下,究竟有哪些劵商推荐?在线开户是安全么?
json tobean
mongostat性能分析
用机器人教育创造新一代生产和服务工具
解析学习幼儿机器人教育的浪潮
Some thoughts on port forwarding program
Illustrate plug-in -- AI plug-in development -- creative plug-in -- astute graphics -- path width style function