Cannot prepare internal mirrorlist: No URLs in mirrorlist
in Cannot No internal prepare
2023-06-13 09:14:16 时间
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
一、环境介绍
在centos8下操作yum install redis出现这个错误。
二、分析错误原因
在2022年1月31日,CentOS团队终于从官方镜像中移除CentOS 8的所有包。
CentOS 8已于2021年12月31日寿终正非,但软件包仍在官方镜像上保留了一段时间。现在他们被转移到https://vault.centos.org
三、解决办法
如果你仍然需要运行CentOS 8,你可以在/etc/yum.repos.d中更新一下源。使用vault.centos.org代替mirror.centos.org。
sudo sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-*
sudo sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-*
相关文章
- Anisotropic Diffusion in Image Processing 2
- centos8 Cannot prepare internal mirrorlist: No URLs in mirrorlist – 学金融的文史哲小生
- 把Transformer当通用计算机用,还能执行in-context learning算法,这项研究脑洞大开
- ORA-01205: not a data file – type number in header is string ORACLE 报错 故障修复 远程处理
- ORA-01640: cannot make tablespace read-only with changes by in-doubt transactions ORACLE 报错 故障修复 远程处理
- ORA-22895: referenced table “string” in schema “string” is not an object table ORACLE 报错 故障修复 远程处理
- ORA-23418: cannot unregister the propagator who is currently in use ORACLE 报错 故障修复 远程处理
- ORA-25155: column used in NATURAL join cannot have qualifier ORACLE 报错 故障修复 远程处理
- ORA-39117: Type needed to create table is not included in this operation. Failing sql is: string ORACLE 报错 故障修复 远程处理
- ORA-01182: cannot create database file string – file is in use or recovery ORACLE 报错 故障修复 远程处理
- ORA-01653: unable to extend table string.string by string in tablespace string ORACLE 报错 故障修复 远程处理
- ORA-01691: unable to extend lob segment string.string by string in tablespace string ORACLE 报错 故障修复 远程处理
- MySQL Error number: MY-011602; Symbol: ER_GRP_RPL_CANNOT_EXECUTE_TRANS_IN_OFFLINE_MODE; SQLSTATE: HY000 报错 故障修复 远程处理
- ORA-08448: syntax error in DECIMAL-POINT environment clause ORACLE 报错 故障修复 远程处理
- ORA-15504: cannot start workload capture because instance string not present in RESTRICTED SESSION mode ORACLE 报错 故障修复 远程处理
- ORA-16067: activation identifier mismatch in archive log string ORACLE 报错 故障修复 远程处理
- PostgreSQL 对IN,EXISTS,ANY/ALL,JOIN的sql优化方案
- 简述Oracle中in和exists的不同
- 和in的区别深入研究MySQL查询条件中的=与IN的区别(mysql查询条件中)
- 提升Oracle中IN操作的效率(oracle的in效率)
- 限制Oracle IN语句元素数量限制(oracle的in个数)
- Oracle中使用EXISTS代替IN(oracle替换in)
- 查询解锁Oracle多条件In查询的机密(oracle多条件in)
- Oracle 在索引:加速搜索的利器(oracle in 索引)
- 如何在MySQL中代替IN关键字(mysql中代替in)
- MySQL中IN语句的参数化使用方法(mysql中in参数化)
- 中利用IN语句检索Oracle数据库中的数据(in在oracle数据库)
- 条件在Oracle中使用IN和OR查询条件的巧妙之处(oracle中in跟or)
- Oracle数据库中的IN关键字深度剖析(oracle中in的详解)
- 使用Oracle中的IN条件实现复杂查询(oracle中in条件)
- SQL查询中in和exists的区别分析