当前位置:网站首页>错误:为 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结束才可以。
边栏推荐
猜你喜欢
随机推荐
2017.10.26模拟 b energy
报错:FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disab
Reverse Engineering
单例模式
分布式事务的应用场景
移远EC20 4G模块拨号相关
The JVM thread state
VS2019常用快捷键
多米诺骨牌
无重复的字符的最长子串
力扣 636. 函数的独占时间
代码目录结构
电学知识的疑问
codeforces Valera and Elections (这思维题是做不明白了)
Inception V3 闭眼检测
Quectel EC20 4G module dial related
Common Oracle Commands
The water problem of leetcode
crc计算
TCP段重组PDU