Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/usr.sbin/pkg_install/delete Pull up revisions 1.21-1.24...
details: https://anonhg.NetBSD.org/src/rev/b3f63cedcd19
branches: netbsd-1-5
changeset: 492837:b3f63cedcd19
user: he <he%NetBSD.org@localhost>
date: Sat Feb 23 18:07:50 2002 +0000
description:
Pull up revisions 1.21-1.24 (requested by seb):
Synchronize with recent developments:
o Various internal cleanups, bugfixes, and API tweaks
diffstat:
usr.sbin/pkg_install/delete/pkg_delete.1 | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diffs (99 lines):
diff -r 1adbb5dd229a -r b3f63cedcd19 usr.sbin/pkg_install/delete/pkg_delete.1
--- a/usr.sbin/pkg_install/delete/pkg_delete.1 Sat Feb 23 18:07:21 2002 +0000
+++ b/usr.sbin/pkg_install/delete/pkg_delete.1 Sat Feb 23 18:07:50 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_delete.1,v 1.14.8.3 2001/05/01 10:55:41 he Exp $
+.\" $NetBSD: pkg_delete.1,v 1.14.8.4 2002/02/23 18:07:50 he Exp $
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" of non-core utilities.
@@ -18,7 +18,7 @@
.\" from FreeBSD: @(#)pkg_delete.1
.\"
.Dd March 8, 1999
-.Dt pkg_delete 1
+.Dt PKG_DELETE 1
.Os
.Sh NAME
.Nm pkg_delete
@@ -37,7 +37,6 @@
with the
.Xr pkg_add 1
command.
-
.Sh WARNING
.Bf -emphasis
Since the
@@ -49,7 +48,7 @@
You are advised to verify the competence and identity of those who
provide installable package files. For extra protection, examine all
the package control files in the package record directory (
-.Pa /var/db/pkg/<pkg-name>/ ) .
+.Pa /var/db/pkg/\*[Lt]pkg-name\*[Gt]/ ) .
Pay particular
attention to any +INSTALL, +DEINSTALL, +REQUIRE or +MTREE_DIRS files,
and inspect the +CONTENTS file for
@@ -64,7 +63,6 @@
.Xr pkg_info 1
command to examine the installed package control files.
.Ef
-
.Sh OPTIONS
The following command line options are supported:
.Bl -tag -width indent
@@ -102,7 +100,7 @@
would be taken if it were.
.It Fl O
Only delete the package's entries from the package database, do not
-touch the package or it's files itself.
+touch the package or its files itself.
.It Fl p Ar prefix
Set
.Ar prefix
@@ -129,11 +127,10 @@
.It Fl v
Turn on verbose output.
.El
-.Pp
.Sh TECHNICAL DETAILS
.Nm
does pretty much what it says. It examines installed package records in
-.Pa /var/db/pkg/<pkg-name> ,
+.Pa /var/db/pkg/\*[Lt]pkg-name\*[Gt] ,
deletes the package contents, and finally removes the package records.
.Pp
If a package is required by other installed packages,
@@ -158,7 +155,7 @@
then this is executed first as
.Bd -filled -offset indent -compact
.Cm require
-.Ar <pkg-name>
+.Ar \*[Lt]pkg-name\*[Gt]
.Ar DEINSTALL
.Ed
(where
@@ -184,13 +181,13 @@
script is called as:
.Bd -filled -offset indent -compact
.Cm deinstall
-.Ar <pkg-name>
+.Ar \*[Lt]pkg-name\*[Gt]
.Ar DEINSTALL
.Ed
before deleting all files and as:
.Bd -filled -offset indent -compact
.Cm deinstall
-.Ar <pkg-name>
+.Ar \*[Lt]pkg-name\*[Gt]
.Ar POST-DEINSTALL
.Ed
after deleting them. Passing the keywords
@@ -211,7 +208,7 @@
option when running
.Nm
or
-.Cm pkg_add .
+.Xr pkg_add 1 .
.Sh SEE ALSO
.Xr pkg_add 1 ,
.Xr pkg_admin 1 ,
Home |
Main Index |
Thread Index |
Old Index