#vim /etc/apt/sources.list
注释掉原来的,加上下面一段
deb http://mirrors.163.com/debian/ squeeze main non-free contrib
deb http://mirrors.163.com/debian/ squeeze-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ squeeze main non-free contrib
deb-src http://mirrors.163.com/debian/ squeeze-proposed-updates main non-free contrib
deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
deb ftp://debian.ustc.edu.cn/debian testing main non-free contrib
国外vps:
deb http://ftp.debian.org/debian squeeze main contrib non-free
deb http://security.debian.org squeeze/updates main contrib non-free
deb http://packages.dotdeb.org squeeze all
deb-src http://packages.dotdeb.org squeeze all
deb http://ftp.us.debian.org/debian/ unstable main contrib non-free