Linux cli command linux-check-removal

➡ A Linux man page (short for manual page) is a form of software documentation found on Linux and Unix-like operating systems. This man-page explains the command linux-check-removal and provides detailed information about the command linux-check-removal, system calls, library functions, and other aspects of the system, including usage, options, and examples of _. You can access this man page by typing man followed by the linux-check-removal.

NAME 🖥️ linux-check-removal 🖥️

check-removal - check whether removal of a kernel is safe

SYNOPSIS

linux-check-removal* VERSION*

DESCRIPTION

linux-check-removal is intended to be called from the prerm maintainer scripts of Linux kernel packages.

The VERSION argument must be the kernel version string as shown by uname -r and used in filenames.

If the currently running kernel matches VERSION, linux-check-removal normally prompts the user to confirm this potentially dangerous action and fails if the user chooses to abort. There are two exceptions to this behaviour:

  • If the current environment is a chroot or container, it is assumed that the running kernel is independent of any installed kernel package and the command always quietly succeeds

  • If debconf prompts are disabled, the command warns if removing the running kernel but always succeeds

ENVIRONMENT VARIABLES

DEBIAN_FRONTEND
Name of the preferred debconf front-end. If set to noninteractive, debconf prompts are disabled and linux-check-removal always quietly succeeds.

DPKG_MAINTSCRIPT_PACKAGE
Name of the package to be removed, automatically set by dpkg.

AUTHOR

linux-check-removal and this manual page were written by Ben Hutchings as part of the Debian linux-base package.

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░