信頼できるリポジトリで利用可能なバージョンと比較するために、バックポートリポジトリで利用可能な特定のパッケージのバージョンを見つけようとします。
しかし、私が与えるとき
apt-cache show <package> | grep Version
私はいつも次のような結果を得ます。
apt-cache -t wheezy-backports show <package> | grep Version
これは私がどのパッケージを検索しても関係なく適用されるようです。
私は何が間違っていましたか?
ベストアンサー1
apt-cache show
パッケージのすべてのバージョンに関する情報を表示します。
$ apt-cache show 0ad | grep Version:
Version: 0.0.14-3~bpo70+2
Version: 0~r11863-2
apt-cache policy
必要な情報をより簡潔な形式で提示し、適切なストレージソースを含めます。
$ apt-cache policy 0ad
0ad:
Installed: (none)
Candidate: 0~r11863-2
Version table:
0.0.14-3~bpo70+2 0
100 http://ftp.debian.org/debian/ wheezy-backports/main amd64 Packages
0~r11863-2 0
500 http://ftp.debian.org/debian/ wheezy/main amd64 Packages
より良い、解析しやすい出力を得ることができます。apt-show-versions
(すでに述べたようにボッシュ製作)はデフォルトではインストールされません。
$ apt-show-versions -a 0ad
Not installed
0ad 0~r11863-2 wheezy ftp.debian.org
0ad 0.0.14-3~bpo70+2 wheezy-backports ftp.debian.org
No stable-updates version
0ad not installed