首页 > 解决方案 > git-lfs/debian 没有 Release 文件

问题描述

您好,我正在运行以下 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)将我带到一个页面,上面写着“您要查找的页面不存在”。

这是某种外部问题吗?

有没有办法可以忽略这部分更新?

还有其他想法吗?

我一直在谷歌搜索并试图为此考虑一整天半的解决方法。

标签: linuxdockerjenkinsdebiangit-lfs

解决方案


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


推荐阅读