Debian HK 套件映射區

Debian HK 由 1999 年年尾已開始義務提供全港最完整的 Debian 映射站 (mirror site) 。

下面列出了各個版本的 /etc/apt/sources.list 配置。deb-src 為程式源代碼的地址,若你沒有打算下載源代碼,那麼你不用加入 deb-src 的配置。例子中全用了 FTP,如果你較喜歡使用 HTTP,只需把 ftp:// 換成 http:// 即可。

穩定版 (stable/sarge)

Debian 的穩定版具有高度的安全性和穩定性,當發現了任何安全漏洞,Debian 團隊會立即作出反應,第一時間發布修補了安全漏洞的新套件。

# Debian 官方套件庫
deb http://www.hk.debian.org/debian/ stable main non-free contrib
deb-src http://www.hk.debian.org/debian/ stable main non-free contrib

# Debian 安全更新庫
deb http://security.debian.org/ stable/updates main contrib non-free
deb-src http://security.debian.org/ stable/updates main contrib non-free

測試版 (testing/etch)

測試版為下一個穩定版的開發版,軟件包比穩定版較新,但是因為不是正式發布的穩定版本,所以 Debian 團隊不會作出任何包證,亦因此不建議安裝在需要高度穩定和安全性的地方,比如伺服器。

# Debian 官方套件庫
deb ftp://ftp.hk.debian.org/debian/ testing main non-free contrib
deb-src ftp://ftp.hk.debian.org/debian/ testing main non-free contrib
# Debian 安全更新庫
deb http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free
deb-src http://secure-testing.debian.net/debian-secure-testing etch/security-updates main contrib non-free

非穩定版 (unstable/lenny/sid)

# Debian 官方套件庫
deb ftp://ftp.hk.debian.org/debian/ sid main non-free contrib
deb-src ftp://ftp.hk.debian.org/debian/ sid main non-free contrib