apt-get --simulate dist-upgrade: 「Inst」と「Conf」はどういう意味ですか?

apt-get --simulate dist-upgrade: 「Inst」と「Conf」はどういう意味ですか?

コマンドを実行すると、apt-get --simulate dist-upgrade出力には各行のInst前に or が付いたリストが含まれますConf

[truncated...]
Inst ubuntu-artwork [1:14.04+16.04.20160621-0ubuntu1] (1:14.04+16.04.20160804-0ubuntu1 Ubuntu:16.04/xenial-updates [all])
Inst xdiagnose [3.8.4] (3.8.4.1 Ubuntu:16.04/xenial-updates [all])
Inst xserver-xorg-video-intel [2:2.99.917+git20160325-1ubuntu1] (2:2.99.917+git20160325-1ubuntu1.1 Ubuntu:16.04/xenial-updates [amd64])
Inst p11-kit [0.23.2-3] (0.23.2-5~ubuntu16.04.1 Ubuntu:16.04/xenial-updates [amd64])
Conf libaccountsservice0 (0.6.40-2ubuntu11.2 Ubuntu:16.04/xenial-updates [amd64])
Conf accountsservice (0.6.40-2ubuntu11.2 Ubuntu:16.04/xenial-updates [amd64])
Conf language-selector-common (0.165.4 Ubuntu:16.04/xenial-updates [all])
[truncated...]

~からman apt-get

   Simulated runs print out a series of lines, each representing a
   dpkg operation: configure (Conf), remove (Remv) or unpack (Inst).
   Square brackets indicate broken packages, and empty square brackets
   indicate breaks that are of no consequence (rare).

Confapt-get dist-upgradeを実行すると、表示されたパッケージは設定スクリプトのみを実行します。Confつまり、と同じですかdpkg-reconfigure?マニュアルページの説明にはInst「圧縮解除」と呼ばれていますが、これはパッケージが解凍された状態でダウンロードされるという意味ですがあまり意味がないようです。

「Inst」と「Conf」とはどういう意味ですか?

ベストアンサー1

dpkg「represented dpkg Operations」のマニュアルページを見てください。

抜粋man dpkg:

インストールする

-i, --install package-file...
      Install the package. If --recursive or -R option is specified, package-file must refer to a directory instead.

      Installation consists of the following steps:

      1. Extract the control files of the new package.

      2. If another version of the same package was installed before the new installation, execute prerm script of the old package.

      3. Run preinst script, if provided by the package.

      4. Unpack the new files, and at the same time back up the old files, so that if something goes wrong, they can be restored.

      5. If another version of the same package was installed before the new installation, execute the postrm script of the old package. Note that
         this script is executed after the preinst script of the new package, because new files are written at the same time old files are removed.

      6. Configure the package. See --configure for detailed information about how this is done.

荷物などから取り出す

--unpack package-file...
       Unpack the package, but don't configure it. If --recursive or -R option is specified, package-file must refer to a directory instead.

構成

--configure package...|-a|--pending
       Configure a package which has been unpacked but not yet configured.  If -a or --pending is given instead of package, all unpacked but uncon‐
       figured packages are configured.

       To reconfigure a package which has already been configured, try the dpkg-reconfigure(8) command instead.

       Configuring consists of the following steps:

       1. Unpack the conffiles, and at the same time back up the old conffiles, so that they can be restored if something goes wrong.

       2. Run postinst script, if provided by the package.

気づくインストールする両方実行荷物などから取り出すそして構成、これが別々にリストされている理由ですapt-get

おすすめ記事