现在的位置: 首页 > 综合 > 正文

ubuntu11.04 apt-get不能更新问题的解决

2013年10月27日 ⁄ 综合 ⁄ 共 7716字 ⁄ 字号 评论关闭

 前些日子,使用apt-get install 更新东西,突然发现不能更新了,uneable to reach。。。。。。

,在网上查也没有查到原因,难道是ubuntu软件管理中心出了问题?不过这么大的事情网上不可能一点消息都没有的。

自己思考了一下。

apt-get跟什么有关呢?ubuntu软件管理中心。如果他没有问题的话,(说实话,这种应用程序出差错的机会很少。)

那么在往上一层是什么呢?是ubuntu更新源,难得是源出了问题?

忽然想起前段时间好像是网易还是搜狐来着,他们宣布不再提供ubuntu的更新了,好吧那就尝试一下,修改源。

在网上找到了一个修改更新源的文档和源的网址

Ubuntu 10.04 台湾更新源:

deb http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-backports main multiverse restricted universe
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-backports universe main multiverse restricted

Ubuntu 10.04更新源 -Lucid Lynx-中国源,提供 ArchLinux,Everest,FreeBSD,Fedora,LFS,Magiclinux,Mandriva,OpenOffice,openSUSE,Puppy,Red Hat,Slitaz,Turbolinux,Ubuntu

deb http://mirror.lupaworld.com/Ubuntu/ lucid main universe restricted multiverse
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid main universe restricted multiverse
deb http://mirror.lupaworld.com/Ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid-security universe main multiverse restricted
deb http://mirror.lupaworld.com/Ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirror.lupaworld.com/Ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirror.lupaworld.com/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirror.lupaworld.com/Ubuntu/ lucid-updates universe main multiverse restricted

rootguide源,Ubuntu官方上海源,提供 Kernel,Hiweed,ubuntu

deb http://mirror.rootguide.org/Ubuntu/ lucid main universe restricted multiverse
deb-src http://mirror.rootguide.org/Ubuntu/ lucid main universe restricted multiverse
deb http://mirror.rootguide.org/Ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ lucid-security universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirror.rootguide.org/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirror.rootguide.org/Ubuntu/ lucid-updates universe main multiverse restricted

网易开源镜像站,提供 FreeBSD,OpenBSD,archlinux,centos,cygwin,debian,Fedora,gentoo,kernel,openSUSE,slackware,Ubuntu

deb http://mirrors.163.com/Ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.163.com/Ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.163.com/Ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ lucid-security universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirrors.163.com/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/Ubuntu/ lucid-updates universe main multiverse restricted

搜狐开源镜像站,提供 CPAN,FreeBSD,NetBSD,OpenBSD,apache,archlinux,centos,cygwin,dag,debian,Fedora,gentoo,kernel,lfs,mysql,nginx,openSUSE,php,rpmfusion,slackware,Ubuntu

deb http://mirrors.shlug.org/Ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.shlug.org/Ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.shlug.org/Ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ lucid-security universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirrors.shlug.org/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.shlug.org/Ubuntu/ lucid-updates universe main multiverse restricted

搜狐开源镜像站,提供 CPAN,FreeBSD,NetBSD,OpenBSD,apache,archlinux,centos,cygwin,dag,debian,Fedora,gentoo,kernel,lfs,mysql,nginx,openSUSE,php,rpmfusion,slackware,Ubuntu

deb http://mirrors.sohu.com/Ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.sohu.com/Ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.sohu.com/Ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.sohu.com/Ubuntu/ lucid-security universe main multiverse restricted
deb http://mirrors.sohu.com/Ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirrors.sohu.com/Ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirrors.sohu.com/Ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirrors.sohu.com/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.sohu.com/Ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.sohu.com/Ubuntu/ lucid-updates universe main multiverse restricted

网易开源镜像站, 提供 FreeBSD,OpenBSD,archlinux,centos,cygwin,debian,Fedora,gentoo,kernel,openSUSE,slackware,Ubuntu

deb http://Ubuntu.cn99.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://Ubuntu.cn99.com/ubuntu/ lucid main universe restricted multiverse
deb http://Ubuntu.cn99.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://Ubuntu.cn99.com/ubuntu/ lucid-updates universe main multiverse restricted
deb http://Ubuntu.cn99.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://Ubuntu.cn99.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://Ubuntu.cn99.com/ubuntu/ lucid-updates universe main multiverse restricted

骨头源(骨头源是bones7456架设的一个Ubuntu源),提供 Ubuntu,deepin

deb http://Ubuntu.srt.cn/ubuntu/ lucid main universe restricted multiverse
deb-src http://Ubuntu.srt.cn/ubuntu/ lucid main universe restricted multiverse
deb http://Ubuntu.srt.cn/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ lucid-security universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ lucid-updates universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://Ubuntu.srt.cn/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://Ubuntu.srt.cn/ubuntu/ lucid-updates universe main multiverse restricted

修 改更新源设置: # sudo gedit /etc/apt/sources.list
然后粘贴上述网址到该文件中

#sudo apt-get upgrade

后来发现果然原来的有些源更新不了 ,

这次告诉我遇到问题要自己想方法,跟什么有关,尽力去尝试,你就可以解决,因为网上所有关于各种问题的解决方法都是跟我们一样的人

发现的。

 

 

抱歉!评论已关闭.