在ubuntu中,将源更换为清华源后,执行sudo apt update时报以下错:
E: Release file for https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/focal-updates/InRelease is not valid yet (invalid for another 4h 3min 0s). Updates for this repository will not be applied.
E: Release file for https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/focal-backports/InRelease is not valid yet (invalid for another 4h 6min 35s). Updates for this repository will not be applied.
E: Release file for https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/focal-security/InRelease is not valid yet (invalid for another 3h 59min 56s). Updates for this repository will not be applied.
原因是虚拟机中用的是宿主机的系统时间,而我宿主机的系统时间不对,更新一下系统时间就解决了
1万+

被折叠的 条评论
为什么被折叠?



