【问题标题】:Failed to synchronize cache for repo 'jenkins', ignoring this repo error无法为 repo 'jenkins' 同步缓存,忽略此 repo 错误
【发布时间】:2020-07-12 08:51:31
【问题描述】:

我在 redhat 8 上安装 Jenkins,所以我按照 Jenkins 官方 documentation987654321@ 建议的命令运行以下命令

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo

sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key

但是当我运行命令时

yum install Jenkins

它显示一个错误我这样的错误

Failed to synchronize cache for repo 'Jenkins', ignoring this repo

我已经安装了 java 8。

【问题讨论】:

  • 不是machine-learning 问题,请不要向无关标签发送垃圾邮件(已删除)。
  • 它是机器学习的一部分,甚至我正在部署与 jekins @desertnaut 集成的机器学习代码
  • 请注意,标签只与问题的内容有关,与其上下文无关;您可能需要帮助调试,例如,随后将在宇宙飞船上使用的计算机视觉模型这一事实并不能将问题限定为关于space-engineering

标签: jenkins download redhat yum


【解决方案1】:

我的 yum 运行良好,因为我尝试 yum install python3 它运行良好,但对于 jenkins 它不工作,所以你必须在下载后下载 jenkins repo 去你的终端并运行命令 rpm -ivh

【讨论】:

    【解决方案2】:

    我想说您问题的关键部分是Failed to synchronize cache for repo 'jenkins', ignoring this repo 错误。

    根据我的测试,当您使用 yum 时下载的元数据大小约为 18kB,而不是屏幕截图中显示的 13kB,因此我认为问题可能是网络连接或类似问题。

    我建议运行 yum install --verbose jenkins 看看这是否能说明它无法同步 repo 缓存的原因。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-30
      • 2019-06-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多