summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-02-24 22:06:21 +0000
committerwiz <wiz@pkgsrc.org>2010-02-24 22:06:21 +0000
commitbd6291ee70b291d7a449d4db656a1927a0afcbff (patch)
treed52b09326675d5e47d39e569d082457746e59efb /pkgtools/pkg_install
parentbab233057414367dd444909c8beee02770259ae0 (diff)
downloadpkgsrc-bd6291ee70b291d7a449d4db656a1927a0afcbff.tar.gz
Refer to pkg_admin from -f flag.
Make chroot reference an Xr. Downcase Package Database. Suggested by Slader_LB.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/delete/pkg_delete.114
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgtools/pkg_install/files/delete/pkg_delete.1 b/pkgtools/pkg_install/files/delete/pkg_delete.1
index 282cadb9d23..a8836d83358 100644
--- a/pkgtools/pkg_install/files/delete/pkg_delete.1
+++ b/pkgtools/pkg_install/files/delete/pkg_delete.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_delete.1,v 1.28 2010/02/24 21:13:23 wiz Exp $
+.\" $NetBSD: pkg_delete.1,v 1.29 2010/02/24 22:06:21 wiz Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -97,7 +97,7 @@ will be removed.
If the
.Fl F
flag is given, one or more (absolute) filenames may be specified and
-the Package Database will be consulted for the package to which the
+the package database will be consulted for the package to which the
given file belongs.
These packages are then deinstalled.
.It Fl A
@@ -112,13 +112,16 @@ If a deinstallation script exists for a given package, do not execute it.
Any
.Ar pkg-name
given will be interpreted as pathname which is
-subsequently transformed in a (real) package name via the Package
-Database.
+subsequently transformed in a (real) package name via the package
+database.
That way, packages can be deleted by giving a filename
instead of the package-name.
.It Fl f
Force removal of the package, even if a dependency is recorded or the
deinstall script fails.
+This might break the package database; see also
+.Xr pkg_admin 1
+on how to repair it.
.It Fl ff
Force removal of the package, even if the package is marked as a
.Cm preserved
@@ -151,7 +154,8 @@ touch the package or its files itself.
Prefix all file and directory names with
.Ar destdir .
For packages without install scripts this has the same behavior as
-using chroot.
+using
+.Xr chroot 8 .
.It Fl p Ar prefix
Set
.Ar prefix