apt
コマンドラインを使用して、Debian Jessieの特定のリポジトリ(Debian Jessieで設定されたリポジトリの1つ)で利用可能なパッケージを一覧表示することは可能ですか?
例えば、
deb http://ftp.de.debian.org/debian jessie main non-free
から/etc/apt/sources.list
。
ベストアンサー1
関心のあるリポジトリがソースにある場合は、次の行のファイルダウンロードで利用可能なパッケージに関する情報を見つけるapt
ことができます。apt
deb http://ftp.de.debian.org/debian jessie main non-free
これらは
/var/lib/apt/lists/ftp.de.debian.org_debian_dists_jessie_main_binary-amd64_Packages
/var/lib/apt/lists/ftp.de.debian.org_debian_dists_jessie_non-free_binary-amd64_Packages
(を使用すると仮定amd64
)。まず、次のように実行してこれらのファイルが最新であることを確認できます。
apt-get update