ubuntu出现apt-get source squid

前端之家收集整理的这篇文章主要介绍了ubuntu出现apt-get source squid前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

ubuntu出现apt-get source squid

E: You must put some 'source' URIs in your sources.list


只需在

vi /etc/apt/sources.list

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


sudo apt-get update


即可。

猜你在找的Ubuntu相关文章