Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man1/pkgsurf.1
Real path: /usr/share/man/man1/pkgsurf.1
Zurück
'\" te .\" Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved. .TH pkgsurf 1 "09 Aug 2013" "Oracle Solaris 11.4" "User Commands" .SH NAME pkgsurf \- Image Packaging System repository resurfacing utility .SH SYNOPSIS .LP .nf /usr/bin/pkgsurf -s \fItarget_repo\fR -r \fIreference_repo\fR [-n] [-p \fIpublisher_prefix\fR]... [-i \fIname\fR]... [-c \fIpattern\fR]... .fi .SH DESCRIPTION .sp .LP \fBpkgsurf\fR is a package publication tool for replacing packages in a target repository that have not changed since the latest published version in the reference repository. The result is a new version surface of all packages in the target repository. .sp .LP \fBpkgsurf\fR operations are not reversible. In case the \fBpkgsurf\fR operation must be reverted, you should store the target repository in its own ZFS dataset and take a snapshot of the dataset before you run \fBpkgsurf\fR. .sp .LP Packages in the target repository are compared to packages in the reference repository and analyzed for content changes. For each package, if no content change is found, the package manifest is removed from the target repository and replaced with the manifest of the same package from the reference repository. .sp .LP The target repository must be a file system based repository. For optimal performance, the reference repository should also be a file system based repository. .sp .LP The target repository should contain only one version of each package. If the target repository contains a package that is both newer than the latest version in the reference repository and older than the latest version in the target repository, no package manifest replacement is done for that package. .sp .LP The reference repository can contain one or more versions of each package. However, only the latest version will be used for comparison. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-?\fR\fR .ad .br .na \fB\fB--help\fR\fR .ad .br .sp .6 .RS 4n Display a usage message. .RE .sp .ne 2 .mk .na \fB\fB-c\fR \fIpattern\fR\fR .ad .br .sp .6 .RS 4n Treat every package whose FMRI matches \fIpattern\fR as changed and do not reversion it, even if there is no content change. This option can be specified multiple times. .RE .sp .ne 2 .mk .na \fB\fB-i\fR \fIname\fR\fR .ad .br .sp .6 .RS 4n Ignore \fBset\fR actions with the \fBname\fR field set to \fIname\fR for determination of content change. The package will be reversioned even if this action differs between target and reference versions. This option can be specified multiple times. .RE .sp .ne 2 .mk .na \fB\fB-n\fR\fR .ad .br .sp .6 .RS 4n Perform a trial run of the operation with no changes made to the target repository. .RE .sp .ne 2 .mk .na \fB\fB-p\fR \fIpublisher_prefix\fR\fR .ad .br .sp .6 .RS 4n Specify the name of the publisher to be resurfaced. This option can be specified multiple times. .sp By default, packages from all publishers found in target and reference repositories are resurfaced. .RE .sp .ne 2 .mk .na \fB\fB-r\fR \fIreference_repo\fR\fR .ad .br .sp .6 .RS 4n Specify the URI of the reference repository to be used for manifest comparison. Only the latest version of each package is considered. .RE .sp .ne 2 .mk .na \fB\fB-s\fR \fItarget_repo\fR\fR .ad .br .sp .6 .RS 4n Specify the path to the target repository. Packages in this repository are reversioned to the versions present in the reference repository according to the comparison results. The target repository should contain only one version of each package. The target repository must be a file system based repository. .RE .SH ENVIRONMENT VARIABLES .sp .LP The following environment variable is supported: .sp .ne 2 .mk .na \fB\fBPKG_REPO\fR\fR .ad .RS 12n .rt The absolute path of the target repository. .RE .SH EXAMPLES .LP \fBExample 1\fR Resurface a Repository .sp .LP Reversion each package in the target repository that did not have any content change from the same package in the reference repository. .sp .in +2 .nf $ \fBpkgsurf -s /path/to/target -r http://reference.example.com\fR .fi .in -2 .sp .sp .LP Sample package in the target repository: .sp .in +2 .nf set name=pkg.fmri value=pkg://example.com/foo@2.0:20381001T163427Z dir group=sys mode=0755 owner=root path=usr .fi .in -2 .sp .sp .LP Sample package in the reference repository: .sp .in +2 .nf set name=pkg.fmri value=pkg://example.com/foo@1.0:20381001T163427Z dir group=sys mode=0755 owner=root path=usr .fi .in -2 .sp .sp .LP Sample package in the target repository after the \fBpkgsurf\fR operation: .sp .in +2 .nf set name=pkg.fmri value=pkg://example.com/foo@1.0:20381001T163427Z dir group=sys mode=0755 owner=root path=usr .fi .in -2 .sp .SH EXIT STATUS .sp .LP The following exit values are returned: .sp .ne 2 .mk .na \fB\fB0\fR\fR .ad .RS 6n .rt Command succeeded. .RE .sp .ne 2 .mk .na \fB\fB1\fR\fR .ad .RS 6n .rt An error occurred. .RE .sp .ne 2 .mk .na \fB\fB2\fR\fR .ad .RS 6n .rt Invalid command line options were specified. .RE .sp .ne 2 .mk .na \fB\fB99\fR\fR .ad .RS 6n .rt An unanticipated exception occurred. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Availability \fBpackage/pkg\fR _ Interface Stability Uncommitted .TE .sp .SH SEE ALSO .sp .LP \fBpkgrepo\fR(1), \fBpkg\fR(7) .sp .LP \fICreating Package Repositories in Oracle Solaris 11.4\fR .sp .LP \fBhttps://github.com/oracle/solaris-ips\fR