Ubuntu 添加Kali源地址

1.修改源地址

首先备份下 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

sudo vim /etc/apt/sources.list

deb http://mirrors.ustc.edu.cn/kalikali main non-free contrib

deb-src http://mirrors.ustc.edu.cn/kalikali main non-free contrib

deb http://mirrors.ustc.edu.cn/kali-securitykali/updates main contrib non-free

2.添加kali公钥

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7D8D0BF6

3.更新

sudo apt-get update

你可能感兴趣的:(Ubuntu 添加Kali源地址)