kali Unable to locate package

  1. 由于kali的更新源是国外网站,替换成国内的镜像站,具体操作如下: 

    打开终端输入 leafpad /etc/apt/sources.list   把下面的源粘贴进去,原有内容注释掉

    #中科大源
    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  
    deb-src http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free
    #阿里云kali源
    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

原文链接: kali Unable to locate package 版权所有,转载时请注明出处,违者必究。
注明出处格式:流沙团 ( https://gyarmy.com/post-183.html )

发表评论

0则评论给“kali Unable to locate package”