Kali Linux 系统升级方法

Table of Contents

1 add update repository
vim /etc/apt/source.list

#ustc
deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free
#aliyun
deb http://mirrors.aliyun.com/kali sana main non-free contrib
deb http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free
deb-src http://mirrors.aliyun.com/kali-security/ sana/updates main contrib non-free

2 totally upgrade

apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get clean