个人工具

“源列表”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第3行: 第3行:
 
请参阅 [Ubuntu简介]  
 
请参阅 [Ubuntu简介]  
  
代码:
+
[code]
 
+
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 [/code]
sudo gedit /etc/apt/sources.list ==
+
 
   
 
   
 
用以下内容替换文件中的所有内容  
 
用以下内容替换文件中的所有内容  
  
代码:
+
[code]
 
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  
第17行: 第16行:
 
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  
 +
[/code]
  
  

2007年5月10日 (四) 13:53的版本

Edgy (6.10) 版本

请参阅 [Ubuntu简介]

[code] sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup sudo gedit /etc/apt/sources.list [/code]

用以下内容替换文件中的所有内容

[code] 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 [/code]


这里你也可以直接使用更快速的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