Ubuntu 代理环境更新报错
2020-12-14 本文已影响0人
孟想
问题
sudo apt update 时报错如下:
Err:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal Release
Could not handshake: An unexpected TLS packet was received. [IP: 10.*.*.* 8080]
解决方法
修改.bashrc
文件:
https_proxy="https://10.*.*.* 8080"
改为
https_proxy="http://10.*.*.* 8080"