Skip to content

Commit

Permalink
xbps-pkgdb.1: Add EXAMPLES section.
Browse files Browse the repository at this point in the history
  • Loading branch information
flexibeast committed Jul 23, 2020
1 parent 44cd938 commit fdfff5d
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion bin/xbps-pkgdb/xbps-pkgdb.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.Dd June 20, 2019
.Dd July 23, 2020
.Dt XBPS-PKGDB 1
.Sh NAME
.Nm xbps-pkgdb
Expand Down Expand Up @@ -121,6 +121,27 @@ Default package database (0.38 format). Keeps track of installed packages and pr
.It Ar /var/cache/xbps
Default cache directory to store downloaded binary packages.
.El
.Sh EXAMPLES
Check for issues with package
.Sq foo :
.Pp
.Dl # xbps-pkgdb foo
.Pp
Check all packages for issues:
.Pp
.Dl # xbps-pkgdb -a
.Pp
Prevent package
.Sq foo
from being updated during a system update:
.Pp
.Dl # xbps-pkgdb -m hold foo
.Pp
Remove hold on package
.Sq foo :
.Pp
.Dl # xbps-pkgdb -m unhold foo
.Pp
.Sh SEE ALSO
.Xr xbps-checkvers 1 ,
.Xr xbps-create 1 ,
Expand Down

0 comments on commit fdfff5d

Please sign in to comment.