当前位置:网站首页>Yum install XXX reports an error
Yum install XXX reports an error
2022-07-06 17:00:00 【Motorcycle loving program ape】
yum install xxx
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - “Could not resolve host: mirrorlist.centos.org; Temporary failure in name resolution”
One of the configured repositories failed (Unknown),
and yum doesn’t have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work “fix” this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
dns The problem of resolution , Treatment method :
vim /etc/resolv.conf Join in :
nameserver 8.8.8.8 The server IP
nameserver 8.8.4.4 gateway
search localdomain
边栏推荐
- ~70 row high
- Jedis
- 搭建flutter环境入坑集合
- 字节跳动技术面试官现身说法:我最想pick什么样的候选人
- MySQL日期函数
- Fdog series (I): think about it. It's better to write a chat software. Then start with the imitation QQ registration page.
- 汇编语言基础知识
- Yao BanZhi and his team came together, and the competition experts gathered together. What fairy programming competition is this?
- 字节跳动海外技术团队再夺冠:高清视频编码已获17项第一
- High performance mysql (Third Edition) notes
猜你喜欢

MySQL字符串函数

LeetCode 1560. The sector with the most passes on the circular track

字节跳动多篇论文入选 CVPR 2021,精选干货都在这里了

字节跳动开源GAN模型压缩框架,算力最高节省97.8%丨ICCV 2021

字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题

Shell_ 05_ operator

「博士毕业一年,我拿下 ACL Best Paper」

High performance mysql (Third Edition) notes

The "advertising maniacs" in this group of programmers turned Tiktok advertisements into ar games

原型链继承
随机推荐
LeetCode 1984. Minimum difference in student scores
在 vi 编辑器中的命令模式下,删除当前光标处的字符使用 __ 命 令。
Eureka single machine construction
Design of DS18B20 digital thermometer system
Ruoyi-Cloud 踩坑的BUG
MySQL数字函数
~75 background
Yao BanZhi and his team came together, and the competition experts gathered together. What fairy programming competition is this?
Go language uses the thrift protocol to realize the client and service end reports not enough arguments in call to oprot Writemessagebegin error resolution
Solr new core
LeetCode 1560. The sector with the most passes on the circular track
[unsolved] 7-15 shout mountain
这群程序员中的「广告狂人」,把抖音广告做成了AR游戏
7-7 ring the stupid bell
搭建flutter环境入坑集合
The QT program compiled on CentOS lacks a MySQL driven solution
Alibaba cloud server builds SVN version Library
Train 100 pictures for 1 hour, and the style of the photos changes at will. There is a demo at the end of the article | siggraph 2021
js垃圾回收机制和内存泄漏
Error: case label `15 'not within a switch statement