author | Brock Pytlik <bpytlik@sun.com> |
Mon, 16 Aug 2010 16:48:50 -0700 | |
changeset 2026 | d1b30615bc99 |
parent 2021 | 267b01eedee0 |
child 2034 | d5ee7746faeb |
permissions | -rw-r--r-- |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1 |
User Commands pkg(1) |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
2 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
3 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
4 |
NAME |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
5 |
pkg - image packaging retrieval client |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
6 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
7 |
SYNOPSIS |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
8 |
/usr/bin/pkg [options] command [cmd_options] [operands] |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
9 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
10 |
/usr/bin/pkg install [-nvq] [--accept] [--licenses] [--no-index] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
11 |
[--no-refresh] pkg_fmri_pattern ... |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
12 |
/usr/bin/pkg uninstall [-nrvq] [--no-index] pkg_fmri_pattern ... |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
13 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
14 |
/usr/bin/pkg image-update [-fnvq] [--accept] [--be-name name] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
15 |
[--licenses] [--no-index] [--no-refresh] |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
16 |
|
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
17 |
/usr/bin/pkg refresh [--full] [publisher ...] |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
18 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
19 |
/usr/bin/pkg contents [-Hmr] [-a attribute=pattern ...] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
20 |
[-o attribute ...] [-s sort_key] [-t action_type ...] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
21 |
[pkg_fmri_pattern ...] |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
22 |
/usr/bin/pkg info [-lr] [--license] [pkg_fmri_pattern ...] |
1537 | 23 |
/usr/bin/pkg list [-Hafnsuv] [--no-refresh] [pkg_fmri_pattern ...] |
1843
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
24 |
/usr/bin/pkg search [-HIaflpr] [-o attribute ...] [-s repo_uri] |
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
25 |
query |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
26 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
27 |
/usr/bin/pkg verify [-Hqv] [pkg_fmri_pattern ...] |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
28 |
/usr/bin/pkg fix [--accept] [--licenses] [pkg_fmri_pattern ...] |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
29 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
30 |
/usr/bin/pkg image-create [-FPUfz] [--force] |
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
31 |
[--full|--partial|--user] [--zone] [-k ssl_key] [-c ssl_cert] |
1736
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
32 |
[--no-refresh] [--variant <variant_spec>=<instance> ...] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
33 |
[-g uri|--origin=uri ...] [-m uri|--mirror=uri ...] |
1736
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
34 |
[--facet <facet_spec>=[True|False] ...] |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
35 |
(-p|--publisher) [<name>=]<repo_uri> dir |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
36 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
37 |
/usr/bin/pkg variant [-H] [<variant_spec>] |
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
38 |
/usr/bin/pkg change-variant [-nvq] [--accept] [--be-name name] |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
39 |
[--licenses] <variant_spec>=<instance> ... |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
40 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
41 |
/usr/bin/pkg facet [-H] [<facet_spec>] |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
42 |
/usr/bin/pkg change-facet [-nvq] [--accept] [--be-name name] |
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
43 |
[--licenses] <facet_spec>=[True|False|None] ... |
1271
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
44 |
|
551 | 45 |
/usr/bin/pkg set-property propname propvalue |
2026
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
46 |
/usr/bin/pkg add-property-value propname propvalue |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
47 |
/usr/bin/pkg remove-property-value propname propvalue |
551 | 48 |
/usr/bin/pkg unset-property propname ... |
49 |
/usr/bin/pkg property [-H] [propname ...] |
|
50 |
||
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
51 |
/usr/bin/pkg set-publisher [-Ped] [-k ssl_key] [-c ssl_cert] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
52 |
[-g origin_to_add|--add-origin=origin_to_add ...] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
53 |
[-G origin_to_remove|--remove-origin=origin_to_remove ...] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
54 |
[-m mirror_to_add|--add-mirror=mirror_to_add ...] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
55 |
[-M mirror_to_remove|--remove-mirror=mirror_to_remove ...] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
56 |
[-p repo_uri] [--enable] [--disable] [--no-refresh] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
57 |
[--reset-uuid] [--non-sticky] [--sticky] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
58 |
[--search-after=publisher] [--search-before=publisher] |
2026
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
59 |
[--approve-ca-cert=path_to_CA] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
60 |
[--revoke-ca-cert=hash_of_CA_to_remove] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
61 |
[--unset-ca-cert=hash_of_CA_to_remove] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
62 |
[--set-property name_of_property=value] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
63 |
[--add-property-value name_of_property=value_to_add] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
64 |
[--remove-property-value name_of_property=value_to_remove] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
65 |
[--unset-property name_of_property_to_delete] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
66 |
[publisher] |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
67 |
/usr/bin/pkg unset-publisher publisher ... |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
68 |
/usr/bin/pkg publisher [-HPn] [publisher ...] |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
69 |
|
1889
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
70 |
/usr/bin/pkg history [-Hl] [-n number] |
539
7486304966c5
1449 pkg requires operational history
Shawn Walker <shawn.walker@sun.com>
parents:
537
diff
changeset
|
71 |
/usr/bin/pkg purge-history |
7486304966c5
1449 pkg requires operational history
Shawn Walker <shawn.walker@sun.com>
parents:
537
diff
changeset
|
72 |
|
429
6c9cbb6e6600
983 pkg search returns just one action per package/token-type combo
Brock Pytlik <bpytlik@sun.com>
parents:
410
diff
changeset
|
73 |
/usr/bin/pkg rebuild-index |
6c9cbb6e6600
983 pkg search returns just one action per package/token-type combo
Brock Pytlik <bpytlik@sun.com>
parents:
410
diff
changeset
|
74 |
|
362
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
75 |
/usr/bin/pkg version |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
76 |
/usr/bin/pkg help |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
77 |
|
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
78 |
DESCRIPTION |
1157
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
79 |
pkg is the retrieval client for the image packaging system. With |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
80 |
a valid configuration, pkg can be invoked to create locations for |
444
8a8fa9e43301
734 pkgsend.txt.1 does not describe -en in open command
Stephen Hahn <sch@Sun.COM>
parents:
443
diff
changeset
|
81 |
packages to be installed, called 'images', and install packages |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
82 |
into those images. Packages are published by publishers, who may |
444
8a8fa9e43301
734 pkgsend.txt.1 does not describe -en in open command
Stephen Hahn <sch@Sun.COM>
parents:
443
diff
changeset
|
83 |
make their packages available at one or more repositories. pkg, |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
84 |
then, retrieves packages from a publisher's repository and |
444
8a8fa9e43301
734 pkgsend.txt.1 does not describe -en in open command
Stephen Hahn <sch@Sun.COM>
parents:
443
diff
changeset
|
85 |
installs them into an image. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
86 |
|
1157
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
87 |
A publisher is a forward domain name that can be used to identify a |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
88 |
person, group of persons, or an organization as the source of one or |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
89 |
more packages. The name of a publisher does not have to be contained |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
90 |
within the URIs that identify the locations of publisher repositories. |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
91 |
For example, the name of a publisher might be "example.com", but its |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
92 |
repositories may be hosted at "example.org" or "example.net". |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
93 |
|
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
94 |
A repository is a location where clients can publish and retrieve |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
95 |
package content (files contained within the package such as programs, |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
96 |
documents, etc.) and metadata (information about the package such as |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
97 |
its name, description, etc.). As an example, a publisher named |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
98 |
"example.org" may have their repository located at the URI |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
99 |
"http://example.org/repository". |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
100 |
|
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
101 |
pkg can also uninstall packages, refresh publisher metadata (such as |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
102 |
catalogs), validate package installation in an image, and query the |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
103 |
image for various tokens. These queries can also be made of pkg(5) |
444
8a8fa9e43301
734 pkgsend.txt.1 does not describe -en in open command
Stephen Hahn <sch@Sun.COM>
parents:
443
diff
changeset
|
104 |
repositories. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
105 |
|
1157
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
106 |
Images can be of three types: full images, capable of providing a |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
107 |
complete system; partial images, which are linked to a full image |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
108 |
(parent image), but do not provide a complete system on their own; |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
109 |
and user images, which contain only relocatable packages. (See |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
110 |
NOTES on user images.) |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
111 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
112 |
pkg(1) attempts to determine, based on its working directory, in |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
113 |
what image it has been invoked. If no image metadata can be found |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
114 |
in the parent directories, the invocation will fail. |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
115 |
|
362
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
116 |
OPTIONS |
934
f36f3c3d9666
7277 client should use --help and -? options to show usage information
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
926
diff
changeset
|
117 |
The following options are supported: |
362
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
118 |
|
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
119 |
-R dir |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
120 |
Operate on the image rooted at dir, rather than the one discovered |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
121 |
automatically. |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
122 |
|
934
f36f3c3d9666
7277 client should use --help and -? options to show usage information
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
926
diff
changeset
|
123 |
--help or -? |
f36f3c3d9666
7277 client should use --help and -? options to show usage information
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
926
diff
changeset
|
124 |
Displays a usage message. |
f36f3c3d9666
7277 client should use --help and -? options to show usage information
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
926
diff
changeset
|
125 |
|
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
126 |
SUBCOMMANDS |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
127 |
The following subcommands are supported: |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
128 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
129 |
image-create [-FPUfz] [--force] [--full|--partial|--user] [--zone] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
130 |
[-k ssl_key] [-c ssl_cert] [--no-refresh] |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
131 |
[--variant <variant_spec>=<instance> ...] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
132 |
[-g uri|--origin=uri ...] [-m uri|--mirror=uri ...] |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
133 |
[--facet <facet_spec>=[True|False] ...] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
134 |
(-p|--publisher) [<name>=]<repo_uri> dir |
324
182a7f886f0e
1126 pkg(1) and usage: should be in sync
Danek Duvall <danek.duvall@sun.com>
parents:
323
diff
changeset
|
135 |
Create, at location given by dir, an image suitable for package |
182a7f886f0e
1126 pkg(1) and usage: should be in sync
Danek Duvall <danek.duvall@sun.com>
parents:
323
diff
changeset
|
136 |
operations. The default image type is user, as given by the -U |
182a7f886f0e
1126 pkg(1) and usage: should be in sync
Danek Duvall <danek.duvall@sun.com>
parents:
323
diff
changeset
|
137 |
(--user) option. The image type may be set to a full image (-F |
182a7f886f0e
1126 pkg(1) and usage: should be in sync
Danek Duvall <danek.duvall@sun.com>
parents:
323
diff
changeset
|
138 |
or --full) or to a partial image (-P or --partial) linked to the |
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
139 |
full image enclosing the given dir path. Additional origins can |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
140 |
be specified using -g or --origin, while additional mirrors can |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
141 |
be specified using -m or --mirror. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
142 |
|
1736
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
143 |
A package repository URI must be provided using the -p or |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
144 |
--publisher option. If a publisher name is also provided, then |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
145 |
only that publisher will be added when the image is created. If |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
146 |
a publisher name is not provided, then all publishers known by the |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
147 |
specified repository will be added to the image. An attempt to |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
148 |
retrieve the catalog associated with this publisher will be made |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
149 |
following the initial creation operations. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
150 |
|
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
151 |
For publishers using client SSL authentication, a client key and |
1736
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
152 |
client certificate may be registered via the -c and -k options, |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
153 |
and will be used for all publishers added during image creation. |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
154 |
|
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
155 |
If the image is to be run within nonglobal zone context, then |
324
182a7f886f0e
1126 pkg(1) and usage: should be in sync
Danek Duvall <danek.duvall@sun.com>
parents:
323
diff
changeset
|
156 |
the -z (--zone) option can be used to set an appropriate filter. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
157 |
|
582
303fa3b78f93
3588 Ensure that users don't image-create over top of an image
Brad Hall <bhall@eng.sun.com>
parents:
575
diff
changeset
|
158 |
With -f (--force), force the creation of an image over an existing |
303fa3b78f93
3588 Ensure that users don't image-create over top of an image
Brad Hall <bhall@eng.sun.com>
parents:
575
diff
changeset
|
159 |
image. This option should be used with care. |
537
3dc9fc9b5fee
1540 changes to authorities should include refresh
Brock Pytlik <bpytlik@sun.com>
parents:
499
diff
changeset
|
160 |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
161 |
With --no-refresh, do not attempt to contact the repositories for |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
162 |
the image's publishers to retrieve publisher metadata (e.g. |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
163 |
catalogs). |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
164 |
|
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
165 |
With --variant, set the specified variant to the indicated value. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
166 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
167 |
With --facet, set the specified facet to the indicated value. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
168 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
169 |
image-update [-fnvq] [--accept] [--be-name name] [--licenses] |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
170 |
[--no-index] [--no-refresh] |
172 | 171 |
Update all installed packages in the current image to the |
936
649787977ed3
2283 pkg unset-authority fails unless all specified authorities are valid
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
934
diff
changeset
|
172 |
latest available version. |
884
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
173 |
|
936
649787977ed3
2283 pkg unset-authority fails unless all specified authorities are valid
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
934
diff
changeset
|
174 |
With the -f option, skip safety checks. |
884
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
175 |
|
936
649787977ed3
2283 pkg unset-authority fails unless all specified authorities are valid
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
934
diff
changeset
|
176 |
With the -n option, execute the requested operation but make no |
884
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
177 |
persistent changes to the image. |
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
178 |
|
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
179 |
With the -v option, issue verbose progress messages during the |
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
180 |
requested operation. With the -q option, be completely silent. |
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
181 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
182 |
With --accept, you indicate that you agree to and accept the |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
183 |
terms of the licenses of the packages that are updated or |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
184 |
installed. If you do not provide this option, and any package |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
185 |
licenses require acceptance, the operation will fail. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
186 |
|
884
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
187 |
With --be-name, rename the newly created boot environment to be the |
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
188 |
argument given. This option is only valid if a new boot environment |
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
189 |
is created during image update. See also beadm(1m). |
d780afc023ff
3718 plan_update_all needs to have an optional argument for the new BE name
Brock Pytlik <bpytlik@sun.com>
parents:
792
diff
changeset
|
190 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
191 |
With --licenses, display all of the licenses for the packages that |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
192 |
will be installed or updated as part of this operation. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
193 |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
194 |
With --no-index, do not update the search indices after the operation |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
195 |
has completed successfully. |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
196 |
|
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
197 |
With --no-refresh, do not attempt to contact the repositories for |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
198 |
the image's publishers to retrieve publisher metadata (e.g. |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
199 |
catalogs). |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
200 |
|
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
201 |
refresh [--full] [publisher ...] |
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
202 |
Retrieve updates to the metadata (e.g. catalogs) for each publisher |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
203 |
specified. When given no arguments, retrieves updates for each |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
204 |
publisher registered within the image. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
205 |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
206 |
With --full, retrieve all publisher metadata instead of attempting an |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
207 |
incremental update. |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
208 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
209 |
install [-nvq] [--accept] [--licenses] [--no-index] [--no-refresh] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
210 |
pkg_fmri_pattern ... |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
211 |
uninstall [-nrvq] [--no-index] pkg_fmri_pattern ... |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
212 |
Install or remove the package specified by pkg_fmri_pattern or |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
213 |
matching it as a substring. With the -n option, execute the |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
214 |
requested operation but make no persistent changes to the |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
215 |
image. With the -v option, issue verbose progress messages |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
216 |
during the requested operation. With the -q option, issue |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
217 |
no progress messages during the requested operation. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
218 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
219 |
In the case of uninstall, the -r option will recursively |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
220 |
uninstall any packages that contain 'require' dependencies on |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
221 |
the initial package. (Packages containing 'optional' or |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
222 |
'incorporate' dependencies are not included in the removal.) |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
223 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
224 |
With --accept, you indicate that you agree to and accept the |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
225 |
terms of the licenses of the packages that are updated or |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
226 |
installed. If you do not provide this option, and any package |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
227 |
licenses require acceptance, the operation will fail. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
228 |
|
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
229 |
With --licenses, display all of the licenses for the packages that |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
230 |
will be installed or updated as part of this operation. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
231 |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
232 |
With --no-index, do not update the search indices after the operation |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
233 |
has completed successfully. |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
234 |
|
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
235 |
With --no-refresh, do not attempt to contact the repositories for |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
236 |
the image's publishers to retrieve publisher metadata (e.g. |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
237 |
catalogs). |
537
3dc9fc9b5fee
1540 changes to authorities should include refresh
Brock Pytlik <bpytlik@sun.com>
parents:
499
diff
changeset
|
238 |
|
620
9e0f5eeaf2e0
4198 pkg info -v shouldn't exist
Brock Pytlik <bpytlik@sun.com>
parents:
615
diff
changeset
|
239 |
info [-lr] [--license] [pkg_fmri_pattern ...] |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
240 |
Display information about packages in a human-readable form. |
301
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
241 |
Multiple FMRI patterns may be specified; with no patterns, |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
242 |
display information on all installed packages in the image. |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
243 |
|
342
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
244 |
With -l, use the data available from locally installed packages. |
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
245 |
This is the default. |
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
246 |
|
1084
d881f748c3ba
8388 manpages should refer to "repository" instead of "server" for clarity
Shawn Walker <srw@sun.com>
parents:
996
diff
changeset
|
247 |
With -r, retrieve the data from the repositories of the image's |
d881f748c3ba
8388 manpages should refer to "repository" instead of "server" for clarity
Shawn Walker <srw@sun.com>
parents:
996
diff
changeset
|
248 |
configured publishers. Note that you must specify one or more |
d881f748c3ba
8388 manpages should refer to "repository" instead of "server" for clarity
Shawn Walker <srw@sun.com>
parents:
996
diff
changeset
|
249 |
package patterns in this case. |
342
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
250 |
|
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
251 |
With --license, print out the license text(s) for the package. |
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
252 |
This may be combined with -l or -r. |
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
253 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
254 |
contents [-Hmr] [-a attribute=pattern ...] [-o attribute ...] |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
255 |
[-s sort_key] [-t action_type ...] [pkg_fmri_pattern ...] |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
256 |
Display the contents (action attributes) of packages in the |
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
257 |
current image. By default, only the path attribute is displayed, |
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
258 |
but the attribute set may be determined with the -o option. The |
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
259 |
-o option may be specified multiple times, or multiple attributes |
323
3e002ce10844
1102 man page for pkg contents: [-aH] in synopsis and [-Hm] in Description
Danek Duvall <danek.duvall@sun.com>
parents:
318
diff
changeset
|
260 |
may be specified as the argument to one -o option by separating |
3e002ce10844
1102 man page for pkg contents: [-aH] in synopsis and [-Hm] in Description
Danek Duvall <danek.duvall@sun.com>
parents:
318
diff
changeset
|
261 |
the attribute names with commas. Only actions which have the |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
262 |
requested attributes will be displayed. The -m option may |
444
8a8fa9e43301
734 pkgsend.txt.1 does not describe -en in open command
Stephen Hahn <sch@Sun.COM>
parents:
443
diff
changeset
|
263 |
also be used, as a shorthand for '-Ho action.raw'. |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
264 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
265 |
The -a option allows you to limit the output to those actions |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
266 |
which have an attribute named in the option argument the value of |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
267 |
which matches the (glob) pattern in the option argument |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
268 |
(following the attribute name with an equals sign). If multiple |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
269 |
-a options are given, then actions matching any of them will be |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
270 |
displayed. |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
271 |
|
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
272 |
The -s option specifies the attribute by which the listing should |
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
273 |
be sorted. |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
274 |
|
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
275 |
The -t option limits the action types which will be displayed. |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
276 |
|
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
277 |
The -H option causes the headers to be omitted. |
221
e1dbb27a23b5
52 catalog can leave inventory behind, making pkg(1) blind
Stephen Hahn <sch@Sun.COM>
parents:
204
diff
changeset
|
278 |
|
1084
d881f748c3ba
8388 manpages should refer to "repository" instead of "server" for clarity
Shawn Walker <srw@sun.com>
parents:
996
diff
changeset
|
279 |
The -r option retrieves the requested data from the repositories |
d881f748c3ba
8388 manpages should refer to "repository" instead of "server" for clarity
Shawn Walker <srw@sun.com>
parents:
996
diff
changeset
|
280 |
of the image's configured publishers. This option is intended |
d881f748c3ba
8388 manpages should refer to "repository" instead of "server" for clarity
Shawn Walker <srw@sun.com>
parents:
996
diff
changeset
|
281 |
to be used when the named packages are not already installed. |
342
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
282 |
|
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
283 |
With no arguments, the output includes all installed packages. |
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
284 |
Alternatively, multiple FMRI patterns may be specified, which |
342
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
285 |
restricts the display to the contents of the matching packages. |
5e1f4d8429bf
669 Need method to print package licenses before installation
Danek Duvall <danek.duvall@sun.com>
parents:
324
diff
changeset
|
286 |
When using -r, one or more pkg_fmri_patterns must be specified. |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
287 |
|
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
288 |
Several special "pseudo" attribute names are available for |
301
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
289 |
convenience: |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
290 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
291 |
action.hash Corresponds to the value of the action's |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
292 |
hash, if the action carries a payload. |
301
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
293 |
|
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
294 |
action.key Corresponds to the value of the action's |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
295 |
key attribute. For example, for a file |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
296 |
action, this is the path to the file. |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
297 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
298 |
action.name Corresponds to the name of the action. |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
299 |
For example, for a file action, this is |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
300 |
"file" |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
301 |
|
301
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
302 |
action.raw Corresponds to the complete contents of |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
303 |
the action as represented in the package |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
304 |
manifest. This corresponds to the |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
305 |
lines of output of 'pkg contents -m' |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
306 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
307 |
pkg.fmri Corresponds to the full form FMRI of the |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
308 |
package containing the action, such as |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
309 |
pkg://extra/[email protected],5.11-0.101:20090702T175410Z |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
310 |
|
301
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
311 |
pkg.name Corresponds to the name of the package |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
312 |
containing the action, such as "SUNWcs" |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
313 |
|
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
314 |
pkg.publisher Corresponds to the publisher of the |
301
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
315 |
the package containing the action, such |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
316 |
as "opensolaris.org" |
35f03c7a3adc
Rework status,list,info subcommands -> list,contents,info
Dan Price <dp@eng.sun.com>
parents:
285
diff
changeset
|
317 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
318 |
pkg.shortfmri Corresponds to the short form FMRI of the |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
319 |
package containing the action, such as |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
320 |
pkg://opensolaris.org/[email protected] |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
321 |
|
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
322 |
The contents and search subcommands are related: both are used to |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
323 |
query the system for the contents of packages. The contents |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
324 |
subcommand displays actions in one or more packages, filtering |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
325 |
the output based on the options chosen by the user. The search |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
326 |
subcommand approaches the query from the other direction, looking |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
327 |
for packages which contain a user-supplied token. |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
328 |
|
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
329 |
Each subcommand is capable of formulating some queries of which |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
330 |
the other is capable. Care should be taken in choosing the |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
331 |
subcommand, as a given query may be more naturally formulated in |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
332 |
one than in the other. |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
333 |
|
1843
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
334 |
search [-HIaflpr] [-o attribute ...] [-s repo_uri] query |
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
335 |
Search for matches to the query, and display the results. |
941
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
336 |
Which tokens are indexed are action-dependent, but may |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
337 |
include content hashes and pathnames. By default, queries are |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
338 |
interpreted as a series of terms to be matched exactly. The |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
339 |
'?' and '*' characters can be used as glob(3C)-style |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
340 |
wildcards, allowing more flexible query matches. |
204
8f650d596aec
72 pkg command throws an exception when no search arguments are given
Danek Duvall <danek.duvall@sun.com>
parents:
172
diff
changeset
|
341 |
|
1843
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
342 |
With -H, omit the headers. |
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
343 |
|
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
344 |
With -I, use a case-sensitive search. |
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
345 |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
346 |
By default, and with -a, perform the search and display information |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
347 |
about the matching actions. |
987
a3bfefdc9750
7148 -a and -p options for search should be documented
Brock Pytlik <bpytlik@sun.com>
parents:
941
diff
changeset
|
348 |
|
1843
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
349 |
By default, search prunes results from packages older than the |
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
350 |
currently installed version and from package versions excluded by |
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
351 |
current incorporations. Use -f to show all results, regardless of |
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
352 |
package version. |
b9333a197e40
6177 filtering search against a particular incorporation is needed
Brock Pytlik <bpytlik@sun.com>
parents:
1841
diff
changeset
|
353 |
|
987
a3bfefdc9750
7148 -a and -p options for search should be documented
Brock Pytlik <bpytlik@sun.com>
parents:
941
diff
changeset
|
354 |
With -l, search the image's installed packages. |
a3bfefdc9750
7148 -a and -p options for search should be documented
Brock Pytlik <bpytlik@sun.com>
parents:
941
diff
changeset
|
355 |
|
1351
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
356 |
With -o, the columns of the results may be controlled. The |
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
357 |
-o option may be specified multiple times, or multiple attributes |
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
358 |
may be specified as the argument to one -o option by separating |
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
359 |
the attribute names with commas. In addition to the "pseudo" |
1351
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
360 |
attributes outlined above, more are defined for search results: |
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
361 |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
362 |
search.match Corresponds to the string which matched the |
1351
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
363 |
search query. |
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
364 |
|
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
365 |
search.match_type Corresponds to the attribute which contained |
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
366 |
the string that matched the search query. |
75f7a28beaf5
10515 search should support -o for output like pkg contents
Brock Pytlik <bpytlik@sun.com>
parents:
1271
diff
changeset
|
367 |
|
1893
d935808d8050
15457 pkg search -p should do more than just wrap the query in <>
Brock Pytlik <bpytlik@sun.com>
parents:
1889
diff
changeset
|
368 |
With -p, display packages which have some actions that match each |
d935808d8050
15457 pkg search -p should do more than just wrap the query in <>
Brock Pytlik <bpytlik@sun.com>
parents:
1889
diff
changeset
|
369 |
query term. Using this option is equivalent to putting '<>' around |
d935808d8050
15457 pkg search -p should do more than just wrap the query in <>
Brock Pytlik <bpytlik@sun.com>
parents:
1889
diff
changeset
|
370 |
each term in the query. (For a description of the '<>' operator, |
d935808d8050
15457 pkg search -p should do more than just wrap the query in <>
Brock Pytlik <bpytlik@sun.com>
parents:
1889
diff
changeset
|
371 |
please see below.) |
987
a3bfefdc9750
7148 -a and -p options for search should be documented
Brock Pytlik <bpytlik@sun.com>
parents:
941
diff
changeset
|
372 |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
373 |
By default, and with -r, search the repositories corresponding |
941
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
374 |
to the image's publishers. |
204
8f650d596aec
72 pkg command throws an exception when no search arguments are given
Danek Duvall <danek.duvall@sun.com>
parents:
172
diff
changeset
|
375 |
|
1084
d881f748c3ba
8388 manpages should refer to "repository" instead of "server" for clarity
Shawn Walker <srw@sun.com>
parents:
996
diff
changeset
|
376 |
With -s, search the pkg(5) repository located at the given URI. |
d881f748c3ba
8388 manpages should refer to "repository" instead of "server" for clarity
Shawn Walker <srw@sun.com>
parents:
996
diff
changeset
|
377 |
This may be specified multiple times. |
204
8f650d596aec
72 pkg command throws an exception when no search arguments are given
Danek Duvall <danek.duvall@sun.com>
parents:
172
diff
changeset
|
378 |
|
8f650d596aec
72 pkg command throws an exception when no search arguments are given
Danek Duvall <danek.duvall@sun.com>
parents:
172
diff
changeset
|
379 |
Both -l and -r (or -s) may be specified together, in which case both |
8f650d596aec
72 pkg command throws an exception when no search arguments are given
Danek Duvall <danek.duvall@sun.com>
parents:
172
diff
changeset
|
380 |
local and remote searches will be performed. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
381 |
|
941
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
382 |
In addition to simple token matching and wildcard search, a more |
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
383 |
complicated query language is supported. Phrases may be searched for |
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
384 |
by using ' or ". Note: Please make sure to take your shell into |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
385 |
account so that pkg actually sees the ' or ". |
941
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
386 |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
387 |
Boolean search using AND and OR is supported. Field, or structured, |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
388 |
queries are supported. The syntax for these is |
1740
b32554ba84b0
14470 miscellaneous spelling errors in manpages
Danek Duvall <danek.duvall@sun.com>
parents:
1736
diff
changeset
|
389 |
pkg_name:action_type:key:token. Missing fields are implicitly |
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
390 |
wildcarded. A search for :basename:pkg would match all actions |
941
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
391 |
types in all packages with a key of basename and which matched |
1740
b32554ba84b0
14470 miscellaneous spelling errors in manpages
Danek Duvall <danek.duvall@sun.com>
parents:
1736
diff
changeset
|
392 |
the token 'pkg'. Explicit wildcards are supported in the pkg_name |
b32554ba84b0
14470 miscellaneous spelling errors in manpages
Danek Duvall <danek.duvall@sun.com>
parents:
1736
diff
changeset
|
393 |
and token fields, action_type and key must match exactly. |
941
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
394 |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
395 |
To convert actions to the packages which contain those actions, |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
396 |
use '<>'. With the -a option, Searching for 'token' results in |
941
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
397 |
information about the actions matching token, while searching for |
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
398 |
'<token>' results in a list of packages containing actions which |
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
399 |
matched token. |
e7bff46da54e
6175 search needs to be moved to version 1
Brock Pytlik <bpytlik@sun.com>
parents:
938
diff
changeset
|
400 |
|
1537 | 401 |
list [-Hafnsuv] [--no-refresh] [pkg_fmri_pattern ...] |
402 |
Display a list of packages in the current image, including |
|
403 |
state and other information. By default, package variants |
|
404 |
for a different architecture or zone type are excluded. |
|
405 |
The usual output is in four columns: |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
406 |
|
1537 | 407 |
NAME (PUBLISHER) VERSION STATE UFOXI |
408 |
SUNWcs 0.5.11-0.126 installed ----- |
|
409 |
web/firefox/plugin/flash (extra) 10.0.32.18-0.111 installed ----- |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
410 |
|
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
411 |
The first column contains the name of the package. If the publisher |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
412 |
from which it is installed (or available, if not installed) is not |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
413 |
the preferred publisher, then the publisher name is listed in |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
414 |
parentheses after the package name. The second column contains the |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
415 |
release and branch versions of the package (see pkg(5)). The third |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
416 |
column contains the state of the package as it exists on the system. |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
417 |
Possible values are "installed" and "known". The last column |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
418 |
contains a set of flags that show how the package relates to other |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
419 |
packages: |
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
420 |
|
1537 | 421 |
- a "u" in the "U" column shows that a newer version is |
422 |
available, although it may not be possible to install |
|
423 |
this newer version due to package dependencies or |
|
424 |
constraints; |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
425 |
|
1537 | 426 |
- an "f" in the "F" column shows that this version has |
427 |
been frozen (not implemented); |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
428 |
|
1537 | 429 |
- an "o" in the "O" column shows that it is obsolete, |
430 |
while an "r" shows that it has been renamed (a form of |
|
431 |
obsoletion); |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
432 |
|
1537 | 433 |
- an "x" in the "X" column shows that it is prevented from |
434 |
being installed because some other package has excluded |
|
435 |
it (not implemented); and |
|
1461
fdf40c8c6765
820 Need a way to obsolete packages
Danek Duvall <danek.duvall@sun.com>
parents:
1351
diff
changeset
|
436 |
|
1537 | 437 |
- an "i" in the "I" column shows that it has been |
438 |
constrained by an incorporation (not implemented). |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
439 |
|
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
440 |
With -H, omit the headers from the listing. |
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
441 |
|
1537 | 442 |
With -a, list installed packages and the newest version of |
1853
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
443 |
packages that are available for installation. Packages are |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
444 |
considered to be available for installation if they are |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
445 |
allowed by the installed incorporations and by the image's |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
446 |
variants. If one or more patterns are specified, then the |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
447 |
newest version matching the specified pattern and is also |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
448 |
allowed by any installed incorporations and the image's |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
449 |
variants will be listed. Without -a, list only installed |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
450 |
packages. |
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
451 |
|
1853
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
452 |
With -f and -a, list all versions of all packages for all |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
453 |
variants regardless of incorporation constraints or installed |
8f8a90301844
15234 "pkg list -a" doesn't account for pattern versions
Shawn Walker <shawn.walker@oracle.com>
parents:
1843
diff
changeset
|
454 |
state. |
1537 | 455 |
|
456 |
With -n, display the newest versions of all known packages, |
|
457 |
regardless of installed state. |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
458 |
|
1537 | 459 |
With -s, display a one-line short-form giving the package name |
460 |
and description. This option may be used with -a, -n, -u or |
|
461 |
-v. |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
462 |
|
1537 | 463 |
With -u, list only packages with newer versions available. |
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
464 |
|
1537 | 465 |
With -v, show full package FMRIs, including publisher and |
466 |
complete version, all in the first column (the VERSION column |
|
467 |
disappears). This option may be used with -a, -n, or -u. |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
468 |
|
1537 | 469 |
With --no-refresh, do not attempt to contact the repositories |
470 |
for the image's publishers to retrieve publisher metadata (e.g. |
|
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
471 |
catalogs). |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
472 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
473 |
verify [-Hqv] [pkg_fmri_pattern ...] |
222
12006bf2a260
4 We need to be able to verify that package(s) is/are correctly installed
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
221
diff
changeset
|
474 |
Validate the installation of packages in the current image. |
1685
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
475 |
Please note that verification of installed package content is |
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
476 |
based on a custom content analysis that may return different |
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
477 |
results than those of other programs. |
222
12006bf2a260
4 We need to be able to verify that package(s) is/are correctly installed
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
221
diff
changeset
|
478 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
479 |
With -H, omit the headers from the verification output. |
1685
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
480 |
|
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
481 |
With -q, print nothing, but return failure if there are any |
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
482 |
fatal errors. |
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
483 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
484 |
With -v, include informational messages regarding packages. |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
485 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
486 |
variant [-H] [<variant_spec> ...] |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
487 |
Display the current values of all variants, or with arguments, |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
488 |
only the variants specified |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
489 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
490 |
With -H, omit the headers from the listing. |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
491 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
492 |
change-variant [-nvq] [--accept] [--be-name name] [--licenses] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
493 |
<variant_spec>=<instance> ... |
1271
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
494 |
Change the specified variants in the current image. |
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
495 |
|
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
496 |
With the -n option, plan the requested operation but make |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
497 |
no actual changes. |
1271
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
498 |
|
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
499 |
With the -v option, issue verbose progress messages during the |
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
500 |
requested operation. With the -q option, be completely silent. |
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
501 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
502 |
With --accept, you indicate that you agree to and accept the |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
503 |
terms of the licenses of the packages that are updated or |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
504 |
installed. If you do not provide this option, and any package |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
505 |
licenses require acceptance, the operation will fail. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
506 |
|
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
507 |
With --licenses, display all of the licenses for the packages that |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
508 |
will be installed or updated as part of this operation. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
509 |
|
1271
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
510 |
With --be-name, rename the newly created boot environment to be the |
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
511 |
argument given. This option is only valid if a new boot environment |
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
512 |
is created during image update. See also beadm(1m). |
036d87b0bd44
6831 need 'pkg change-variant' command
Edward Pilatowicz <Edward.Pilatowicz@Sun.COM>
parents:
1157
diff
changeset
|
513 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
514 |
facet [-H] [<facet_spec> ...] |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
515 |
Without arguments, displays the current values of all facets. With |
1740
b32554ba84b0
14470 miscellaneous spelling errors in manpages
Danek Duvall <danek.duvall@sun.com>
parents:
1736
diff
changeset
|
516 |
argument(s), evaluate if each facet would be true or false and print |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
517 |
the result. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
518 |
|
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
519 |
With -H, omit the headers from the listing. |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
520 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
521 |
change-facet [-nvq] [--accept] [--be-name name] [--licenses] |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
522 |
<facet_spec>=[True|False|None] ... |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
523 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
524 |
Change the specified facets in the current image. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
525 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
526 |
With the -n option, plan the requested operation but make |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
527 |
no actual changes. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
528 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
529 |
With the -v option, issue verbose progress messages during the |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
530 |
requested operation. With the -q option, be completely silent. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
531 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
532 |
With --accept, you indicate that you agree to and accept the |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
533 |
terms of the licenses of the packages that are updated or |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
534 |
installed. If you do not provide this option, and any package |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
535 |
licenses require acceptance, the operation will fail. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
536 |
|
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
537 |
With --licenses, display all of the licenses for the packages that |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
538 |
will be installed or updated as part of this operation. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
539 |
|
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
540 |
With --be-name, rename the newly created boot environment to be the |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
541 |
argument given. This option is only valid if a new boot environment |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
542 |
is created during the operation. See also beadm(1m). |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
543 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
544 |
Facets may be set to True or False. Setting one to None removes |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
545 |
that facet specification from the current image. |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
546 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
547 |
fix [--accept] [--licenses] [pkg_fmri_pattern ...] |
1685
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
548 |
Fix any errors reported by pkg verify. Please note that |
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
549 |
verification of installed package content is based on a |
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
550 |
custom content analysis that may return different results |
51f832187af7
3005 some pkg verify errors should be warnings or informational messages
Shawn Walker <srw@sun.com>
parents:
1618
diff
changeset
|
551 |
than those of other programs. |
583
fc856572d86e
388 pkg command needs a "fix" subcommand or similar
Brad Hall <bhall@eng.sun.com>
parents:
582
diff
changeset
|
552 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
553 |
With --accept, you indicate that you agree to and accept the |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
554 |
terms of the licenses of the packages that are updated or |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
555 |
installed. If you do not provide this option, and any package |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
556 |
licenses require acceptance, the operation will fail. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
557 |
|
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
558 |
With --licenses, display all of the licenses for the packages that |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
559 |
will be installed or updated as part of this operation. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
560 |
|
551 | 561 |
set-property propname propvalue |
792
060a802056a4
4372 property set commands should display error for preferred-authority property
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
786
diff
changeset
|
562 |
Update an existing image property or add a new image property; |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
563 |
except for preferred-publisher, which can only be changed using |
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
564 |
set-publisher. |
551 | 565 |
|
2026
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
566 |
add-property-value propname propvalue |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
567 |
Add a value to an existing image property or add a new image property; |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
568 |
except for preferred-publisher, which can only be changed using |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
569 |
set-publisher. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
570 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
571 |
remove-property-value propname propvalue |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
572 |
Remove a value from an existing image property; except for |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
573 |
preferred-publisher, which can only be changed using set-publisher. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
574 |
|
551 | 575 |
unset-property propname ... |
792
060a802056a4
4372 property set commands should display error for preferred-authority property
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
786
diff
changeset
|
576 |
Remove an existing image property or properties; except for |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
577 |
preferred-publisher, which can only be changed using |
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
578 |
set-publisher. |
551 | 579 |
|
580 |
property [-H] [propname ...] |
|
581 |
Display image property information. With no argument, display the |
|
936
649787977ed3
2283 pkg unset-authority fails unless all specified authorities are valid
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
934
diff
changeset
|
582 |
names and values for all image properties. If a specific list of |
551 | 583 |
property names is requested, display the names and values for those |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
584 |
properties. |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
585 |
|
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
586 |
With -H, omit the headers from the listing. |
551 | 587 |
|
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
588 |
set-publisher [-Ped] [-k ssl_key] [-c ssl_cert] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
589 |
[-g origin_to_add|--add-origin=origin_to_add ...] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
590 |
[-G origin_to_remove|--remove-origin=origin_to_remove ...] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
591 |
[-m mirror_to_add|--add-mirror=mirror_to_add] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
592 |
[-M mirror_to_remove|--remove-mirror=mirror_to_remove] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
593 |
[-p repo_uri] [--enable] [--disable] [--no-refresh] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
594 |
[--reset-uuid] [--non-sticky] [--sticky] |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
595 |
[--search-after=publisher] [--search-before=publisher] |
2026
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
596 |
[--approve-ca-cert path_to_CA] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
597 |
[--revoke-ca-cert hash_of_CA_to_remove] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
598 |
[--unset-ca-cert hash_of_CA_to_remove] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
599 |
[--set-property name_of_property=value] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
600 |
[--add-property-value name_of_property=value_to_add] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
601 |
[--remove-property-value name_of_property=value_to_remove] |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
602 |
[--unset-property name_of_property_to_delete] |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
603 |
[publisher] |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
604 |
|
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
605 |
Update an existing publisher or add an additional package |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
606 |
publisher. If no options affecting search order are specified, |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
607 |
new publishers are appended to the search order and are thus |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
608 |
searched last. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
609 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
610 |
With -P, set the specified publisher as the preferred |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
611 |
publisher, i.e. first in the search order. When installing |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
612 |
new packages, this publisher will be searched first. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
613 |
Updates to already installed packages will come from the |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
614 |
same publisher that originally provided the package so long |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
615 |
as that publisher remains sticky. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
616 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
617 |
With --non-sticky, specify that higher ranked publishers than |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
618 |
this one may provide updates to packages originally installed |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
619 |
from this publisher. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
620 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
621 |
With --sticky, return to the default behavior of always sourcing |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
622 |
updates from the same publisher that provided the package originally. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
623 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
624 |
With --search-before, alter the publisher search order so that |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
625 |
the publisher being modified is now searched before the specified |
938
eeb932b9b44e
7336 putback for 5871 missed a few vestiges of authority
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
936
diff
changeset
|
626 |
publisher. |
eeb932b9b44e
7336 putback for 5871 missed a few vestiges of authority
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
936
diff
changeset
|
627 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
628 |
With --search-after, alter the publisher search order so that |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
629 |
the publisher being modified is now searched after the specified |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
630 |
publisher. |
938
eeb932b9b44e
7336 putback for 5871 missed a few vestiges of authority
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
936
diff
changeset
|
631 |
|
2026
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
632 |
With --approve-ca-cert, add the given certificate as a CA certificate |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
633 |
that is trusted. The hashes of the user approved CA certificates are |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
634 |
listed in the output of the detailed pkg publisher view for a |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
635 |
publisher. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
636 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
637 |
With --revoked-ca-cert, treat the certificate with the given hash as |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
638 |
revoked. The hashes of the user revoked CA certificates are |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
639 |
listed in the output of the detailed pkg publisher view for a |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
640 |
publisher. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
641 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
642 |
With --unset-ca-cert, remove the certificate with the given hash from |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
643 |
the list of approved and the list of revoked certificates. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
644 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
645 |
With --set-property, update an existing publisher property or add a |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
646 |
new publisher property. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
647 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
648 |
With --add-property-value, add a value to an existing publisher |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
649 |
property or add a new publisher property. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
650 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
651 |
With --remove-property-value, remove a value from an existing |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
652 |
publisher property. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
653 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
654 |
With --unset-property, remove an existing publisher property. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
655 |
|
938
eeb932b9b44e
7336 putback for 5871 missed a few vestiges of authority
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
936
diff
changeset
|
656 |
With -c and -k, specify client SSL certificate and key respectively. |
eeb932b9b44e
7336 putback for 5871 missed a few vestiges of authority
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
936
diff
changeset
|
657 |
|
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
658 |
With -g (--add-origin), add the URI as an origin for the given |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
659 |
publisher. This should be the location of a package repository. |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
660 |
|
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
661 |
With -G (--remove-origin), remove the URI from the list of origins |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
662 |
for the given publisher. |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
663 |
|
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
664 |
With --no-refresh, do not attempt to contact the publisher |
996
31d152a5212b
7582 pkg set-publisher --no-refresh will delete catalogs
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
987
diff
changeset
|
665 |
specified to retrieve its metadata (e.g. catalog). |
537
3dc9fc9b5fee
1540 changes to authorities should include refresh
Brock Pytlik <bpytlik@sun.com>
parents:
499
diff
changeset
|
666 |
|
662
b9632e3d7b26
3234 pkg(1) man page doesn't mention mirror options for set-authority
Brock Pytlik <bpytlik@sun.com>
parents:
620
diff
changeset
|
667 |
With --reset-uuid, choose a new unique identifier that identifies |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
668 |
this image to its publisher. |
662
b9632e3d7b26
3234 pkg(1) man page doesn't mention mirror options for set-authority
Brock Pytlik <bpytlik@sun.com>
parents:
620
diff
changeset
|
669 |
|
938
eeb932b9b44e
7336 putback for 5871 missed a few vestiges of authority
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
936
diff
changeset
|
670 |
With -m (--add-mirror), add the URI as a mirror for the given |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
671 |
publisher. |
662
b9632e3d7b26
3234 pkg(1) man page doesn't mention mirror options for set-authority
Brock Pytlik <bpytlik@sun.com>
parents:
620
diff
changeset
|
672 |
|
938
eeb932b9b44e
7336 putback for 5871 missed a few vestiges of authority
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
936
diff
changeset
|
673 |
With -M (--remove-mirror), remove the URI from the list of mirrors |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
674 |
for the given publisher. |
551 | 675 |
|
1736
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
676 |
With -p, retrieve publisher configuration information from the |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
677 |
specified repository URI. If a publisher is specified, then only |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
678 |
the matching one will be added or updated. If no publisher is |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
679 |
specified, all will be added or updated as appropriate. This option |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
680 |
may not be combined with the -g, --add-origin, -G, --remove-origin, |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
681 |
-m, --add-mirror, -M, --remove--mirror, --disable, --enable, |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
682 |
--no-refresh, or --reset-uuid options. |
727dda1e7968
11522 pkg should require publisher prefix to match repository information
Shawn Walker <srw@sun.com>
parents:
1732
diff
changeset
|
683 |
|
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
684 |
With -e (--enable), enable the publisher; with -d (--disable), disable |
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
685 |
the publisher. A disabled publisher is not used when populating the |
786
a400f8c4d1c0
2340 support authority enable and disable
Tom Mueller <Tom.Mueller@sun.com>
parents:
702
diff
changeset
|
686 |
package list or in certain package operations (install, uninstall, and |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
687 |
image-update). However, the properties for a disabled publisher can |
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
688 |
still be set and viewed. If only one publisher exists, it cannot be |
786
a400f8c4d1c0
2340 support authority enable and disable
Tom Mueller <Tom.Mueller@sun.com>
parents:
702
diff
changeset
|
689 |
disabled. |
a400f8c4d1c0
2340 support authority enable and disable
Tom Mueller <Tom.Mueller@sun.com>
parents:
702
diff
changeset
|
690 |
|
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
691 |
unset-publisher publisher ... |
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
692 |
Remove the configuration associated with the given publisher |
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
693 |
or publishers. |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
694 |
|
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
695 |
publisher [-HPn] [publisher ...] |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
696 |
Display publisher information. With no arguments, display |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
697 |
the list of all publishers, their origin URIs, and mirrors |
1841
3708c0163701
15011 pkg(1)'s description of 'pkg publisher' output ordering is nonsense
Richard Lowe <richlowe@richlowe.net>
parents:
1807
diff
changeset
|
698 |
in order of search preference. If specific publishers are |
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
699 |
requested, display the configuration values, including |
1807
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
700 |
mirrors, associated with those publishers. |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
701 |
|
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
702 |
With -H, omit the headers from the listing. |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
703 |
|
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
704 |
With -P, display only the preferred publisher. |
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
705 |
|
034c7b5c0f96
14867 pkg(1) usage message doesn't match man page
Shawn Walker <srw@sun.com>
parents:
1740
diff
changeset
|
706 |
With -n, display only enabled publishers. |
221
e1dbb27a23b5
52 catalog can leave inventory behind, making pkg(1) blind
Stephen Hahn <sch@Sun.COM>
parents:
204
diff
changeset
|
707 |
|
1889
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
708 |
history [-Hl] [-n number] |
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
709 |
Display the command history of the applicable image. |
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
710 |
|
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
711 |
With -H, omit the headers from the listing. |
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
712 |
|
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
713 |
With -l, display log records in long format, which, in addition to |
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
714 |
the standard format, includes the outcome of the command, the time |
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
715 |
the command completed, the version and name of the client used, the |
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
716 |
name of the user who performed the operation, and any errors that |
539
7486304966c5
1449 pkg requires operational history
Shawn Walker <shawn.walker@sun.com>
parents:
537
diff
changeset
|
717 |
were encountered while executing the command. |
7486304966c5
1449 pkg requires operational history
Shawn Walker <shawn.walker@sun.com>
parents:
537
diff
changeset
|
718 |
|
1889
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
719 |
With -n, display only the specified number of most recent entries. |
e670eae1a5f4
15365 pkg history could use a way to show the most recent N entries
Richard Lowe <richlowe@richlowe.net>
parents:
1853
diff
changeset
|
720 |
|
539
7486304966c5
1449 pkg requires operational history
Shawn Walker <shawn.walker@sun.com>
parents:
537
diff
changeset
|
721 |
purge-history |
7486304966c5
1449 pkg requires operational history
Shawn Walker <shawn.walker@sun.com>
parents:
537
diff
changeset
|
722 |
Deletes all existing history information. |
7486304966c5
1449 pkg requires operational history
Shawn Walker <shawn.walker@sun.com>
parents:
537
diff
changeset
|
723 |
|
429
6c9cbb6e6600
983 pkg search returns just one action per package/token-type combo
Brock Pytlik <bpytlik@sun.com>
parents:
410
diff
changeset
|
724 |
rebuild-index |
6c9cbb6e6600
983 pkg search returns just one action per package/token-type combo
Brock Pytlik <bpytlik@sun.com>
parents:
410
diff
changeset
|
725 |
Rebuilds the index used by 'pkg search'. This is a recovery operation |
6c9cbb6e6600
983 pkg search returns just one action per package/token-type combo
Brock Pytlik <bpytlik@sun.com>
parents:
410
diff
changeset
|
726 |
not intended for general use. |
6c9cbb6e6600
983 pkg search returns just one action per package/token-type combo
Brock Pytlik <bpytlik@sun.com>
parents:
410
diff
changeset
|
727 |
|
362
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
728 |
version |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
729 |
Display a unique string identifying the version of pkg(1). This |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
730 |
string is not guaranteed to be comparable in any fashion between |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
731 |
versions. |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
732 |
|
1902
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
733 |
IMAGE PROPERTIES |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
734 |
The following properties are part of the image and may be set using |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
735 |
the set-property subcommand. The values of these properties are |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
736 |
viewable with the property subcommand. |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
737 |
|
2021
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
738 |
ca-path |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
739 |
(string) A pathname that points to a directory where CA certs are |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
740 |
kept for SSL operations. The format of this directory is specific |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
741 |
to the underlying SSL implementation. If the administrator |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
742 |
would like to use an alternate location for trusted CA |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
743 |
certificates, this value should be changed to point to a |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
744 |
different directory. Please see the 'CApath' portions of |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
745 |
SSL_CTX_load_verify_locations(3openssl) for requirements |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
746 |
about the CA directory. |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
747 |
|
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
748 |
Default value: /etc/openssl/certs |
267b01eedee0
16765 pkg5 should stop delivering its own CA certificate
johansen <johansen@opensolaris.org>
parents:
1902
diff
changeset
|
749 |
|
1902
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
750 |
flush-content-cache-on-success |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
751 |
(boolean) If this is set to True, the package client will |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
752 |
remove the files in its content-cache when install or |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
753 |
image-update operations complete. For image-update |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
754 |
operations, the content is removed only from the source BE. |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
755 |
When a packaging operation next occurs in the destination BE, |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
756 |
it will flush its content cache, provided this option has not |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
757 |
been changed. |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
758 |
|
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
759 |
This property may be used to keep the content-cache small on |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
760 |
systems with limited disk space, but it may cause operations |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
761 |
to take longer to complete. |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
762 |
|
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
763 |
Default value: False |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
764 |
|
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
765 |
mirror-discovery |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
766 |
(boolean) Mirror-discovery tells the client to discover |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
767 |
link-local content mirrors using mDNS and DNS-SD. If this is |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
768 |
set to True, the client will attempt to download package content |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
769 |
from mirrors it dynamically discovers. To run a mirror that |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
770 |
advertises its content via mDNS, see pkg.mdnsd(1m). |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
771 |
|
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
772 |
Default value: False |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
773 |
|
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
774 |
send-uuid |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
775 |
(boolean) Send the image's Universally Unique Identifier |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
776 |
(UUID) when performing network operations. Although users may |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
777 |
disable this option, some network repositories may refuse to talk |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
778 |
to clients that do not supply a UUID. |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
779 |
|
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
780 |
Default value: True |
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
781 |
|
2026
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
782 |
signature-policy |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
783 |
(string) Determine what checks will be performed on manifests |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
784 |
when installing a package into this image. The final policy |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
785 |
applied to a package depends on the combination of image policy |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
786 |
and publisher policy. The combination will be at least as strict |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
787 |
as the stricter of the two policies taken individually. The |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
788 |
following are the valid values for this property. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
789 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
790 |
ignore |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
791 |
Ignore signatures for all manifests. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
792 |
verify |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
793 |
Verify that all manifests with signatures are validly |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
794 |
signed, but do not require all installed packages to be |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
795 |
signed. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
796 |
require-signatures |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
797 |
Require that all newly installed packages have at least |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
798 |
one valid signature. 'pkg fix' and 'pkg verify' will also |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
799 |
warn if an installed package does not have a valid |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
800 |
signature. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
801 |
require-names |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
802 |
Follow the same requirements as 'require-signatures' but |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
803 |
also require that the strings listed in the |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
804 |
'signature-required-names' property appear as a common |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
805 |
name of the certificates used to verifiy the chains |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
806 |
of trust of the signatures. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
807 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
808 |
signature-required-names |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
809 |
(list of strings) A list of names which must be seen as common |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
810 |
names of certificates while validating the signatures of a |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
811 |
package. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
812 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
813 |
trust-anchor-directory |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
814 |
(string) The pathname of the directory that contains the trust |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
815 |
anchors for the image. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
816 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
817 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
818 |
PUBLISHER PROPERTIES |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
819 |
The following properties are part of the image and may be set using |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
820 |
the set-property option of the set-publisher subcommand. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
821 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
822 |
signature-policy |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
823 |
(string) This property functions identically to the image |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
824 |
property of the same name except it only applies to packages |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
825 |
from the particular publisher. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
826 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
827 |
signature-required-names |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
828 |
(list of strings) This property functions identically to the |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
829 |
image property of the same name except it only applies to |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
830 |
packages from the particular publisher. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
831 |
|
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
832 |
EXAMPLES |
926
6ee411c9026a
5871 publisher apis desired
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
884
diff
changeset
|
833 |
Example 1: Create a new, full image, with publisher example.com, |
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
834 |
stored at /aux0/example_root. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
835 |
|
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
836 |
$ pkg image-create -F -p example.com=http://pkg.example.com:10000 \ |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
837 |
/aux0/example_root |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
838 |
|
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
839 |
Example 2: Create a new, full image, with publisher example.com, |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
840 |
that also has an additional mirror, two additional origins and is |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
841 |
stored at /aux0/example_root. |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
842 |
|
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
843 |
$ pkg image-create -F -p example.com=http://pkg.example.com:10000 \ |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
844 |
-g http://alternate1.example.com:10000/ \ |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
845 |
-g http://alternate2.example.com:10000/ \ |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
846 |
-m http://mirror.example.com:10000/ \ |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
847 |
/aux0/example_root |
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
848 |
|
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
849 |
Example 3: Install the latest version of the widget package in the |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
850 |
current image. |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
851 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
852 |
$ pkg install application/widget |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
853 |
|
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
854 |
Example 4: List the contents of the SUNWzfs package. Display the |
362
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
855 |
action name, the mode of the file (if defined), the size (if defined), |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
856 |
the path, and the target (if a link). Limit the action to types dir, |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
857 |
file, link, and hardlink, since specifying the action.name attribute, |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
858 |
which is available for all actions, will display a line for all |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
859 |
actions, which is not desired here. |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
860 |
|
1157
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
861 |
$ pkg contents -t dir,file,link,hardlink \ |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
862 |
-o action.name,mode,pkg.size,path,target SUNWzfs |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
863 |
NAME MODE SIZE PATH TARGET |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
864 |
dir 0755 etc |
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
865 |
dir 0755 etc/fs |
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
866 |
dir 0755 etc/fs/zfs |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
867 |
link etc/fs/zfs/mount ../../../sbin/zfs |
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
868 |
link etc/fs/zfs/umount ../../../sbin/zfs |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
869 |
dir 0755 etc/zfs |
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
870 |
dir 0755 lib |
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
871 |
dir 0755 lib/amd64 |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
872 |
link lib/amd64/libzfs.so libzfs.so.1 |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
873 |
file 0755 469616 lib/amd64/libzfs.so.1 |
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
874 |
file 0644 62057 lib/amd64/llib-lzfs.ln |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
875 |
link lib/libzfs.so libzfs.so.1 |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
876 |
.... |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
877 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
878 |
Example 5: List the contents of SUNWfirefox and SUNWthunderbird, |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
879 |
limiting the display to just the package name and path attributes of |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
880 |
actions whose "path" attribute ends in ".desktop" or ".png". |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
881 |
|
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
882 |
$ pkg contents contents -o pkg.name,path -a path=\*.desktop \ |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
883 |
-a path=\*.png SUNWfirefox SUNWthunderbird |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
884 |
PKG.NAME PATH |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
885 |
SUNWfirefox usr/lib/firefox/chrome/icons/default/default16.png |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
886 |
SUNWfirefox usr/lib/firefox/chrome/icons/default/default32.png |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
887 |
SUNWfirefox usr/lib/firefox/chrome/icons/default/default48.png |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
888 |
SUNWfirefox usr/lib/firefox/icons/document.png |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
889 |
SUNWfirefox usr/lib/firefox/icons/mozicon128.png |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
890 |
SUNWfirefox usr/lib/firefox/res/html/folder.png |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
891 |
SUNWfirefox usr/share/applications/firefox.desktop |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
892 |
SUNWthunderbird usr/share/applications/thunderbird.desktop |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
893 |
SUNWfirefox usr/share/pixmaps/firefox-icon.png |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
894 |
SUNWthunderbird usr/share/pixmaps/thunderbird-icon.png |
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
895 |
|
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
896 |
Example 6: Search the package database for the token "bge". |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
897 |
|
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
898 |
$ pkg search bge |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
899 |
INDEX ACTION VALUE PACKAGE |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
900 |
basename file kernel/drv/bge pkg:/[email protected] |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
901 |
driver_name driver bge pkg:/[email protected] |
165
85269e0b9ddb
Update usage messages and manpages with recent developments.
Danek Duvall <danek.duvall@sun.com>
parents:
114
diff
changeset
|
902 |
|
362
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
903 |
The token shows up in the package SUNWbge both as the basename for the |
d974bb176266
1341 pkg(1) - pkg contents example#3 doesn't work and "pkg verify" synopsis does not match subcommand description
Danek Duvall <danek.duvall@sun.com>
parents:
342
diff
changeset
|
904 |
file action representing /kernel/drv/bge and as a driver name. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
905 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
906 |
Example 7: Search for installed packages which depend on SUNWipkg. |
1146
7c10e9798405
3322 'depend' search index has a syntax all its own
Brock Pytlik <bpytlik@sun.com>
parents:
1084
diff
changeset
|
907 |
|
7c10e9798405
3322 'depend' search index has a syntax all its own
Brock Pytlik <bpytlik@sun.com>
parents:
1084
diff
changeset
|
908 |
$ pkg search -l 'depend::SUNWipkg' |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
909 |
INDEX ACTION VALUE PACKAGE |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
910 |
incorporate depend [email protected] pkg:/[email protected] |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
911 |
require depend [email protected] pkg:/[email protected] |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
912 |
require depend [email protected] pkg:/[email protected] |
1146
7c10e9798405
3322 'depend' search index has a syntax all its own
Brock Pytlik <bpytlik@sun.com>
parents:
1084
diff
changeset
|
913 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
914 |
Example 8: Search for all incorporate dependencies in installed packages. |
1146
7c10e9798405
3322 'depend' search index has a syntax all its own
Brock Pytlik <bpytlik@sun.com>
parents:
1084
diff
changeset
|
915 |
|
7c10e9798405
3322 'depend' search index has a syntax all its own
Brock Pytlik <bpytlik@sun.com>
parents:
1084
diff
changeset
|
916 |
$ pkg search -l 'depend:incorporate:' |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
917 |
INDEX ACTION VALUE PACKAGE |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
918 |
incorporate depend [email protected] pkg:/[email protected] |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
919 |
incorporate depend [email protected] pkg:/[email protected] |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
920 |
.... |
1146
7c10e9798405
3322 'depend' search index has a syntax all its own
Brock Pytlik <bpytlik@sun.com>
parents:
1084
diff
changeset
|
921 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
922 |
Example 9: Add new publisher example.org, with a repository located at |
1157
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
923 |
http://www.example.org/repo: |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
924 |
|
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
925 |
$ pkg set-publisher -g http://www.example.org/repo example.org |
1157
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
926 |
|
1563
b24d60ef4c70
2885 pkg contents can't specify hash for output field
Danek Duvall <danek.duvall@sun.com>
parents:
1537
diff
changeset
|
927 |
Example 10: Add new publisher example.com, with a secure repository |
1157
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
928 |
located at https://secure.example.com/repo, and a key and cert stored |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
929 |
in the directory /root/creds: |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
930 |
|
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
931 |
$ pkg set-publisher -k /root/creds/example.key \ |
1504
265a1d6b86bd
9969 client support for multiple origins desired
Shawn Walker <srw@sun.com>
parents:
1461
diff
changeset
|
932 |
-c /root/creds/example.cert -g https://secure.example.com/repo \ |
1157
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
933 |
example.com |
d0c82b651a35
5299 pkg.5, pkg.1 needs definition of publisher, repository, and examples
Shawn Walker <srw@sun.com>
parents:
1146
diff
changeset
|
934 |
|
1895
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
935 |
Example 11: Add new publisher with a repository located at |
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
936 |
/export/repo using automatic configuration: |
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
937 |
|
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
938 |
$ pkg set-publisher -p file:/export/repo |
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
939 |
|
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
940 |
Example 12: Add new publisher example.org with a repository located |
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
941 |
at /export/repo/example.com using manual configuration: |
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
942 |
|
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
943 |
$ pkg set-publisher -g file:/export/repo example.com |
0a260cc2a689
15762 client support for filesystem-based repository access
Shawn Walker <shawn.walker@oracle.com>
parents:
1893
diff
changeset
|
944 |
|
2026
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
945 |
Example 13: Configure an image to verify all signed packages. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
946 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
947 |
$ pkg set-property signature-policy verify |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
948 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
949 |
Example 14: Configure an image to require all packages to be signed and |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
950 |
the string "opensolaris.org" has to be seen as a common name for one of |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
951 |
the certificates in the chain of trust. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
952 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
953 |
$ pkg set-property signature-policy require-names opensolaris.org |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
954 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
955 |
Example 15: Configure an image so that all packages installed from |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
956 |
publisher foo must be signed. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
957 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
958 |
$ pkg set-publisher --set-property signature-policy=require-signatures |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
959 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
960 |
Example 16: Add the string "foo" to the image's list of common names that |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
961 |
must be seen in a signature's chain of trust to be considered valid. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
962 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
963 |
$ pkg add-property-value signature-require-names foo |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
964 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
965 |
Example 17: Remove the string "foo" from publisher test's list of common |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
966 |
names that must be seen to validate a signature. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
967 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
968 |
$ pkg set-publisher --remove-property-value signature-require-names=foo \ |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
969 |
test |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
970 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
971 |
Example 18: Add the certificate stored in /tmp/example_file.pem as a |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
972 |
trusted CA certificate for the publisher test. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
973 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
974 |
$ pkg set-publisher --approve-ca-cert /tmp/example_file.pem |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
975 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
976 |
Example 19: Revoke the certificate with the hash a12345 for publisher |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
977 |
test, preventing it from validating any signatures for packages from test. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
978 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
979 |
$ pkg set-publisher --revoke-ca-cert a12345 |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
980 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
981 |
Example 20: Make pkg forget that the certificate a12345 was ever added or |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
982 |
revoked by the user. |
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
983 |
|
d1b30615bc99
9196 pkg(5) should have support for cryptographic manifest signatures
Brock Pytlik <bpytlik@sun.com>
parents:
2021
diff
changeset
|
984 |
$ pkg set-publisher --unset-ca-cert a12345 |
1146
7c10e9798405
3322 'depend' search index has a syntax all its own
Brock Pytlik <bpytlik@sun.com>
parents:
1084
diff
changeset
|
985 |
|
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
986 |
EXIT STATUS |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
987 |
The following exit values are returned: |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
988 |
|
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
989 |
0 Command succeeded. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
990 |
|
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
991 |
1 An error occurred. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
992 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
993 |
2 Invalid command line options were specified. |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
994 |
|
936
649787977ed3
2283 pkg unset-authority fails unless all specified authorities are valid
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
934
diff
changeset
|
995 |
3 Multiple operations were requested, but only some of them |
649787977ed3
2283 pkg unset-authority fails unless all specified authorities are valid
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
934
diff
changeset
|
996 |
succeeded. |
649787977ed3
2283 pkg unset-authority fails unless all specified authorities are valid
Shawn Walker <Shawn.Walker@Sun.COM>
parents:
934
diff
changeset
|
997 |
|
1505
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
998 |
4 No changes were made - nothing to do. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
999 |
|
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
1000 |
5 The requested operation cannot be performed on a live |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
1001 |
image. |
cc598d70bbbe
4425 pkg install should deal w/ complex dependency changes in one install
Bart Smaalders <Bart.Smaalders@Sun.COM>
parents:
1504
diff
changeset
|
1002 |
|
1618
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
1003 |
6 The requested operation cannot be completed as the licenses |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
1004 |
for the packages being installed or updated have not been |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
1005 |
accepted. |
04f7471c9e72
5943 add 'must-accept' attribute to license actions
Shawn Walker <srw@sun.com>
parents:
1563
diff
changeset
|
1006 |
|
1710
139720e2e756
1668 image locking needed to prevent race conditions
Shawn Walker <srw@sun.com>
parents:
1685
diff
changeset
|
1007 |
7 The image is currently in use by another process and cannot |
139720e2e756
1668 image locking needed to prevent race conditions
Shawn Walker <srw@sun.com>
parents:
1685
diff
changeset
|
1008 |
be modified. |
139720e2e756
1668 image locking needed to prevent race conditions
Shawn Walker <srw@sun.com>
parents:
1685
diff
changeset
|
1009 |
|
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1010 |
FILES |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1011 |
A pkg(5) image can be located arbitrarily within a larger file |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1012 |
system. In the following, the token $IMAGE_ROOT is used to |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1013 |
distinguish relative paths. For a typical system installation, |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1014 |
$IMAGE_ROOT is equivalent to "/". |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1015 |
|
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1016 |
$IMAGE_ROOT/var/pkg Metadata directory for a full or partial |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1017 |
image. |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1018 |
|
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1019 |
$IMAGE_ROOT/.org.opensolaris,pkg |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1020 |
Metadata directory for a user image. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1021 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1022 |
Within a particular image's metadata, certain files and directories |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1023 |
can contain information useful during repair and recovery. We use |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1024 |
the token $IMAGE_META to refer to the top-level directory |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1025 |
containing the metadata. $IMAGE_META is typically one of the two |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1026 |
paths given above. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1027 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1028 |
$IMAGE_META/lost+found Location of conflicting directories and |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1029 |
files moved during a package operation. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1030 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1031 |
$IMAGE_META/publisher Contains a directory for each publisher. |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1032 |
Each directory stores publisher-specific |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1033 |
metadata. |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1034 |
|
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1035 |
Other paths within the $IMAGE_META directory hierarchy are Private, |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1036 |
and are subject to change. |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1037 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1038 |
ATTRIBUTES |
1740
b32554ba84b0
14470 miscellaneous spelling errors in manpages
Danek Duvall <danek.duvall@sun.com>
parents:
1736
diff
changeset
|
1039 |
See attributes(5) for descriptions of the following attributes: |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1040 |
____________________________________________________________ |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1041 |
| ATTRIBUTE TYPE | ATTRIBUTE VALUE | |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1042 |
|_____________________________|_____________________________| |
444
8a8fa9e43301
734 pkgsend.txt.1 does not describe -en in open command
Stephen Hahn <sch@Sun.COM>
parents:
443
diff
changeset
|
1043 |
| Availability | SUNWipkg | |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1044 |
| | pkg:/package/pkg | |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1045 |
|_____________________________|_____________________________| |
172 | 1046 |
| Interface Stability | None / Under Development | |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1047 |
|_____________________________|_____________________________| |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1048 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1049 |
SEE ALSO |
1902
59b7214232cb
6957 mDNS support for depot
johansen <johansen@opensolaris.org>
parents:
1895
diff
changeset
|
1050 |
pkgsend(1), pkg.depotd(1M), pkg.mdnsd(1M), glob(3C), attributes(5), pkg(5) |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1051 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1052 |
NOTES |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1053 |
The image packaging system is an under-development feature. |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1054 |
Command names, invocation, formats, and operations are all subject |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1055 |
to change. Development is hosted in the OpenSolaris community |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
1056 |
at: |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1057 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1058 |
http://hub.opensolaris.org/bin/view/Project+pkg/ |
114
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1059 |
|
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1060 |
At present, user images are not restricted to relocatable |
e21e9aa690ad
draft manual pages, index page cleanup
Stephen Hahn <sch@sun.com>
parents:
diff
changeset
|
1061 |
packages--but they will be. |
310
8fa744df663a
975 Catalogs need to know their origins
johansen <johansen@sun.com>
parents:
301
diff
changeset
|
1062 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1063 |
The pkg(1) command recognizes use of the http_proxy and https_proxy |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1064 |
environment variables to select a suitable HTTP or HTTPS proxy |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1065 |
server. At present, particular care is needed when using local |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1066 |
repository URIs--such as http://localhost:10000/--with the |
1740
b32554ba84b0
14470 miscellaneous spelling errors in manpages
Danek Duvall <danek.duvall@sun.com>
parents:
1736
diff
changeset
|
1067 |
http_proxy environment variable; this behavior may change in a |
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1068 |
future version of image packaging. |
444
8a8fa9e43301
734 pkgsend.txt.1 does not describe -en in open command
Stephen Hahn <sch@Sun.COM>
parents:
443
diff
changeset
|
1069 |
|
1732
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1070 |
At present, pkg(1), on directory removal, will move unpackaged |
05e756645b7f
8432 document proxy environment variables
Stephen Hahn <sch@sun.com>
parents:
1710
diff
changeset
|
1071 |
contents of that directory to $IMAGE_META/lost+found. |