当前位置:网站首页>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
边栏推荐
- 谢邀,人在工区,刚交代码,在下字节跳动实习生
- @RequestMapping、@GetMapping
- Eureka single machine construction
- LeetCode 1640. Can I connect to form an array
- LeetCode 1561. The maximum number of coins you can get
- 数据传送指令
- After idea installs the plug-in, restart the plug-in and disappear
- Shell_ 06_ Judgment and circulation
- string. How to choose h and string and CString
- The QT program compiled on CentOS lacks a MySQL driven solution
猜你喜欢
7-10 punch in strategy
~73 other text styles
[graduation project] QT from introduction to practice: realize imitation of QQ communication, which is also the last blog post in school.
[unsolved]7-14 calculation diagram
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
Activiti目录(五)驳回、重新发起、取消流程
字节跳动春招攻略:学长学姐笔经面经,还有出题人「锦囊」
字节跳动技术新人培训全记录:校招萌新成长指南
High performance mysql (Third Edition) notes
Solr word segmentation analysis
随机推荐
100张图训练1小时,照片风格随意变,文末有Demo试玩|SIGGRAPH 2021
Cmake error: could not create named generator visual studio 16 2019 solution
7-6 sum of combinatorial numbers
LeetCode 1551. Minimum operand to make all elements in the array equal
服务器端渲染(SSR)和客户端渲染(CSR)的区别
After the subscript is used to assign a value to the string type, the cout output variable is empty.
~75 background
~78 radial gradient
Shell_ 03_ environment variable
LeetCode 1636. Sort the array in ascending order by frequency
LeetCode 1550. There are three consecutive arrays of odd numbers
7-7 ring the stupid bell
Monomer application concept
Shell_ 01_ data processing
~83 form introduction
字节跳动技术面试官现身说法:我最想pick什么样的候选人
这116名学生,用3天时间复刻了字节跳动内部真实技术项目
Record the error reason
LeetCode 1558. Get the minimum number of function calls of the target array
Some instructions on whether to call destructor when QT window closes and application stops