summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-08-16 10:01:17 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-08-16 10:01:17 +0000
commitc2c80dcbc826340c574e0bf14dfb61987350da2c (patch)
tree22b5f61d6519af788b700d43643240c8788497d6 /usr.sbin
parentc643329df6db52855697ef71627b0c608986ee68 (diff)
be more specific about `every precaution' in pkg_add, so that people won't
be scared about -F update. Document the nasty issues I've encountered with FTP.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_add.129
1 files changed, 28 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_add.1 b/usr.sbin/pkg_add/pkg_add.1
index 23d74c34589..f09286fc872 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.39 2005/08/13 06:41:55 jmc Exp $
+.\" $OpenBSD: pkg_add.1,v 1.40 2005/08/16 10:01:16 espie Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -215,6 +215,23 @@ Allow replacing existing packages.
The code will try to take every precaution to make sure the update can
proceed before removing the old package and adding the new one, and it
should also handle shared libraries correctly.
+Among other things,
+.Nm
+will refuse to update packages as soon as it needs to run scripts that
+might fail
+.Po
+use
+.Fl F Ar update
+to force the update
+.Pc ;
+.Nm
+will also refuse to update packages when the dependencies don't quite
+match
+.Po
+use
+.Fl F Ar updatedepends
+to force the update
+.Pc .
.It Fl v
Turn on verbose output.
Several
@@ -452,3 +469,13 @@ processes do not die like they should when their pipe is closed,
so using
.Nm
over SCP consumes an insane amount of resources.
+.Pp
+Using
+.Nm
+over FTP requires that the distant host supports
+.Cm ABORT
+commands, otherwise it may hang for long periods.
+.Xr ftp-proxy 8
+currently does not forward
+.Cm ABORT
+requests correctly.