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

边栏推荐
- 想请教一下,究竟有哪些劵商推荐?在线开户是安全么?
- 分享 10 个 JS Promise 相关的面试题
- String and variable are spliced into variable name
- Creating a new generation of production and service tools with robot education
- Analytic hierarchy process
- Annual inventory review of Alibaba cloud's observable practices in 2021
- Service grid ASM year end summary: how do end users use the service grid?
- Draw smooth curves - methods needed - drawing smooth curves - methods needed
- Antlr4 recognizes the format of escape string containing quotation marks
- How does schedulerx help users solve distributed task scheduling problems?
猜你喜欢

Why are keys unordered in golang map

Introduction to Ceres Quartet

Observer mode vs publish subscribe mode

Design of leetcode simple problem goal parser

The simple problem of leetcode is to divide an array into three parts equal to sum

Some high-level usage of localstorage

JDBC连接数据库,socket发送客户端。

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

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
随机推荐
Meta metauniverse female safety problems occur frequently. How to solve the relevant problems in the metauniverse?
Some thoughts on port forwarding program
The echares map is implemented separately by provinces, and the tooltip user-defined prompt box, scattered annotation and scattered illumination are explained in detail
力扣今日题-324. 摆动排序 II
多线程工具类 CompletableFuture
RedisTemplate处理hash整数类型的问题解析
Part 63 - interpreter and compiler adaptation (II)
Difference between static and final
What are the uses of wireless pressure collectors?
Object detection - VIDEO reasoning using yolov6
Illustrate plug-in -- AI plug-in development -- creative plug-in -- astute graphics -- length and angle measurement function
Labor skills courses integrated into steam Education
Small program large screen adaptation Guide
About: deleting unwanted event log lists
Delete tag
Fault: display Storport driver out of date in component health
关于DDNS
Clickhouse data type
Output of character pointer to string in C language
Move disassembly of exclusive delivery of script (the first time)