Debian

Debian sloppy distributions

Debian套件 (以tcpdump為例), 會以不同版本的方式存在於多個Debian 版本中.如下圖

2016-04-06_202433.png

其中可以看到有的套件位於 release-backports 有的位於 release-backports-sloppy.

主要差別如下:

Backports:

主要是將 testing release 中的 tcpdump 套件重新編譯, 並移值到 stable release 裡. (note: 有時backports 也會從unstable release 移值, 原因為安全性更新, 但不常發生)

目的是讓 stable release 也能執行較新版本的 tcpdump 套件. 但測試的嚴謹度沒有像 stable release 原本的 tcpdump 套件那麼高.

Backports-sloppy:

Backports 只針對 stable & testing 的release, 但對於 oldstable release 並不適用. 當新版本一發佈, stable 變成oldstable 時, oldstable的 backports 就停止更新了 (note: 但有些重大安全更新會手動批准更新)

於是乎 backports-sloopy 就出現了.

backports-sloopy 主要是將 testing release 中的 tcpdump 套件重新編譯, 並移值到oldstable release 裡. 以tcpdump為例則是 wheezy-backports-sloppy

 

引用[2] 的表格如下, 可一目瞭然其中差異.

2016-04-06_205615.png


 

若要使用 backports-sloopy , 設定如下:

1. 在/etc/apt/sources.list 中加入下列設定

deb http://ftp.debian.org/debian wheezy-backports-sloppy main contrib non-free
deb-src http://ftp.debian.org/debian wheezy-backports-sloppy main contrib non-free

2. 執行 apt-get update .

3. 指定backports-sloopy並安裝套件

apt-get -t wheezy-backports-sloppy install tcpdump

 

ref:

[1]: http://backports.debian.org/Instructions

[2]: http://backports.debian.org/news/jessie_released_-_backports_related_changes/

發表迴響