安装gcc这个是啥问题
这个是怎么回事 Dme of the conf igured repos tories fal led (tUnknowm), 1and uum doesn't have enough cached data to contInue, At this po1nt the onlysafe thing yum can do is fail. There are a few ways to work "Tix'" this:
1. Contact the upstream for the reposItory and get them to fix the prob lem.
2. Reconf igure the baseurl/etc , for the repos Itory, to point to a workingupstream. This is most often usefu 11f
distribution release than ls supportedpackages for the previous distribution release still work) ,
3. Run the command with the repos Itory temporarily dIsabled
yum - disablerepo (repoid>
4. Disable the repository permanently. So yum won't use it by default. Yumwill then just igmnore the repository until you permanently enable itagain or use --enab lerepo for temporary usage:
yum-config-manager --disable repold>
subscription manager repos - -disab le-Krepoid>
5. Conf igure the failing repository to be skipped, 1f it is unavailableNote that yLm will try to contact the repo. when it runs most commands.S0 will have to try and fail each time (and thus. yum will be be muchslouer). If it is a very temporary problem though. this is often a nicecompromise:
yum conf 4g manager --save · -setopt-<repold) skip If unavailable=true
annot find a valid baseurl for repo: base/7/x86 64rootQloca lhost ~ J4 CentOS6官方停止维护了,如果需要自行搭建,推荐使用CentOS7(相应的安装教程已经更新 -> https://fishc.com.cn/thread-65017-1-1.html)
也可以直接下载我搭建好的镜像资源 -> 传送门 -> 链接:https://pan.baidu.com/s/14yJakRJzmsqt17i3_LM9Tg 密码:14m5
页:
[1]