linux下如何更新镜像源(ubuntu 10.04 为例),Ubuntu 10.04 更新源补充

#将文件里的内容全部删除,当然之前也可以用

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak#好习惯就是这样养成的 (注:只复制粘贴所有deb开头的行。细心的读者会发现源sources.list文件中有以许多#开头的行,这个#意味这此行为注释行,不起作用,剩余 的deb的行才是真正的源)

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,RedHat,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

网易开源镜像站,提供 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

骨头源,提供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 apt-get update 然后输入: #sudo apt-get upgrade0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值