美文网首页
Ubuntu因为源的问题而导致无法下载

Ubuntu因为源的问题而导致无法下载

作者: Poppy11 | 来源:发表于2020-09-17 10:54 被阅读0次

    一、当时删除了所有的源,导致不能下载东西,使用apt-get update,也无效,需要编辑/etc/apt/source_list将源修改。

    二、我是用的阿里源,下面放一些常用的源

    阿里源

    deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
    
    deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
    

    官方源

    deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    
    deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    
    deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    
    deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb-src http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
    

    163源

    deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
    

    centos源

    deb http://centos.bitcomm.cn/ubuntu trusty main restricted universe multiverse
    
    deb http://centos.bitcomm.cn/ubuntu trusty-security main restricted universe multiverse
    
    deb http://centos.bitcomm.cn/ubuntu trusty-updates main restricted universe multiverse
    
    deb http://centos.bitcomm.cn/ubuntu trusty-backports main restricted universe multiverse
    
    deb http://centos.bitcomm.cn/ubuntu trusty-proposed main restricted universe multiverse
    
    deb-src http://centos.bitcomm.cn/ubuntu trusty main restricted universe multiverse
    
    deb-src http://centos.bitcomm.cn/ubuntu trusty-security main restricted universe multiverse
    
    deb-src http://centos.bitcomm.cn/ubuntu trusty-updates main restricted universe multiverse
    
    deb-src http://centos.bitcomm.cn/ubuntu trusty-backports main restricted universe multiverse
    
    deb-src http://centos.bitcomm.cn/ubuntu trusty-proposed main restricted universe multiverse
    

    搜狐源

    deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
    
    deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
    
    deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
    
    deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
    

    相关文章

      网友评论

          本文标题:Ubuntu因为源的问题而导致无法下载

          本文链接:https://www.haomeiwen.com/subject/vmhlyktx.html