不知道为啥apt-get update直接报错,之前下载镜像的时候已经配置了阿里云的加速器
来源:4-4 负载均衡的高可用方案(上)

weixin_慕神1333520
2020-02-19
错误信息:
root@85028de07ffa:/# apt-get update
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:3 http://security-cdn.debian.org/debian-security buster/updates InRelease [65.4 kB]
Reading package lists… Done
E: Release file for http://deb.debian.org/debian/dists/buster/InRelease is not valid yet (invalid for another 16d 8h 26min 44s). Updates for this repository will not be applied.
E: Release file for http://deb.debian.org/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 26d 23h 53min 26s). Updates for this repository will not be applied.
E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 26d 19h 30min 5s). Updates for this repository will not be applied.
在百度上搜索apt-get加速,找到文章
https://blog.csdn.net/totorocyx/article/details/79517202
根据这篇文章找到对应系统的镜像
https://mirrors.tuna.tsinghua.edu.cn/help/centos/
做了修改还是报错
1回答
-
神思者
2020-02-19
haproxy镜像设置其他源不好用,你只能等待apt更新完毕,然后把容器打成镜像,下次就不用升级了
012020-02-20
相似问题