Kali Linux 更新源

1、  Kali Linux更新源

更换更新源,命令行中执行一下命令

/etc/apt/sources.list

2

替换sources.list里面的内容

可以使用以下三个源(使用一个即可)

    #kali官方源

    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.ustc.edu.cn/kali kali-rolling main contrib non-free

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

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

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

      #阿里云源

    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

 #清华大学源

    deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

 deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
   
    #浙江大学源
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://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

搜狐更新服务器 (山东联通千兆接入)
deb http://mirrors.sohu.com/ubuntu/ vivid main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ vivid-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid-backports main restricted universe multiverse

中国科学技术大学更新服务器 (位于合肥,千兆教育网接入,百兆电信/联通线路智能路由)
deb http://debian.ustc.edu.cn/ubuntu/ vivid main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ vivid-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ vivid-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ vivid-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ vivid-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ vivid main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ vivid-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ vivid-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ vivid-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ vivid-updates main multiverse restricted universe

阿里云更新服务器(北京万网/浙江杭州阿里云服务器双线接入)
deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse

deb https://packagecloud.io/amjith/mycli/ubuntu/ trusty main

3

执行 apt-get update 命令即可更新源

执行 apt-get upgrade 更新软件

然后安装下载更新,使用如下命令

apt-get dist-upgrade

#linux内核更新
apt-get install linux-headers-$(uname -r)
 

 4

http://blog.csdn.net/joeblackzqq/article/details/8694431

posted on 2018-09-07 17:16  K行云流水  阅读(122)  评论(0编辑  收藏