錯誤:由於系統時間錯誤證書驗證失敗導致更新不成功
1 root@yzw-home:~# sudo apt update && sudo apt dist-upgrade -y 2 忽略:1 https://home-packages.chinauos.com/home plum InRelease 3 忽略:2 https://home-store-packages.chinauos.com/appstore eagle InRelease 4 忽略:3 https://home-packages.chinauos.com/printer eagle InRelease 5 錯誤:4 https://home-store-packages.chinauos.com/appstore eagle Release 6 Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 61.54.25.98 443] 7 錯誤:5 https://home-packages.chinauos.com/home plum Release 8 Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 61.54.25.98 443] 9 錯誤:6 https://home-packages.chinauos.com/printer eagle Release 10 Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 61.54.25.98 443] 11 正在讀取軟件包列表... 完成 12 E: 倉庫 “https://home-store-packages.chinauos.com/appstore eagle Release” 不再含有 Release 文件。 13 N: 無法安全地用該源進行更新,所以默認禁用該源。 14 N: 參見 apt-secure(8) 手冊以了解倉庫創建和用戶配置方面的細節。 15 E: 倉庫 “https://home-packages.chinauos.com/home plum Release” 不再含有 Release 文件。 16 N: 無法安全地用該源進行更新,所以默認禁用該源。 17 N: 參見 apt-secure(8) 手冊以了解倉庫創建和用戶配置方面的細節。 18 E: 倉庫 “https://home-packages.chinauos.com/printer eagle Release” 不再含有 Release 文件。 19 N: 無法安全地用該源進行更新,所以默認禁用該源。 20 N: 參見 apt-secure(8) 手冊以了解倉庫創建和用戶配置方面的細節。
解決方法:
修改當前系統時間,重新更新即可。