因为在软件源中要用到HTTPS进行传输,所以,首先安装apt-transport-https,否则会出现:
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?

使用下面命令安装apt的ssl支持
apt-get install apt-transport-https

顺便分享几个SSL的源站
https://mirrors.ustc.edu.cn/
https://mirrors.aliyun.com/

https://mirrors.tuna.tsinghua.edu.cn/ 似乎限速.... 不推荐用

标签: Debian

添加新评论