How to Install and Uninstall policy-rcd-declarative Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 15,2024

1. Install "policy-rcd-declarative" package

Please follow the steps below to install policy-rcd-declarative on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install policy-rcd-declarative

2. Uninstall "policy-rcd-declarative" package

Please follow the guidelines below to uninstall policy-rcd-declarative on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove policy-rcd-declarative $ sudo apt autoclean && sudo apt autoremove

3. Information about the policy-rcd-declarative package on Ubuntu 21.10 (Impish Indri)

Package: policy-rcd-declarative
Architecture: all
Version: 0.6
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Wouter Verhelst
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: perl:any, libre-engine-re2-perl, policy-rcd-declarative-allow-all | policy-rcd-default-policy
Filename: pool/universe/p/policy-rcd-declarative/policy-rcd-declarative_0.6_all.deb
Size: 10296
MD5sum: 3a6aa488a5d6d9a332cdb67980e39481
SHA1: 2428bf7f285e4bcf387ad6d17d0233c7972359cf
SHA256: 9ba9f09ab28992568f6d6bd863d5b60388d9f1a0055acf5e102994f8f3475303
SHA512: cd446c4122cb6f21b87b559fd131861678eb0a3353f839704fe7d85094bc60794a48963cb3679a39664ba7aaf3e14d7273a532d4b70f201cdffa8013c584038d
Description-en: policy-rc.d script with declarative syntax
Debian policy states that packages providing system services need to
start those services by default, and that the starting of the service
should be done by way of the /usr/sbin/invoke-rc.d script. This script
will execute a program /usr/sbin/policy-rc.d if it exists, allowing the
local system administrator to override behaviour if wanted by creating
a policy script accordin to the interface specified and installing it
under the correct name. This interface is however somewhat problematic,
as explained in https://bugs.debian.org/911290.
.
This package attempts to provide a solution by shipping a policy-rc.d
script that allows system administrators to define policies in a
declarative way through one or more configuration files, rather than
providing one script that may be overwritten.
Description-md5: b25c273e8e326b7f08c6939761da8e71