更新软件源 sudo apt-get update
提示ca-certificates 错误 出现安全证书不信任的问题
Reading package lists... Done
W: https://mirrors.aliyun.com/debian/dists/bullseye/InRelease: No system certificates available. Try installing ca-certificates.
W: https://mirrors.aliyun.com/debian/dists/bullseye-updates/InRelease: No system certificates available. Try installing ca-certificates.
W: Failed to fetch https://mirrors.aliyun.com/debian/dists/bullseye/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification.
W: Failed to fetch https://mirrors.aliyun.com/debian/dists/bullseye-updates/InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification.
W: Some index files failed to download. They have been ignored, or old ones used instead.
有三种解决办法,使用其一即可。
把https协议换成http协议(未测试)
先安装certificate库(安装命令为sudo apt install ca-certificates),再修改成阿里云的源地址。有一种不配源怎么安装,不安装怎么配源的死锁感😂(测试成功)
使用中科大的源,因为他们在这使用的是http协议(未测试)。