複数のアーカイブが有効なコンピュータでの適性動作の理解

複数のアーカイブが有効なコンピュータでの適性動作の理解

Debianサーバーを処理する必要があります。もともとSqueezeだと思いますが、管理者は複数のディストリビューションを有効にしました。

deb http://mirror.yandex.ru/debian/ stable main contrib non-free
deb http://mirror.yandex.ru/debian/ testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free
deb http://mirror.yandex.ru/debian/ unstable main contrib non-free
deb http://mirror.yandex.ru/debian/ experimental main contrib non-free

/etc/apt/apt.confに指定されていますAPT::Default-Release "testing";

したがって、私がaptitudeまたはaptにパッケージの状態について尋ねると、議論の余地がある証言が出ます。

me@server: aptitude search emboss
i A emboss                                       - european molecular biology open software suite   

me@server: aptitude show emboss
Package: emboss                          
New: yes
State: not installed
Automatically installed: yes
...

apt-cache show emboss関心のあるパッケージ(「emboss」)の4つのコピーに関する情報を表示すると、コピーの1つに行が含まれています。Status: install ok installedこれはパッケージがインストールされていることを意味します。

Package: emboss
Status: install ok installed
Priority: optional
Section: science
Installed-Size: 4020
Maintainer: Debian Med Packaging Team <[email protected]>
Architecture: amd64
Version: 6.3.1-6
Depends: emboss-lib (= 6.3.1-6), libc6 (>= 2.7), libexpat1 (>= 1.95.8), libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1), libgd2-noxpm (>= 2.0.36~rc1~dfsg) | libgd2-xpm (>= 2.0.36~rc1~dfsg), libhpdf-2.1.0 (>= 2.1.0+dfsg), libjpeg62 (>= 6b1), libmysqlclient16 (>= 5.1.21-1), libpng12-0 (>= 1.2.13-4), libpq5 (>= 8.4~0cvs20090328), libx11-6, libxpm4, zlib1g (>= 1:1.1.4), emboss-data (= 6.3.1-6)
Recommends: primer3, dialign
Suggests: emboss-doc, emboss-test, embassy, clustalw
Description: the european molecular biology open software suite
 EMBOSS is a free Open Source software analysis package specially developed for
 the needs of the molecular biology (e.g. EMBnet) user community. The software
 automatically copes with data in a variety of formats and even allows
 transparent retrieval of sequence data from the web. Also, as extensive
 libraries are provided with the package, it is a platform to allow other
 scientists to develop and release software in true open source spirit. EMBOSS
 also integrates a range of currently available packages and tools for sequence
 analysis into a seamless whole. EMBOSS breaks the historical trend towards
 commercial software packages.
Homepage: http://emboss.sourceforge.net

私の質問は次のとおりです。 1)現在インストールされているパッケージのバージョンがどのディストリビューション(安定、テスト、不安定、実験)から来たのかをどうやって知ることができますか?コマンド(例)でどのように参照しますかdpkg -L? 2)aptitudeコマンド(showおよびaptitude search)はどのように選択され、報告する必要があるパッケージのバージョンは何ですか?なぜshowアルゴリズムがsearch違うのですか?

PS:ハイブリッドディストリビューションの作成が悪い習慣だと答えないでください。完全に同意します。しかし、まだそのマシンを扱う必要があります。

ベストアンサー1

apt-cache policy packagename_hereどのリポジトリでどのバージョンのパッケージが利用可能かを知らせることができます。

おすすめ記事