码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu17.04 source list

时间:2018-01-22 21:45:22      阅读:811      评论:0      收藏:0      [点我收藏+]

标签:pos   nbsp   iba   update   成功   下载   module   lease   script   

一、环境说明

   $ lsb_release  -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description:    Ubuntu 17.04
    Release:        17.04
    Codename:       zesty

    

    在apt-get install  libaio.1 libaio-dev 时,下载不下来, 报Error


二、问题解决

    思路: 跟新软件源

    $sudo cp /etc/apt/sources.list   /etc/apt/sources.list.org
    $sudo vim /etc/apt/sources.list
    将一下内容写入source.list文件中保存
deb http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
    $sudo    apt-get update

再次install 成功

ubuntu17.04 source list

标签:pos   nbsp   iba   update   成功   下载   module   lease   script   

原文地址:http://blog.51cto.com/happytree007/2063957

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!