1、編輯源倉庫
vi /etc/apt/sources.list
#163源 #####################主要,開源,閉源 deb http://mirrors.163.com/debian wheezy main non-free contrib deb-src http://mirrors.163.com/debian wheezy main non-free contrib ###################wheezy-proposed-updates建議更新 deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free #wheezy-updates推薦更新 deb http://mirrors.163.com/debian wheezy-updates main contrib non-free deb-src http://mirrors.163.com/debian wheezy-updates main contrib non-free #wheezy/updates安全更新 deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free deb http://http.us.debian.org/debian wheezy main contrib non-free deb http://security.debian.org wheezy/updates main contrib non-free #上海交大 deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib #上海交大 ipv6 deb http://ftp6.sjtu.edu.cn/debian wheezy main non-free contrib deb http://ftp6.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib deb http://ftp6.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib deb-src http://ftp6.sjtu.edu.cn/debian wheezy main non-free contrib deb-src http://ftp6.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib deb-src http://ftp6.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib #網易 deb http://mirrors.163.com/debian/ wheezy main non-free contrib deb http://mirrors.163.com/debian/ wheezy-proposed-updates main non-free contrib deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib deb-src http://mirrors.163.com/debian/ wheezy-proposed-updates main non-free contrib #搜狐 deb http://mirrors.sohu.com/debian/ wheezy main non-free contrib deb http://mirrors.sohu.com/debian/ wheezy-proposed-updates main non-free contrib deb-src http://mirrors.sohu.com/debian/ wheezy main non-free contrib deb-src http://mirrors.sohu.com/debian/ wheezy-proposed-updates main non-free contrib #中國科技大學 deb http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib deb http://mirrors.ustc.edu.cn/debian/ wheezy-proposed-updates main non-free contrib deb-src http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib deb-src http://mirrors.ustc.edu.cn/debian/ wheezy-proposed-updates main non-free contrib #清華大學 不是很穩定 deb http://mirrors.tuna.tsinghua.edu.cn/debian/ wheezy main non-free contrib deb http://mirrors.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib deb-src http://mirrors.tuna.tsinghua.edu.cn/ wheezy main non-free contrib deb-src http://mirrors.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib #北京理工 deb http://mirrors.bit.edu.cn/debian/ wheezy main non-free contrib deb http://mirrors.bit.edu.cn/ wheezy-proposed-updates main non-free contrib deb-src http://mirrors.bit.edu.cn/ wheezy main non-free contrib deb-src http://mirrors.bit.edu.cn/ wheezy-proposed-updates main non-free contrib #北京理工(Ipv6) deb http://mirrors.bit6.edu.cn/debian/ wheezy main non-free contrib deb http://mirrors.bit6.edu.cn/ wheezy-proposed-updates main non-free contrib deb-src http://mirrors.bit6.edu.cn/ wheezy main non-free contrib deb-src http://mirrors.bit6.edu.cn/ wheezy-proposed-updates main non-free contrib #清華大學(Ipv6) deb http://mirrors.6.tuna.tsinghua.edu.cn/debian/ wheezy main non-free contrib deb http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy main non-free contrib deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ wheezy-proposed-updates main non-free contrib