LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pacman-database

operates directly on the package database, allowing modification of package

TLDR

Mark as dependency
$ sudo pacman -D --asdeps package
copy
Mark as explicitly installed
$ sudo pacman -D --asexplicit package
copy
Check dependencies
$ pacman -Dk
copy
Check sync database
$ pacman -Dkk
copy
Check in quiet mode
$ pacman -Dkq
copy

SYNOPSIS

pacman -D [OPTIONS] [PACKAGE...]

DESCRIPTION

pacman -D (database) operates directly on the package database, allowing modification of package attributes without reinstalling. It can change installation reason and verify database integrity.

PARAMETERS

-D, --database

Operate on the package database
--asdeps
Mark packages as installed as dependencies
--asexplicit
Mark packages as explicitly installed
-k, --check
Check local database for consistency
-kk
Also check sync databases
-q, --quiet
Suppress normal output, show only errors

CAVEATS

Marking packages incorrectly can affect orphan detection. Use --asdeps carefully as those packages may be removed when cleaning orphans. Double -k performs a more thorough check including sync databases.

HISTORY

pacman is the package manager for Arch Linux and its derivatives.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid