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 等。