跳至主要內容

apt source

Someone小于 1 分钟

apt source

Source:USTCopen in new window

sudo vim /etc/apt/source.list

or use the command:

sudo sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list

For Kali Linux:

deb https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src https://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib

For more information USTC Open Sourceopen in new window

Finally:

sudo apt-get update