鱼C论坛

 找回密码
 立即注册
查看: 1415|回复: 2

安装gcc这个是啥问题

[复制链接]
发表于 2021-3-23 19:31:15 From FishC Mobile | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
这个是怎么回事
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

 楼主| 发表于 2021-3-23 19:36:35 From FishC Mobile | 显示全部楼层
Dme of the conf igured repos tories fal led (tUnknowm), 1

and 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
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2021-3-29 17:40:52 | 显示全部楼层
CentOS6官方停止维护了,如果需要自行搭建,推荐使用CentOS7(相应的安装教程已经更新 -> https://fishc.com.cn/thread-65017-1-1.html

也可以直接下载我搭建好的镜像资源 -> 传送门 -> 链接:https://pan.baidu.com/s/14yJakRJzmsqt17i3_LM9Tg 密码:14m5

想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-11-14 17:28

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表