From fdfff5dcdc251016c0977c3b890b5803f3a819d2 Mon Sep 17 00:00:00 2001 From: Alexis Date: Thu, 23 Jul 2020 13:06:25 +1000 Subject: [PATCH] xbps-pkgdb.1: Add EXAMPLES section. --- bin/xbps-pkgdb/xbps-pkgdb.1 | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/bin/xbps-pkgdb/xbps-pkgdb.1 b/bin/xbps-pkgdb/xbps-pkgdb.1 index bab7ca053..1240fce9b 100644 --- a/bin/xbps-pkgdb/xbps-pkgdb.1 +++ b/bin/xbps-pkgdb/xbps-pkgdb.1 @@ -1,4 +1,4 @@ -.Dd June 20, 2019 +.Dd July 23, 2020 .Dt XBPS-PKGDB 1 .Sh NAME .Nm xbps-pkgdb @@ -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 ,