出现问题参见8,有部分问题的解决方法(每个人遇到的可能不一样)
一、编辑/etc/apt/source.list文件
对于之前的squeeze用户,升级还是很简单的.国内的用户直接去换一个源就行了
在终端依次输入以下命令,备份老源文件,直接去163下载新源文件即可.
#cp /etc/apt/sources.list /etc/apt/squeeze_sources_list
#wget http://mirrors.163.com/.help/sources.list.wheezy -O /etc/apt/sources.list
或者直接复制下面的内容,并且把老的squeeze的注释或者删除掉
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 main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-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://non-us.debian.org/debian-non-US wheezy/non-US main contrib non-free
deb http://security.debian.org wheezy/updates main contrib non-free
二、更新软件包列表
# apt-get up