当前位置:网站首页>错误:为 repo ‘oracle_linux_repo‘ 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.
错误:为 repo ‘oracle_linux_repo‘ 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.
2022-08-09 06:46:00 【L-DiCaprio】
错误:为 repo 'oracle_linux_repo' 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
出现此问题的原因是OracleLinux与Redhat中的baseurl配置路径有不同之处,OracleLinux多了BaseOS和
AppStream,所以要加上这两个路径。
[oracle_linux_repo]
name = oracle_linux_8
baseurl = file:///yum/BaseOS
enabled = 1
gpgcheck = 0
gpgkey = file:///yum/RPM-GPG-KEY-oracle
[oracle_linux_repo]
name = oracle_linux_8
baseurl = file:///yum/AppStream
enabled = 1
gpgcheck = 0
gpgkey = file:///yum/RPM-GPG-KEY-oracle
平常我们都是配置到 file:///yum 结束,但是在OracleLinux里面我们要配置到BaseOS和AppStream结束才可以。
边栏推荐
- Search 1688 product interface by image (item_search_img-search 1688 product by image (Politao interface) code docking tutorial
- 先序遍历,中序遍历,后序遍历,层序遍历
- 单例模式
- 2022年7月小结
- Leetcode 70 stairs issues (Fibonacci number)
- 逆向工程
- Simple to use Lambda expressions
- 阿里巴巴官方技术号
- 2022.8.8DAY628
- Flask failed to create database without error
猜你喜欢
makefile记录
The Integer thread safe
The solution that does not work and does not take effect after VScode installs ESlint
Distributed id generator implementation
ByteDance Written Exam 2020 (Douyin E-commerce)
Go lang1.18入门精炼教程——第一章:环境搭建
移远EC20 4G模块拨号相关
stm32定时器之简单封装
leetcode 之 零移位
Output method of list string print(*a) print(““.join(str(c) for c in a) )
随机推荐
字节也开始缩招了...
Simple Factory Pattern
shardingsphere数据分片配置项说明和示例
2022.8.8DAY628
P6 ali machine test of 2020 Fibonacci number
语句加锁分析
The working principle of the transformer (illustration, schematic explanation, understand at a glance)
Mysql实操
先序遍历,中序遍历,后序遍历,层序遍历
分布式事务产生的原因
输入框最前面添加放大镜&&background-image和background-color冲突问题
常见的分布式事务解决方案
mysql 总结
stm32定时器之简单封装
Redis 2 - 高级
MongDb的查询方式
BeautifulSoup4的介绍与使用
Teach you how to make the Tanabata meteor shower in C language - elegant and timeless (detailed tutorial)
分布式理论
DDD 领域驱动设计