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