Dry run with pacman package manager
Source
: https://wiki.archlinux.org/title/Pacman
pacman
: Package manager for Arch Linux
-p
flag can be used with pacman to dry run commands — that is, see what your command is going to do before it actually does anything.
Might not work with certain flag combinations like -n
, and it will simply throw an error.
Optional explanation with simple examples.
pacman -Rs
: To remove a package and its dependencies which are not required by any other installed package.
-
Normal Behavior
-
-p works and shows in a list format the final packages which will be removed
-
-p doesn’t work when used with -n flag
Source (my blog): https://insanelogs.xyz/posts/micro-logs-1-dry-run-with-pacman-package-manager/
Top comments (0)