ネットワークインストール直後の etc/apt/sources.list の初期設定は、次のとおりです。(2007-04-15 現在)
#
# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main
deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main
deb http://ftp.jp.debian.org/debian/ etch main
deb-src http://ftp.jp.debian.org/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
毎回 CD-ROM を参照しないようにします。また、contrib と non-free セクションを追加します。
# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 NETINST Binary-1 20070407-11:29]/ etch contrib main
deb http://ftp.jp.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.jp.debian.org/debian/ etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
アプト−ウオッチは、ネットワークに接続し、アップデータを常時監視するアプレットです。このアプレットは、アップデータが利用可能である場合、ク ライアントに自動通知します。Windows Updates や Red Hat network と同様な機能を持ちます。
"apt-watch" の英文概説より翻訳し上記の引用を行いました。
http://packages.debian.org/testing/admin/apt-watch
"apt-watch is an applet that will inform you when upgrades are
available for your computer. It is similar to Windows Update or the Red
Hat Network applet."
Automatically checks software for updates.
Package: apt-watch
Description: Applet that monitors apt sources for upgrades
apt-watch is an applet that will inform you when upgrades are available for your computer. It is similar to Windows Update or the Red Hat Network applet.
This package contains the GNOME applet graphical interface.
Announcing apt-watch: a Gnome 2 panel applet to check for upgrades
http://lists.debian.org/debian-devel/2002/12/msg01150.html
このアプレットをインストールするには、次のコマンドを実行します。
# apt-get install apt-watch
あるいは、次のコマンドでもインストールされます。
# apt-get install apt-watch-gnome
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています... 完了
以下の特別パッケージがインストールされます:
apt-watch-backend
推奨パッケージ:
synaptic
以下のパッケージが新たにインストールされます:
apt-watch-backend apt-watch-gnome
アップグレード: 0 個、新規インストール: 2 個、削除: 0 個、保留: 249 個。
82.5kB のアーカイブを取得する必要があります。
展開後に追加で 393kB のディスク容量が消費されます。
続行しますか [Y/n]?
Synaptic をベースに開発され、簡易な機能を提供しますが、Synaptic には含まれない追加機能も備えています。Etch の新規インストール(GNOMEデスクトップ)では標準で含まれます。これを追加インストールしたい時は、次のコマンドを用います。
# apt-get install update-manager
アップデートをデスクトップのパネル通知領域に自動通知してくれるアプレットです。apt-watch と同様な機能を提供します。これは、Debian 4.0 Etch 以降の新機能です。1日1回の頻度でチェックが行われます。GNOMEだけでなく、KDE、Xfce などの環境でも機能します。オプションで自動更新(automatic updates)を設定することも可能となっています。
インストール方法
# apt-get install update-notifier
"Update Notifier will check for the availability of new packages for your Debian system on a daily basis. When it detects new versions of the packages installed on the system are available, it will add an icon on the desktop notification area."
"It will work with any Desktop system that implements the FreeDesktop? notification area specification, like GNOME, KDE and XFCE."
Etch/Sid にパッケージ検証のための「公開鍵」が部分的に採用されています。具体的には、Debian testing security advisories より随時リリースされるアップデータにこの仕組みが採り入れられています。
公開鍵を利用しないときは、# apt-get update コマンド実行時、次のメッセージが表示されます:
「W: GPG error: http://secure-testing.debian.net etch/security-updates Release: 公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 946AA6E18722E71E
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません」
次の手順で、パッケージと公開鍵をインストールします。
# apt-get install debian-keyring
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています... 完了
以下のパッケージが新たにインストールされます:
debian-keyring
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。
11.5MB のアーカイブを取得する必要があります。
展開後に追加で 14.9MB のディスク容量が消費されます。
警告: 以下のパッケージは認証されていません!
debian-keyring
検証なしにこれらのパッケージをインストールしますか [y/N]? y
場合によっては、以下の追加作業も必要となります。
# apt-key add hoge-200x-x.asc
gpg: 絶対的に信用する鍵が見つかりません
OK
# apt-key list
次のコマンドを実行するとエラーメッセージが出ます。
# apt-get update
W: GPG error: http://secure-testing.debian.net etch/security-updates Release:
公開鍵を利用できないため、以下の署名は検証できませんでした: NO_PUBKEY 946AA6E18722E71E
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません
# apt-get install hoge
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています... 完了
以下のパッケージがインストールされます:
...
警告: 以下のパッケージは認証されていません!
...
検証なしにこれらのパッケージをインストールしますか [y/N]?
エラーメッセージは注意を促す目的で表示されますが、実際のアップグレードやインストールを妨げることはありません。この状況のもとでも、# apt-get upgrade を実行することができます。
2007-10-01 より、APTの挙動が変更される予定です。Recommends パッケージもデフォルトでインストールされます。
Subject: Installation of Recommends by default on October 1st
debian-devel-announceより。
http://kmuto.jp/d/index.cgi/2007/08/02/
http://lists.debian.org/debian-devel-announce/2007/08/msg00000.html