当前位置:网站首页>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]#

边栏推荐
- Creating a new generation of production and service tools with robot education
- Games101 Lecture 10 geometry 1 Notes
- Print Yanghui triangle
- Overlay histogram with density curve
- What are the uses of static?
- Share 10 interview questions related to JS promise
- Activiti Designer
- [Flink] flinksql and table programming cases
- 用机器人教育创造新一代生产和服务工具
- Browser local storage
猜你喜欢

Fault: KDC warning log for id29

How to do the performance pressure test of "Health Code"

Open source 23 things shardingsphere and database mesh have to say

package. Are you familiar with all configuration items and their usage of JSON

Meta metauniverse female safety problems occur frequently. How to solve the relevant problems in the metauniverse?

2022.02.15 - SX10-31. House raiding III

作为一名合格的网工,你必须掌握的 DHCP Snooping 知识!

Unity AR Shadow 阴影

Analysis on the wave of learning robot education for children

分享 10 个 JS Promise 相关的面试题
随机推荐
Antd work item memo w3.0
力扣每日一题-第30天-1281.整数的各位积和之差
Fault: KDC warning log for id29
Agile invincible event
How to do the performance pressure test of "Health Code"
JDBC | Chapter 5: closing and releasing JDBC connection resources
Single application and microservice application
VerilogA——计数器
Multithreading tool class completabilefuture
力扣每日一题-第30天-594.最长和谐子序列
Creating a new generation of production and service tools with robot education
What is the "danksharding" of V God Kop on Valentine's day?
Sourcetree remote red exclamation point
How to change the password after forgetting the MySQL password (the latest version of 2022 detailed tutorial nanny level)
try anbox (by quqi99)
QT (x): innosetup for software packaging
Activiti Designer
String and variable are spliced into variable name
Ribbon 服务调用与负载均衡
Design of leetcode simple problem goal parser