ubuntu 18.04在更新软件库时出现E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet...


1.完整的错误信息如下:

E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 11d 10min 50s). Updates for this repository will not be applied

2.笔者遇到的这个问题通过以下方式解决:

2.1 同步时间

sudo ntpdate cn.pool.ntp.org (可能会出现提示:ntpdate[11697]: no server suitable for synchronization found,不用理会)

2.2 修改时区和时间

  请参考ubuntu如何修改时区和时间

3.总结

这个问题是由于时间不一致导致的,只需更新时间即可


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM