|
楼主 |
发表于 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 |
|