How to install something only in global zones with pkgutil?

Dagobert Michelsen dam at
Mon Mar 24 20:30:01 CET 2014

Hi Anil,

Am 24.03.2014 um 18:05 schrieb Anil <anil.dawkins at>:
> Peter Bonivart <bonivart at ...> writes:
>> On Mon, Feb 3, 2014 at 11:15 AM, Alexander Winkler
>> <work at ...> wrote:
>>> Hello,
>>> I want to install some packages on my Solaris 10 hostsystems, but these
>>> packages should not be installed in the non-global zones. While pkgadd
>>> provides the "-G" switch, I was not able to find something similar for
>>> pkgutil.
>>> Do you have any proposal for this case?
>> pkgutil supports passing through options to pkgadd, take a look in
>> /etc/opt/csw/pkgutil.conf.
> --------------------------------------------------------------
> Hello I uncommented the line and it still does not work is there anything 
> special that i might need to do. i am using pkgutil 2.6.6
> # Options to use for pkgadd
> # You can set it to -S to skip displaying the license during install.
> # Solaris 10: If you wish to limit pkgutil to installing packages
> #             only to the global zone, set it to -G. Note that pkgrm
> #             does not have the same option.
> # WARNING: do not modify this unless you know what you're doing.
> # Default: blank
> pkgaddopts=-G -S
> root at xxxxzonesvr05 # /opt/csw/bin/pkgutil -t 
> http://server1/opencsw/unstable/ -i puppet3 -G
> Unknown option: G
> pkgutil 2.6.6, install Solaris packages the easy way.
> Usage: pkgutil [option]... [package](-[version])...
> ————————————————————————————————————

Uncommenting the line is sufficient, the -G option is for pkgadd, not for pkgutil itself.

Best regards

  — Dago

"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2418 bytes
Desc: not available
URL: <>

More information about the users mailing list