yum安装程序报错:yum-config-manager --save --setopt=<repoid>.skip_if ...

海哥  金牌会员 | 2024-7-21 07:17:30 | 显示全部楼层 | 阅读模式
打印 上一主题 下一主题

主题 535|帖子 535|积分 1605

使用yum按照程序报错如下:
  1. One of the configured repositories failed (Unknown),
  2. and yum doesn't have enough cached data to continue. At this point the only
  3. safe thing yum can do is fail. There are a few ways to work "fix" this:
  4.      1. Contact the upstream for the repository and get them to fix the problem.
  5.      2. Reconfigure the baseurl/etc. for the repository, to point to a working
  6.         upstream. This is most often useful if you are using a newer
  7.         distribution release than is supported by the repository (and the
  8.         packages for the previous distribution release still work).
  9.      3. Disable the repository, so yum won't use it by default. Yum will then
  10.         just ignore the repository until you permanently enable it again or use
  11.         --enablerepo for temporary usage:
  12.             yum-config-manager --disable <repoid>
  13.      4. Configure the failing repository to be skipped, if it is unavailable.
  14.         Note that yum will try to contact the repo. when it runs most commands,
  15.         so will have to try and fail each time (and thus. yum will be be much
  16.         slower). If it is a very temporary problem though, this is often a nice
  17.         compromise:
  18.             yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
复制代码




-------------------------------------------------------------------------------------------------------------------
网上找了许多办法都没有办理,困扰一天,第二天继续处理,使用以下下令办理题目,仅此记载!!
实行下面几个下令:
yum clean all
yum makecache
yum update yum install -y lsof

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

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

本版积分规则

海哥

金牌会员
这个人很懒什么都没写!

标签云

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