Debianの3リリースを選択して使用する

By siteadministrator, 18 7月, 2020

Debianの"安定版 (stable)"、"テスト版 (testing)"、 "不安定版 (unstable)" の 3 つのリリースのパッケージを選択して使用する。

リポジトリのリストを追加する。

vi /etc/apt/sources.list.d/testing.list

deb http://ftp.jp.debian.org/debian/ testing main non-free
deb-src http://ftp.jp.debian.org/debian/ testing main non-free

vi /etc/apt/sources.list.d/unstable.list

deb http://ftp.jp.debian.org/debian/ unstable main non-free
deb-src http://ftp.jp.debian.org/debian/ unstable main non-free

vi /etc/apt/preferences.d/stable

Package: *
Pin: release a=stable
Pin-Priority: 900

vi /etc/apt/preferences.d/testing

Package: *
Pin: release a=testing
Pin-Priority: 90

vi /etc/apt/preferences.d/unstable

Package: *
Pin: release a=unstable
Pin-Priority: 9

インストールを実行

apt update

testingのパッケージをインストール

apt install -t testing パッケージ名

unstableのパッケージをインストール

apt install -t unstable パッケージ名

セキュリティアップデートがない?ので、使用パッケージは注意が必要です。

 

 

 

 

 

タグ

コメント