Zypperパッケージステータスフラグの説明

Zypperパッケージステータスフラグの説明

私はSuseシステムでパッチプロセスを自動化する作業をしていました。パッケージの状態ライフサイクルをより明確に理解したいと思います。

まず、利用可能なパッチと新しいバージョンを一覧表示しようとしました。以下を実行しました。

$ zypper list-updates
Loading repository data...
Warning: Repository 'NON OSS Update' appears to be outdated. Consider using a different mirror or server.
Warning: Repository 'OSS Update' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...
S | Repository | Name          | Current Version      | Available Version    | Arch
--+------------+---------------+----------------------+----------------------+-------
v | OSS Update | libkmod2      | 17-16.1              | 17-19.1              | x86_64
v | OSS Update | libsgutils2-2 | 1.43+43.158502d-18.1 | 1.43+46.4b09c76-21.1 | x86_64
v | OSS Update | libssh2-1     | 1.4.3-19.6.1         | 1.4.3-19.9.1         | x86_64
v | OSS Update | libtasn1      | 4.9-3.1              | 4.9-6.1              | x86_64
v | OSS Update | libtasn1-6    | 4.9-3.1              | 4.9-6.1              | x86_64

状態であることがわかります「V」

その後、次のコマンドを実行してインストールされたパッケージを確認しました。

$ zypper packages --installed-only
Loading repository data...
Warning: Repository 'NON OSS Update' appears to be outdated. Consider using a different mirror or server.
Warning: Repository 'OSS Update' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...
S  | Repository | Name                              | Version                         | Arch
---+------------+-----------------------------------+---------------------------------+-------
i  | OSS Update | aaa_base                          | 13.2+git20140911.61c1681-28.9.1 | x86_64
v  | OSS Update | aaa_base                          | 13.2+git20140911.61c1681-28.6.1 | x86_64
v  | OSS Update | aaa_base                          | 13.2+git20140911.61c1681-28.3.1 | x86_64
v  | OSS        | aaa_base                          | 13.2+git20140911.61c1681-27.2   | x86_64
i+ | OSS Update | acl                               | 2.2.52-11.3.1                   | x86_64
v  | OSS        | acl                               | 2.2.52-10.15                    | x86_64
i  | OSS Update | bash                              | 4.3-83.15.1                     | x86_64
v  | OSS Update | bash                              | 4.3-83.12.1                     | x86_64
v  | OSS Update | bash                              | 4.3-83.9.1                      | x86_64
v  | OSS Update | bash                              | 4.3-83.6.1                      | x86_64
v  | OSS Update | bash                              | 4.3-83.3.1                      | x86_64
v  | OSS        | bash                              | 4.3-82.6                        | x86_64

...

マニュアルに記載されています。「私」パッケージがインストールされたことを意味します。「V」別のバージョンがインストールされていることを意味します。ただし、これについては言及されていない。「私+」

使用可能なパッチのいずれかを更新すると、ステータスは次のように変更されます。「V」到着「私+」。これは、最新バージョンのパッケージがインストールされたことを意味しますか?

ベストアンサー1

これ私+ユーザーがインストールしたパッケージを示しますが、つまり、自動的にインストールされます(たとえば、他のパッケージの依存関係など)。

zypperのマニュアルにもこの内容が言及されているようです。

あなたの質問に答えるには:はい、最新バージョンがインストールされています。

乾杯

おすすめ記事