ubuntu14.10修改源

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

ubuntu14.10上apt-get install安装程序老是报找不到软件包,原来是要更改软件源,


sudo vim /etc/apt/sources.list

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty main restricted universe multiverse
deb /Linux/ubuntu trusty-security main restricted universe multiverse
deb /Linux/ubuntu trusty-updates main restricted universe multiverse
deb /Linux/ubuntu trusty-backports main restricted universe multiverse
deb /Linux/ubuntu trusty-proposed main restricted universe multiverse
deb-src /Linux/ubuntu trusty main restricted universe multiverse
deb-src /Linux/ubuntu trusty-security main restricted universe multiverse
deb-src /Linux/ubuntu trusty-updates main restricted universe multiverse
deb-src /Linux/ubuntu trusty-backports main restricted universe multiverse
deb-src /Linux/ubuntu trusty-proposed main restricted universe

sudo apt-update

完毕!(下载不成功就重试一下)
经本人测试,上面用的是香港中文大学的,用了163和aliyun的还是404.

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

猜你在找的Ubuntu相关文章