diff options
author | tnn <tnn@pkgsrc.org> | 2008-03-11 01:53:05 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2008-03-11 01:53:05 +0000 |
commit | bcc3a759404ca0bdcc397fb6afbbf9c0f309fc98 (patch) | |
tree | b07a7e6a098881160499194c6c8df6d8899ab570 /pkgtools/pkg_rolling-replace | |
parent | 66f7e8245aba8e7020d5397ed9a278419bfadc78 (diff) | |
download | pkgsrc-bcc3a759404ca0bdcc397fb6afbbf9c0f309fc98.tar.gz |
Add an EXAMPLES section.
Diffstat (limited to 'pkgtools/pkg_rolling-replace')
-rw-r--r-- | pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 index d4d5cdf93de..b2cdab04a08 100644 --- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 +++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.8 @@ -1,5 +1,5 @@ -.\" $NetBSD: pkg_rolling-replace.8,v 1.9 2008/02/17 10:47:47 apb Exp $ -.Dd February 17, 2008 +.\" $NetBSD: pkg_rolling-replace.8,v 1.10 2008/03/11 01:53:05 tnn Exp $ +.Dd March 11, 2008 .Dt PKG_ROLLING-REPLACE 8 .Os .Sh NAME @@ -111,6 +111,23 @@ variables set to Exclude the comma-separated list of package base names from being rebuilt for any reason. .El +.Sh EXAMPLES +.Pp +To update all packages on the system and ensure correct shared library dependencies: +.Bd -literal -offset indent +pkg_rolling-replace -rsuv +.Ed +.Pp +To update all packages on the system, do as little rebuilding as possible, and also produce binary packages: +.Bd -literal -offset indent +pkg_rolling-replace -uv +.Ed +.Pp +To update gtk2+ and all packages that depend on it, except openoffice2: +.Bd -literal -offset indent +pkg_admin set rebuild=YES gtk2+ +pkg_rolling-replace -rsv -X openoffice2 +.Ed .Sh ENVIRONMENT .Nm uses the following environment variables. |