解决 ubuntu 12.10检查更新发生了错误

首先,备份一下Ubuntu 12.10 原来的源地址列表文件


sudo cp /etc/apt/sources.list /etc/apt/sources.list.old


然后进行修改

sudo gedit /etc/apt/sources.list


打开sources.list后删除文档内的所有内容 将以下的内容直接复制进去

#网易的源(163源,无论是不是教育网,速度都很快)
deb http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ quantal main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ quantal-updates universe main multiverse restricted

然后终端中运行

sudo apt-get update


你可能感兴趣的:(解决 ubuntu 12.10检查更新发生了错误)