summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_add.116
-rw-r--r--usr.sbin/pkg_add/pkg_delete.116
2 files changed, 26 insertions, 6 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index 858e7617f9f..4d5e2f152ad 100644
--- a/usr.sbin/pkg_add/pkg_add.1
+++ b/usr.sbin/pkg_add/pkg_add.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_add.1,v 1.115 2013/02/04 12:07:14 espie Exp $
+.\" $OpenBSD: pkg_add.1,v 1.116 2013/04/30 18:33:30 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -15,7 +15,7 @@
.\" Jordan K. Hubbard
.\"
.\"
-.Dd $Mdocdate: February 4 2013 $
+.Dd $Mdocdate: April 30 2013 $
.Dt PKG_ADD 1
.Os
.Sh NAME
@@ -81,6 +81,15 @@ but see
.Xr pkg.conf 5
.Pc .
.Pp
+.Nm
+relies on the file system information being consistent.
+In case of a system crash,
+.Pa /var/db/pkg
+may become corrupted.
+Use
+.Xr pkg_check 8
+to repair things.
+.Pp
If a package is digitally signed:
.Bl -bullet
.It
@@ -744,7 +753,8 @@ Temporary area where package information files will be extracted, instead of
.Xr OpenBSD::Intro 3p ,
.Xr bsd.port.mk 5 ,
.Xr package 5 ,
-.Xr pkg.conf 5
+.Xr pkg.conf 5 ,
+.Xr pkg_check 8
.Sh AUTHORS
.Bl -tag -width indent -compact
.It "Jordan Hubbard"
diff --git a/usr.sbin/pkg_add/pkg_delete.1 b/usr.sbin/pkg_add/pkg_delete.1
index 8200c8b61f3..44b616960bc 100644
--- a/usr.sbin/pkg_add/pkg_delete.1
+++ b/usr.sbin/pkg_add/pkg_delete.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_delete.1,v 1.47 2012/07/06 12:11:51 espie Exp $
+.\" $OpenBSD: pkg_delete.1,v 1.48 2013/04/30 18:33:30 espie Exp $
.\"
.\" Documentation and design originally from FreeBSD. All the code has
.\" been rewritten since. We keep the documentation's notice:
@@ -15,7 +15,7 @@
.\" Jordan K. Hubbard
.\"
.\"
-.Dd $Mdocdate: July 6 2012 $
+.Dd $Mdocdate: April 30 2013 $
.Dt PKG_DELETE 1
.Os
.Sh NAME
@@ -59,6 +59,15 @@ but see
.Pc .
.Pp
.Nm
+relies on the file system information being consistent.
+In case of a system crash,
+.Pa /var/db/pkg
+may become corrupted.
+Use
+.Xr pkg_check 8
+to repair things.
+.Pp
+.Nm
may ask questions in interactive mode, or error out otherwise.
Interactive mode is the default on a tty, see
options
@@ -180,7 +189,8 @@ option is specified.
.Xr pkg_create 1 ,
.Xr pkg_info 1 ,
.Xr pkg.conf 5 ,
-.Xr packages-specs 7
+.Xr packages-specs 7 ,
+.Xr pkg_check 8
.Sh AUTHORS
.Bl -tag -width indent -compact
.It "Jordan Hubbard"