apt-get强制使用Ipv4
sudo apt-get -o Acquire::ForceIPv4=true update
永久解决办法:
创建文件 /etc/apt/apt.conf.d/99force-ipv4
加入代码: Acquire::ForceIPv4 "true";
黄世宇/Shiyu Huang's Personal Page:https://huangshiyu13.github.io/
sudo apt-get -o Acquire::ForceIPv4=true update
永久解决办法:
创建文件 /etc/apt/apt.conf.d/99force-ipv4
加入代码: Acquire::ForceIPv4 "true";