cat /etc/apt/sources.list  添加如下四条,wq退出,执行apt-get update就可以了

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 http://mirrors.163.com/debian-security/ squeeze/updates main non-free contrib
deb http://hwraid.le-vert.net/debian/ squeeze main
 

小技巧

vi下删除所有空行

:g/^$/d

vi下删除所有以#开头的行

:g/#/d