【问题标题】:git-lfs/debian does not have a Release filegit-lfs/debian 没有 Release 文件
【发布时间】:2020-07-24 03:45:28
【问题描述】:

您好,我正在运行以下 docker 映像 https://github.com/jenkinsci/docker/blob/master/Dockerfile

dockerfile 安装 git-lfs

所以当我运行 apt-get udpate 时,我收到以下错误。

W: The repository 'https://packagecloud.io/github/git-lfs/debian stretch Release' does not have a Release file.
E: Failed to fetch https://packagecloud.io/github/git-lfs/debian/dists/stretch/main/source/Sources  server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Some index files failed to download. They have been ignored, or old ones used instead.

单击包的链接(即https://packagecloud.io/github/git-lfs/debian)将我带到一个页面,上面写着“您要查找的页面不存在。”

这是某种外部问题吗?

有没有办法让我忽略这部分更新?

还有其他想法吗?

一整天半以来,我一直在谷歌上搜索并尝试解决此问题。

【问题讨论】:

  • 当您的系统时间不同步时,有时会发生证书错误。你确定不是这样吗?如果是这种情况,您可以使用命令安装ntpapt-get install ntp
  • 它说“无法找到包 ntp”,我无法进行 atp-get 更新,所以..
  • 我在安装 git-lfs 之前破解了原始 dockerfile 来安装 ntp,它修复了它!我不太喜欢破解官方 dockerfile,但我想我别无选择。感谢 Technext
  • 很高兴它成功了。将其发布为答案。

标签: linux docker jenkins debian git-lfs


【解决方案1】:

当您的系统时间不同步时,有时会发生证书错误。如果是这种情况,您可以使用命令安装ntpapt-get install ntp

【讨论】:

    猜你喜欢
    • 2019-09-19
    • 1970-01-01
    • 2022-06-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-29
    相关资源
    最近更新 更多