ubuntu下软件更新的出错

在打开ubuntu的刘案件更新器更新的时,有时会出现一堆错误,比如:

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick/main/source/Sources.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick/restricted/source/Sources.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick/universe/source/Sources.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/source/Sources.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick/main/binary-i386/Packages.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-i386/Packages.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick/universe/binary-i386/Packages.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick/multiverse/binary-i386/Packages.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/source/Sources.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/source/Sources.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/source/Sources.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/source/Sources.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/main/binary-i386/Packages.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/restricted/binary-i386/Packages.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/universe/binary-i386/Packages.gz  500  Internal Server Error

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dists/maverick-updates/multiverse/binary-i386/Packages.gz  500  Internal Server Error

这是因为在
http://cn.archive.ubuntu.com/ubuntu/dists
这个源中找不到对应的文件

解决办法当然就修改当前源啦。

打开软件更新器的设置:

ubuntu下软件更新的出错_第1张图片


然后点开这面的下载自:选择其他站点:

ubuntu下软件更新的出错_第2张图片

选择一个你要的源然后更新下就行那。关于源的选择,引用下面一篇博客的内容:

http://blog.iyestin.com/2013/11/05/ubuntu-update-sites-example-13-10/


二 软件更新源去哪找

接下来要说一下Ubuntu软件更新源的结构了。能够进行更新的站点通常都是开源镜像站点。如果你知道一个开源镜像站点,那么就可以去看它是否存在Ubuntu的镜像内容,如果存在,这个站点就可以用于Ubuntu软件更新源。

比如清华大学的开源镜像站点为

1
http://mirrors.tuna.tsinghua.edu.cn/

访问该网站可以看到存在Ubuntu的文件夹,可以用于更新。

Ubuntu13.10对应的开发名称为saucy。那么可以它对应的Ubuntu更新源内容为

deb http://mirrors.tuna.tsinghua.edu.cn/ubutu/ saucy main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ saucy-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ saucy-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ saucy-proposed main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ saucy-backports main restricted universe multiverse

 

注意一般Ubuntu更新源的支持周期为18个月,即是版本发行18月后该版本的更新将不再支持,即相应软件更新源不可使用。标识为LTS的版本支持周期为5年。

三 附部分国内Ubuntu 13.10更新源列表

中科大源
deb http://mirrors.ustc.edu.cn/ubuntu/ saucy main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ saucy-security main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ saucy-updates main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ saucy-proposed main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ saucy-backports main restricted universe multiverse
 
#上海交大
deb http://ftp.sjtu.edu.cn/ubuntu/ saucy main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ saucy-security main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ saucy-updates main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ saucy-proposed main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ saucy-backports main restricted universe multiverse
 
#清华大学
deb http://mirrors.tuna.tsinghua.edu.cn/ubutu/ saucy main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ saucy-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ saucy-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ saucy-proposed main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ saucy-backports main restricted universe multiverse
 
#天津大学
deb http://mirror.tju.edu.cn/ubuntu/ saucy main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ saucy-security main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ saucy-updates main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ saucy-proposed main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ saucy-backports main restricted universe multiverse
 
#东北大学
deb http://mirror.neu.edu.cn/ubuntu/ saucy main restricted universe multiverse
deb http://mirror.neu.edu.cn/ubuntu/ saucy-security main restricted universe multiverse
deb http://mirror.neu.edu.cn/ubuntu/ saucy-updates main restricted universe multiverse
deb http://mirror.neu.edu.cn/ubuntu/ saucy-proposed main restricted universe multiverse
deb http://mirror.neu.edu.cn/ubuntu/ saucy-backports main restricted universe multiverse
 
#台湾源
deb http://tw.archive.ubuntu.com/ubuntu/ saucy main universe restricted multiverse
#deb-src http://tw.archive.ubuntu.com/ubuntu/ saucy main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ saucy-security universe main multiverse restricted
#deb-src http://tw.archive.ubuntu.com/ubuntu/ saucy-security universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ saucy-updates universe main multiverse restricted
#deb-src http://tw.archive.ubuntu.com/ubuntu/ saucy-updates universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ saucy-proposed universe main multiverse restricted
#deb-src http://tw.archive.ubuntu.com/ubuntu/ saucy-proposed universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ saucy-backports universe main multiverse restricted
#deb-src http://tw.archive.ubuntu.com/ubuntu/ saucy-backports universe main multiverse restricted
 
#搜狐的源
deb http://mirrors.sohu.com/ubuntu/ saucy main restricted universe multiverse
#deb-src http://mirrors.sohu.com/ubuntu/ saucy main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ saucy-updates main restricted universe multiverse
#deb-src http://mirrors.sohu.com/ubuntu/ saucy-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ saucy-backports main restricted universe multiverse
#deb-src http://mirrors.sohu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ saucy-security main restricted universe multiverse
#deb-src http://mirrors.sohu.com/ubuntu/ saucy-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ saucy-proposed main restricted universe multiverse
#deb-src http://mirrors.sohu.com/ubuntu/ saucy-proposed main restricted universe multiverse
deb http://extras.ubuntu.com/ubuntu saucy main
#deb-src http://extras.ubuntu.com/ubuntu saucy main
 
#网易的源(163源,IPV4速度较快)
deb http://mirrors.163.com/ubuntu/ saucy main universe restricted multiverse
#deb-src http://mirrors.163.com/ubuntu/ saucy main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ saucy-security universe main multiverse restricted
#deb-src http://mirrors.163.com/ubuntu/ saucy-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ saucy-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ saucy-proposed universe main multiverse restricted
#deb-src http://mirrors.163.com/ubuntu/ saucy-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ saucy-backports universe main multiverse restricted
#deb-src http://mirrors.163.com/ubuntu/ saucy-backports universe main multiverse restricted
#deb-src http://mirrors.163.com/ubuntu/ saucy-updates universe main multiverse restricted


四附部分国内开源镜像站点列表

中国科学技术大学(debian.ustc.edu.cn)
 
上海交通大学(ftp.stju.edu.cn)
 
大连理工大学(mirror.dlut.edu.cn)
 
北京交通大学(mirror.bjtu.edu.cn)
 
北京理工大学(mirror.bit.edu.cn)
 
东北大学(mirror.neu.edu.cn)
 
厦门大学(mirrors.xmu.edu.cn)
 
兰州大学(mirror.lzu.edu.cn)
 
西安电子科技大学(linux.xidian.edu.cn)
 
哈尔滨工业大学(run.hit.edu.cn)
 
天津大学(mirror.tju.edu.cn)
 
东软信息学院(mirrors.neusoft.edu.cn)
 
电子科技大学(mirrors.stuhome.net)
 
华中科技大学(http://mirror.hust.edu.cn/)
 
网易开源镜像站(mirrors.163.com)
 


你可能感兴趣的:(ubuntu)