Bug#872587: Document the Protected field
- To: Adam Borowski <kilobyte@angband.pl>
- Cc: Sean Whitton <spwhitton@spwhitton.name>, 872587@bugs.debian.org
- Subject: Bug#872587: Document the Protected field
- From: Russ Allbery <rra@debian.org>
- Date: Mon, 11 Sep 2023 21:27:09 -0700
- Message-id: <[🔎] 87cyyoj9sy.fsf_-_@hope.eyrie.org>
- Reply-to: Russ Allbery <rra@debian.org>, 872587@bugs.debian.org
- In-reply-to: <20170818213645.xcbum6wwz4doql27@angband.pl> (Adam Borowski's message of "Fri, 18 Aug 2017 23:36:45 +0200")
- References: <150308957836.26649.615920951225490275.reportbug@umbar.angband.pl> <87y3qglg5l.fsf@iris.silentflame.com> <150308957836.26649.615920951225490275.reportbug@umbar.angband.pl> <20170818213645.xcbum6wwz4doql27@angband.pl> <150308957836.26649.615920951225490275.reportbug@umbar.angband.pl>
Control: retitle -1 Document the Protected field
Adam Borowski <kilobyte@angband.pl> writes:
> On Fri, Aug 18, 2017 at 02:28:22PM -0700, Sean Whitton wrote:
>> Do you have any idea how long we can expect to wait until dpkg supports
>> the field? I would suggest that we wait until dpkg has defined
>> behaviour for the field, as it will make documenting it much easier.
>> It will also allow us to be more confident that there is no serious
>> disagreement about the purpose of the field.
> Right, let's have dpkg maintainers tell us what they think.
>> I couldn't find a bug against dpkg, but if there is one, it should
>> probably be set to block this bug.
> 872587 < 872589, I filed the Policy one first. Block added.
Per the resolution of #872589, this was implemented as the Protected field
instead. Retitling the bug accordingly.
The documentation from deb-control(5) is:
Protected: yes|no
This field is usually only needed when the answer is yes. It denotes
a package that is required mostly for proper booting of the system or
used for custom system-local meta-packages. dpkg(1) or any other
installation tool will not allow a Protected package to be removed (at
least not without using one of the force options).
It's probably also worth noting the parenthetical comment in the
documentation of Essential:
Essential: yes|no
This field is usually only needed when the answer is yes. It denotes
a package that is required for the packaging system, for proper
operation of the system in general or during boot (although the latter
should be converted to Protected field instead). dpkg(1) or any other
installation tool will not allow an Essential package to be removed
(at least not without using one of the force options).
(And while we're there, we don't document the Build-Essential field
either.)
--
Russ Allbery (rra@debian.org) <https://www.eyrie.org/~eagle/>
Reply to: