kali日常更新

kali升级过程

cat << EOF > /etc/apt/sources.list

deb http://mirrors.aliyun.com/kali sana main non-free contrib

deb-src http://mirrors.aliyun.com/kali sana main non-free contrib

deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free

EOF

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

reboot

更新不了可以换下更新源

#科大源

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

deb-src 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

#阿里源-kali2.0较好用

deb http://mirrors.aliyun.com/kali sana main non-free contrib

deb-src http://mirrors.aliyun.com/kali sana main non-free contrib

deb http://mirrors.aliyun.com/kali-security sana/updates main contrib non-free

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: