#将文件里的内容全部删除,当然之前也可以用
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 upgrade