mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
Document database checking options
The required adding a Database Option section to the pacman man page and adding more complete documentation for --asdeps and --asexplicit as well. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
e8a3e3d81a
commit
aa4c61f999
@ -35,10 +35,10 @@ as an argument, targets will be read from stdin.
|
|||||||
Operations
|
Operations
|
||||||
----------
|
----------
|
||||||
*-D, \--database*::
|
*-D, \--database*::
|
||||||
Modify the package database. This operation allows you to modify certain
|
Operate on the package database. This operation allows you to modify
|
||||||
attributes of the installed packages in pacman's database. At the
|
certain attributes of the installed packages in pacman's database. It
|
||||||
moment, you can only change the install reason using '\--asdeps' and
|
also allows you to check the databases for internal consistency.
|
||||||
'\--asexplicit' options.
|
See <<DO,Database Options>> below.
|
||||||
|
|
||||||
*-Q, \--query*::
|
*-Q, \--query*::
|
||||||
Query the package database. This operation allows you to view installed
|
Query the package database. This operation allows you to view installed
|
||||||
@ -431,6 +431,27 @@ system upgrade and install/upgrade the "foo" package in the same operation.
|
|||||||
to-date.
|
to-date.
|
||||||
|
|
||||||
|
|
||||||
|
Database Options[[QO]]
|
||||||
|
----------------------
|
||||||
|
*\--asdeps* <package>::
|
||||||
|
Mark a package as non-explicitly installed; in other words, set their install
|
||||||
|
reason to be installed as a dependency.
|
||||||
|
|
||||||
|
*\--asexplicit<package>*::
|
||||||
|
Mark a package as explicitly installed; in other words, set their install
|
||||||
|
reason to be explicitly installed. This is useful it you want to keep a
|
||||||
|
package installed even when it was initially installed as a dependency
|
||||||
|
of another package.
|
||||||
|
|
||||||
|
*-k \--check*::
|
||||||
|
Check the local package database is internally consistent. This will
|
||||||
|
check all required files are present and that installed packages have
|
||||||
|
the required dependencies, do not conflict and that multiple packages
|
||||||
|
do not own the same file. Specifying this option twice will perform
|
||||||
|
a check on the sync databases to ensure all specified dependencies
|
||||||
|
are available.
|
||||||
|
|
||||||
|
|
||||||
Handling Config Files[[HCF]]
|
Handling Config Files[[HCF]]
|
||||||
----------------------------
|
----------------------------
|
||||||
Pacman uses the same logic as 'rpm' to determine action against files that are
|
Pacman uses the same logic as 'rpm' to determine action against files that are
|
||||||
|
Loading…
Reference in New Issue
Block a user