diff options
| author | Simon Johnsson <simon.johnsson@canonical.com> | 2026-03-05 08:14:06 +0100 |
|---|---|---|
| committer | Simon Johnsson <simon.johnsson@canonical.com> | 2026-03-05 08:14:06 +0100 |
| commit | 8a0dc4900e487e73a26b4778bcdef5b7b1093a40 (patch) | |
| tree | d6cee8386907e2d5def8bf976f3e588e931d4d8e /doc/apt.conf.5.xml | |
| parent | 140e4e2f84813c85d96488031e6d3e0359f7b6d5 (diff) | |
| parent | 260f39b690cfea12532b988a98320ca99c55f429 (diff) | |
Merge branch 'document-inhibit' into 'main'
Document inhibitors (see Bug#112933)
See merge request apt-team/apt!558
Diffstat (limited to 'doc/apt.conf.5.xml')
| -rw-r--r-- | doc/apt.conf.5.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml index fb7a1b030..261c5e919 100644 --- a/doc/apt.conf.5.xml +++ b/doc/apt.conf.5.xml @@ -942,6 +942,22 @@ APT::Compressor::rev { </variablelist> </refsect1> + <refsect1><title>Systemd inhibitors</title> + <para>APT will communicate with systemd to inhibit conflicting system operations while running &dpkg;, to + avoid systems ending up with partial upgrades and broken packages.</para> + + <variablelist> + <varlistentry><term><option>DPkg::Inhibit-Shutdown</option></term> + <listitem><para>This boolean option, set by default, causes apt to inhbit shutdown</para></listitem> + </varlistentry> + <varlistentry><term><option>DPkg::Inhibit-Sleep</option></term> + <listitem><para>This boolean option, set by default, causes apt to inhbit sleep</para></listitem> + </varlistentry> + </variablelist> + + <para>See <ulink url="https://systemd.io/INHIBITOR_LOCKS/" /> for further information.</para> + </refsect1> + <refsect1> <title>Periodic and Archives options</title> <para><literal>APT::Periodic</literal> and <literal>APT::Archives</literal> |
