Ubuntu 14.04 更新源

时间:2024-01-03 16:42:56
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
sudo apt-get upgrade
sudo apt-get update
sudo apt-get dist-upgrade

2016.9.4亲测可用。

  报了hash sum的错时,试过网上的方法,还是没办法解决。最后看了报的错,发现是在一个奇怪的网站上出了错,于是在/etc/apt中删去了包含这个网站的文件,就可以成功update了。