dpkg --configure 的使用

測試環境

以下測試是在「Xubuntu 14.04 64位元」。

使用範例

「dpkg --configure」的使用範例,請參考『關於「dpkg --unpack」和「dpkg --configure」』這篇。

手冊說明

$ man dpkg

可以看到一段說明

ACTIONS

  ...略...

       --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 unconfigured 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.