kali源更新

Author Avatar
w4ctech 5月2日
  • 在其它设备中阅读本文章

最后更新于2019年05月02日; 如遇到问题,请留言及时通知站长

  1. 添加更新源gedit /etc/apt/sources.list
  2. 国内更新源

        #auto
        deb http://http.kali.org/kali kali-rolling main non-free contrib(一般更新这一条就好了)
    
        #中科大
        deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
        deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
    
        #浙大
        deb http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
        deb-src http://mirrors.zju.edu.cn/kali kali-rolling main contrib non-free
    
        #东软大学
        deb http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
        deb-src http://mirrors.neusoft.edu.cn/kali kali-rolling/main non-free contrib
    
        #官方源
        #deb http://http.kali.org/kali kali-rolling main non-free contrib
        #deb-src http://http.kali.org/kali kali-rolling main non-free contrib
  3. apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y (加了 - y 之后你就不用回车啦)
  • apt-get clean // 清除缓存索引
  • apt-get update // 更新索引文件
  • apt-get upgrade // 更新实际的软件包文件
  • apt-get dist-upgrade // 根据依赖关系更新

本文链接:https://i.w4ctech.com/vmware/update.html
This blog is under a CC BY-NC-SA 3.0 Unported License

0:00