Hi Anil,

Am 24.03.2014 um 18:05 schrieb Anil <[email protected]>:
> Peter Bonivart <bonivart@...> writes:
>> On Mon, Feb 3, 2014 at 11:15 AM, Alexander Winkler
>> <work@...> 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@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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to