使用debian minimal,好多的apt-get找不到软件,于是更新了下源,OK了,记录下源,下次备用:

vi /etc/apt/sources.list
添加:
deb http://security.debian.org/ squeeze/updates main
deb http://mirrors.163.com/debian wheezy main non-free contrib
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
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
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

保存,然后执行

apt-get update
apt-get upgrade -y
好了,可以愉快的apt-get了