A-A+

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

2016年06月01日 异常 暂无评论 阅读 1,547 次

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

deb-src http://archive.ubuntu.com/ubuntu trusty main restricted #Added by software-properties
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty restricted main universe multiverse #Added by software-properties
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates restricted main universe multiverse #Added by software-properties
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse #Added by software-properties
deb-src http://security.ubuntu.com/ubuntu trusty-security restricted main universe multiverse #Added by software-properties
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 等。

Copyright:www.cplusplus.me Share、Open- C/C++程序员之家

标签:

给我留言