Skip to main content

Source code Changes To

pkg-gate / src / man / pkgrepo.1

From revision 2946 to 2948:

diff -r 8f63b36504ca -r 373070ea940e src/man/pkgrepo.1
--- a/src/man/pkgrepo.1	Wed Sep 18 09:25:03 2013 -0700
+++ b/src/man/pkgrepo.1	Tue Sep 17 09:39:41 2013 -0700
@@ -1,18 +1,19 @@
 '\" te
 .\" Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
-.TH pkgrepo 1 "26 Feb 2013" "SunOS 5.12" "User Commands"
+.TH pkgrepo 1 "29 Aug 2013" "SunOS 5.12" "User Commands"
 .SH NAME
 pkgrepo \- Image Packaging System repository management utility
 .SH SYNOPSIS
 .LP
 .nf
-/usr/bin/pkgrepo create [--version \fIver\fR] \fIuri_or_path\fR
+/usr/bin/pkgrepo add-publisher -s \fIrepo_uri_or_path\fR
+    \fIpublisher\fR ...
 .fi
 
 .LP
 .nf
-/usr/bin/pkgrepo add-publisher -s \fIrepo_uri_or_path\fR
-    \fIpublisher\fR ...
+/usr/bin/pkgrepo remove-publisher [-n] [--synchronous]
+    -s \fIrepo_uri_or_path\fR \fIpublisher\fR ...
 .fi
 
 .LP
@@ -190,6 +191,56 @@
 .ne 2
 .mk
 .na
+\fB\fBpkgrepo remove-publisher\fR [\fB-n\fR] [\fB--synchronous\fR] \fB-s\fR \fIrepo_uri_or_path\fR \fIpublisher\fR ...\fR
+.ad
+.sp .6
+.RS 4n
+Remove the specified publishers from the repository. Remove all packages and all other data for the specified publishers.
+.sp
+If the default publisher is removed, and only one publisher remains in the repository, that remaining publisher becomes the default. The \fBpublisher/prefix\fR property of the repository is set to that remaining publisher.
+.sp
+If the default publisher is removed, and multiple publishers remain in the repository, or if the last publisher is removed from the repository, the \fBpublisher/prefix\fR property is unset.
+.sp
+This subcommand can be used only with version 4 file system based repositories.
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-n\fR\fR
+.ad
+.sp .6
+.RS 4n
+Perform a trial run of the operation with no publisher changes made. The number of packages to be removed for each publisher is displayed before exiting.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB-s\fR \fIrepo_uri_or_path\fR\fR
+.ad
+.sp .6
+.RS 4n
+Operate on the repository located at the given URI or file system path.
+.RE
+
+.sp
+.ne 2
+.mk
+.na
+\fB\fB--synchronous\fR\fR
+.ad
+.sp .6
+.RS 4n
+Wait for the operation to complete before returning. If this option is not specified, the command returns immediately while the publisher is removed asynchronously in the background.
+.RE
+
+.RE
+
+.sp
+.ne 2
+.mk
+.na
 \fB\fBpkgrepo get\fR [\fB-F\fR \fIformat\fR] [\fB-H\fR] [\fB-p\fR \fIpublisher\fR]... \fB-s\fR \fIrepo_uri_or_path\fR [\fB--key\fR \fIssl_key\fR \fB--cert\fR \fIssl_cert\fR]... [\fIsection/property\fR ...]\fR
 .ad
 .sp .6
@@ -1084,4 +1135,7 @@
 \fBpkg\fR(1), \fBpkgrecv\fR(1), \fBpkgsend\fR(1), \fBpkg.depotd\fR(1M), \fBpkg\fR(5)
 .sp
 .LP
-\fBhttp://hub.opensolaris.org/bin/view/Project+pkg/\fR
+\fICopying and Creating Package Repositories in Oracle Solaris 11.2\fR
+.sp
+.LP
+\fBhttps://java.net/projects/ips/pages/Home\fR

 
 
Close
loading
Please Confirm
Close