当前位置:网站首页>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
边栏推荐
- 字节跳动春招攻略:学长学姐笔经面经,还有出题人「锦囊」
- @RestController、@Controller
- ByteDance open source Gan model compression framework, saving up to 97.8% of computing power - iccv 2021
- "One year after graduation, I won ACL best paper"
- 在 vi 编辑器中的命令模式下,删除当前光标处的字符使用 __ 命 令。
- ~87 animation
- Continue and break jump out of multiple loops
- was unable to send heartbeat
- LeetCode 1552. Magnetic force between two balls
- ~75 background
猜你喜欢

koa中间件

Mongodb learning notes

~74 JD top navigation bar exercise

Activiti目录(五)驳回、重新发起、取消流程

Fdog series (VI): use QT to communicate between the client and the client through the server (less information, recommended Collection)

"One year after graduation, I won ACL best paper"

Data config problem: the reference to entity 'useunicode' must end with ';' delimiter.

服务器端渲染(SSR)和客户端渲染(CSR)的区别

One hundred questions of image processing (11-20)

Install docker under windows10 (through Oracle VM VirtualBox)
随机推荐
Fdog series (I): think about it. It's better to write a chat software. Then start with the imitation QQ registration page.
ByteDance 2022 school recruitment R & D advance approval publicity meeting, students' top 10 issues
~78 radial gradient
Usage of insert() in vector
LeetCode 1551. Minimum operand to make all elements in the array equal
Mongodb learning notes
7-7 ring the stupid bell
7-10 punch in strategy
[unsolved] 7-15 shout mountain
js垃圾回收机制和内存泄漏
这群程序员中的「广告狂人」,把抖音广告做成了AR游戏
MySQL optimization notes
~75 background
字节跳动2022校招研发提前批宣讲会,同学们最关心的10个问题
I'm "fixing movies" in ByteDance
Introduction to microservices
Erlang installation
汇编语言段定义
字节跳动春招攻略:学长学姐笔经面经,还有出题人「锦囊」
Restful style interface design