“源列表”的版本间的差异
来自Ubuntu中文
第3行: | 第3行: | ||
请参阅 [Ubuntu简介] | 请参阅 [Ubuntu简介] | ||
− | + | ||
− | sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup | + | '''sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup''' |
− | sudo gedit /etc/apt/sources.list | + | |
+ | '''sudo gedit /etc/apt/sources.list''' | ||
用以下内容替换文件中的所有内容 | 用以下内容替换文件中的所有内容 | ||
− | + | ||
− | deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse | + | '''deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse |
deb http://archive.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse | deb http://archive.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse | ||
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse | deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse | ||
deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse | deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse | ||
deb http://archive.ubuntu.com/ubuntu/ edgy-proposed main restricted universe multiverse | deb http://archive.ubuntu.com/ubuntu/ edgy-proposed main restricted universe multiverse | ||
− | deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse | + | deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse''' |
− | + | ||
第22行: | 第22行: | ||
代码: | 代码: | ||
− | deb http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse | + | '''deb http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse |
deb http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse | deb http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse | ||
deb http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse | deb http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse | ||
deb http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse | deb http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse | ||
deb http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse | deb http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse | ||
− | deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse | + | deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse''' |
− | + | 这里你还可以使用 | |
+ | 速度也非常快的的mirror.lupaworld.com的源: | ||
代码: | 代码: | ||
− | deb http://mirror.lupaworld.com/ubuntu/archive/ edgy main restricted universe multiverse | + | '''deb http://mirror.lupaworld.com/ubuntu/archive/ edgy main restricted universe multiverse |
deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-security main restricted universe multiverse | deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-security main restricted universe multiverse | ||
deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-updates main restricted universe multiverse | deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-updates main restricted universe multiverse | ||
deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-backports main restricted universe multiverse | deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-backports main restricted universe multiverse | ||
deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-proposed main restricted universe multiverse | deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-proposed main restricted universe multiverse | ||
− | deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ edgy main restricted universe multiverse | + | deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ edgy main restricted universe multiverse''' |
+ | |||
如果是教育网用户请使用上海交通大学的源: | 如果是教育网用户请使用上海交通大学的源: | ||
代码: | 代码: | ||
− | deb http://ftp.sjtu.edu.cn/ubuntu/ edgy main multiverse restricted universe | + | '''deb http://ftp.sjtu.edu.cn/ubuntu/ edgy main multiverse restricted universe |
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe | deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe | ||
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe | deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe | ||
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe | deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe | ||
deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe | deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe | ||
− | deb http://ftp.sjtu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe bleeding | + | deb http://ftp.sjtu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe bleeding''' |
保存编辑好的文件 | 保存编辑好的文件 | ||
− | + | ||
− | sudo apt-get update | + | '''sudo apt-get update''' |
第58行: | 第60行: | ||
代码: | 代码: | ||
− | sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup | + | '''sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup |
− | sudo gedit /etc/apt/sources.list | + | sudo gedit /etc/apt/sources.list''' |
+ | |||
用以下内容替换文件中的所有内容 | 用以下内容替换文件中的所有内容 | ||
代码: | 代码: | ||
− | deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse | + | '''deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse |
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse | deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse | ||
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse | deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse | ||
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse | deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse | ||
deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse | deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse | ||
− | deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse | + | deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse''' |
第75行: | 第78行: | ||
代码: | 代码: | ||
− | deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse | + | '''deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse |
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse | deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse | ||
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse | deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse | ||
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse | deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse | ||
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse | deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse | ||
− | deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse | + | deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse''' |
第86行: | 第89行: | ||
代码: | 代码: | ||
− | deb http://mirror.lupaworld.com/ubuntu/archive/ feisty main restricted universe multiverse | + | '''deb http://mirror.lupaworld.com/ubuntu/archive/ feisty main restricted universe multiverse |
deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-security main restricted universe multiverse | deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-security main restricted universe multiverse | ||
deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-updates main restricted universe multiverse | deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-updates main restricted universe multiverse | ||
deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-backports main restricted universe multiverse | deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-backports main restricted universe multiverse | ||
deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-proposed main restricted universe multiverse | deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-proposed main restricted universe multiverse | ||
− | deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ feisty main restricted universe multiverse | + | deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ feisty main restricted universe multiverse''' |
第97行: | 第100行: | ||
代码: | 代码: | ||
− | deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe | + | '''deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe |
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe | deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe | ||
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe | deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe | ||
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe | deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe | ||
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe | deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe | ||
− | deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe bleeding | + | deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe bleeding''' |
− | + | ||
上海电信的一个源: | 上海电信的一个源: | ||
代码: | 代码: | ||
− | deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse | + | '''deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse |
deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse | deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse | ||
deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse | deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse | ||
deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse | deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse | ||
deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse | deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse | ||
− | deb http://mirror.rootguide.org/ubuntu-cn/ feisty main restricted universe multiverse | + | deb http://mirror.rootguide.org/ubuntu-cn/ feisty main restricted universe multiverse''' |
− | + | ||
保存编辑好的文件 | 保存编辑好的文件 | ||
代码: | 代码: | ||
− | sudo apt-get update | + | '''sudo apt-get update''' |
2007年5月10日 (四) 13:57的版本
Edgy (6.10) 版本
请参阅 [Ubuntu简介]
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
用以下内容替换文件中的所有内容
deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ edgy-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse
这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):
代码: deb http://ubuntu.cn99.com/ubuntu/ edgy main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ edgy-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ edgy-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ edgy-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ edgy-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ edgy main restricted universe multiverse
这里你还可以使用 速度也非常快的的mirror.lupaworld.com的源:
代码: deb http://mirror.lupaworld.com/ubuntu/archive/ edgy main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-security main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-updates main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ edgy-proposed main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ edgy main restricted universe multiverse
如果是教育网用户请使用上海交通大学的源:
代码: deb http://ftp.sjtu.edu.cn/ubuntu/ edgy main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-security main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-updates main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-backports main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ edgy-proposed main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu-cn/ edgy main multiverse restricted universe bleeding
保存编辑好的文件
sudo apt-get update
Feisty (7.04) 版本
请参阅 [Ubuntu简介]
代码: sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup sudo gedit /etc/apt/sources.list
用以下内容替换文件中的所有内容
代码: deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse
这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):
代码: deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse
这里你还可以使用速度也非常快的的mirror.lupaworld.com的源:
代码: deb http://mirror.lupaworld.com/ubuntu/archive/ feisty main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-security main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-updates main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/archive/ feisty-proposed main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ feisty main restricted universe multiverse
如果是教育网用户请使用上海交通大学的源:
代码: deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe bleeding
上海电信的一个源:
代码: deb http://mirror.rootguide.org/ubuntu/ feisty main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-proposed main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-updates main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-backports main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu/ feisty-security main restricted universe multiverse deb http://mirror.rootguide.org/ubuntu-cn/ feisty main restricted universe multiverse
保存编辑好的文件
代码: sudo apt-get update