From 5138b9ba19c2d87fba48d469a1f4ed75b69c3f92 Mon Sep 17 00:00:00 2001 From: You Gao Date: Thu, 26 Dec 2024 13:20:44 -0500 Subject: [PATCH] pacman-d: add alias page; pacman-database: update page (#15177) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/linux/pacman-d.md | 7 +++++++ pages/linux/pacman-database.md | 18 +++++++++--------- 2 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 pages/linux/pacman-d.md diff --git a/pages/linux/pacman-d.md b/pages/linux/pacman-d.md new file mode 100644 index 0000000000..fceb5caed6 --- /dev/null +++ b/pages/linux/pacman-d.md @@ -0,0 +1,7 @@ +# pacman -D + +> This command is an alias of `pacman --database`. + +- View documentation for the original command: + +`tldr pacman database` diff --git a/pages/linux/pacman-database.md b/pages/linux/pacman-database.md index 59ef01c0b4..6cb0fb422d 100644 --- a/pages/linux/pacman-database.md +++ b/pages/linux/pacman-database.md @@ -7,24 +7,24 @@ - Mark a package as implicitly installed: -`sudo pacman --database --asdeps {{package}}` +`sudo pacman -D --asdeps {{package}}` - Mark a package as explicitly installed: -`sudo pacman --database --asexplicit {{package}}` +`sudo pacman -D --asexplicit {{package}}` -- Check that all the package dependencies are installed: +- Chec[k] that all the package dependencies are installed: -`pacman --database --check` +`pacman -Dk` -- Check the repositories to ensure all specified dependencies are available: +- Chec[k] the sync [D]atabase to ensure all specified dependencies of downloadable packages are available: -`pacman --database --check --check` +`pacman -Dkk` -- Display only error messages: +- Chec[k] and display in [q]uiet mode (only error messages are displayed): -`pacman --database --check --quiet` +`pacman -Dkq` - Display help: -`pacman --database --help` +`pacman -D --help`