您的位置:首页 > 其它

ubuntu apt-get (You must put some ‘source’ URIs in your sources.list)

2018-02-09 22:43 926 查看
ubuntu apt-get (You must put some 'source' URIs in your sources.list)
E: You must put some 'source' URIs in your sources.list
1、vi /etc/apt/sources.list
2、add to sources.list
1
deb
-
src http:
/
/
archive.ubuntu.com
/
ubuntu trusty main restricted
#Added by software-properties
2
deb
-
src http:
/
/
gb.archive.ubuntu.com
/
ubuntu
/
trusty restricted main universe multiverse
#Added by software-properties
3
deb
-
src http:
/
/
gb.archive.ubuntu.com
/
ubuntu
/
trusty
-
updates restricted main universe multiverse
#Added by software-properties
4
deb
-
src http:
/
/
gb.archive.ubuntu.com
/
ubuntu
/
trusty
-
backports main restricted universe multiverse
#Added by software-properties
5
deb
-
src http:
/
/
security.ubuntu.com
/
ubuntu trusty
-
security restricted main universe multiverse
#Added by software-properties
6
deb
-
src http:
/
/
gb.archive.ubuntu.com
/
ubuntu
/
trusty
-
proposed restricted main universe multiverse
#Added by software-properties
3、sudo apt-get update
4、执行你的命令,例如:sudo apt-get build-dep python-lxml 等。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐