错误:由于系统时间错误证书验证失败导致更新不成功
错误:由于系统时间错误证书验证失败导致更新不成功
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) 手册以了解仓库创建和用户配置方面的细节。
解决方法:
修改当前系统时间,重新更新即可。