ubuntu17.04 source list

前端之家收集整理的这篇文章主要介绍了ubuntu17.04 source list前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

一、环境说明

$lsb_release-a
NoLSBmodulesareavailable.
DistributorID:Ubuntu
Description:Ubuntu17.04
Release:17.04
Codename:zesty

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


二、问题解决

思路: 跟新软件源

$sudocp/etc/apt/sources.list/etc/apt/sources.list.org
$sudovim/etc/apt/sources.list
将一下内容写入source.list文件中保存
debhttp://mirrors.aliyun.com/ubuntu/trustymainmultiverserestricteduniverse
debhttp://mirrors.aliyun.com/ubuntu/trusty-backportsmainmultiverserestricteduniverse
debhttp://mirrors.aliyun.com/ubuntu/trusty-proposedmainmultiverserestricteduniverse
debhttp://mirrors.aliyun.com/ubuntu/trusty-securitymainmultiverserestricteduniverse
debhttp://mirrors.aliyun.com/ubuntu/trusty-updatesmainmultiverserestricteduniverse
deb-srchttp://mirrors.aliyun.com/ubuntu/trustymainmultiverserestricteduniverse
deb-srchttp://mirrors.aliyun.com/ubuntu/trusty-backportsmainmultiverserestricteduniverse
deb-srchttp://mirrors.aliyun.com/ubuntu/trusty-proposedmainmultiverserestricteduniverse
deb-srchttp://mirrors.aliyun.com/ubuntu/trusty-securitymainmultiverserestricteduniverse
deb-srchttp://mirrors.aliyun.com/ubuntu/trusty-updatesmainmultiverserestricteduniverse
$sudoapt-getupdate

再次install 成功

原文链接:https://www.f2er.com/ubuntu/350062.html

猜你在找的Ubuntu相关文章