Huihoo Mirrors

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第3行: 第3行:
 
Debian和Ubuntu软件包源的设置方法
 
Debian和Ubuntu软件包源的设置方法
 
  编辑“/etc/apt/sources.list”文件
 
  编辑“/etc/apt/sources.list”文件
 +
debian version
 +
oldstable, or woody - the released Debian 3.0r6.
 +
stable, or sarge    - the released Debian 3.1r4.
 +
testing, or etch    - the development version of the next release.
 
Debian系统在文件开始处加入以下代码:
 
Debian系统在文件开始处加入以下代码:
  deb http://mirrors.huihoo.org/debian stable main contrib non-free
+
debian testing
  deb-src http://mirrors.huihoo.org/debian stable main contrib non-free
+
deb http://mirrors.huihoo.org/debian etch main contrib non-free
 +
deb-src http://mirrors.huihoo.org/debian etch main contrib non-free
 +
debian 3.1
 +
deb http://mirrors.huihoo.org/debian sarge main contrib non-free
 +
deb-src http://mirrors.huihoo.org/debian sarge main contrib non-free
 +
debian 3.0
 +
  deb http://mirrors.huihoo.org/debian woody main contrib non-free
 +
  deb-src http://mirrors.huihoo.org/debian woody main contrib non-free
  
 
Ubuntu系统在文件开始处加入以下代码:
 
Ubuntu系统在文件开始处加入以下代码:

2007年1月21日 (日) 17:07的版本

超过1TB的软件包资源

Debian和Ubuntu软件包源的设置方法

编辑“/etc/apt/sources.list”文件

debian version

oldstable, or woody - the released Debian 3.0r6.
stable, or sarge    - the released Debian 3.1r4.
testing, or etch    - the development version of the next release.

Debian系统在文件开始处加入以下代码: debian testing

deb http://mirrors.huihoo.org/debian etch main contrib non-free
deb-src http://mirrors.huihoo.org/debian etch main contrib non-free

debian 3.1

deb http://mirrors.huihoo.org/debian sarge main contrib non-free
deb-src http://mirrors.huihoo.org/debian sarge main contrib non-free

debian 3.0

deb http://mirrors.huihoo.org/debian woody main contrib non-free
deb-src http://mirrors.huihoo.org/debian woody main contrib non-free

Ubuntu系统在文件开始处加入以下代码:

Ubuntu 6.10

deb http://mirrors.huihoo.org/ubuntu/ edgy main restricted universe multiverse
deb-src http://mirrors.huihoo.org/ubuntu/ edgy main restricted universe multiverse

Ubuntu 6.06

deb http://mirrors.huihoo.org/ubuntu/ dapper main restricted universe multiverse
deb-src http://mirrors.huihoo.org/ubuntu/ dapper main restricted universe multiverse

Ubuntu 5.10

deb http://mirrors.huihoo.org/ubuntu/ breezy main restricted universe multiverse
deb-src http://mirrors.huihoo.org/ubuntu/ breezy main restricted universe multiverse

Ubuntu 5.04

deb http://mirrors.huihoo.org/ubuntu/ hoary main restricted universe multiverse
deb-src http://mirrors.huihoo.org/ubuntu/ hoary main restricted universe multiverse

执行“apt-get update”命令即可完成对软件包源的设置。

apt-get dist-upgrade
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱