Feature request: The command should work like this
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-purge |
Fix Released
|
Undecided
|
Jarno Suni |
Bug Description
Bash completions and manual page should be implemented.
Usage (using short options):
linux-purge [-bcnosy] [{-k NUM [-a]} | -m] [-i APP]
linux-purge -f [-sn] [-i APP]
linux-purge {-h | -v}
Purge versioned kernel packages according to user's orders. Purging is
not restricted to linux-image packages, but all versioned linux-*
packages matching desired releases. Also purges such versioned
kernel packages that have the respective linux-image package missing
or marked for removal or purge, and packages that have just
configuration files remaining. Does not purge such versioned kernel
packages that have respective successfully installed linux-image
package marked with "hold" unless chosen interactively with -c option.
If usual purging fails, using -f option may help.
Options:
-a, --auto-only Only purge kernels that have been marked as being
-b, --clear-boot
-c, --choose Choose interactively which kernels to purge. Other
-f, --fix Use this, if the program fails otherwise. Try to fix
-h, --help Display this help and exit.
-i APP, -iAPP, --interface APP, --interface=APP
-k NUM, -kNUM, --keep NUM, --keep=NUM
-m, --manual Purge kernels that have been marked as being
-n, --no-legend Do not display legend in checklist used by -c and -f.
-o, --optimize Run update-grub only once in normal operation.
-s, --simulate Dry-run; do not actually remove packages. You may
-v, --version Print version.
-y, --yes Purge without user confirmation.
Exit Status:
0: Command finished successfully.
1: Command-line is invalid.
2: Command was run with wrong privileges.
other integer: Command failed for some other reason.
description: | updated |
Changed in linux-purge: | |
status: | New → Fix Committed |
Changed in linux-purge: | |
status: | Fix Committed → Fix Released |
A demonstration of the command with slightly different usage due to earlier stage of development: /youtu. be/TpsZoAnOVTU
https:/