DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Solaris

Solaris SUN Solaris & OpenSolaris.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 19th September 2008
nacredata nacredata is offline
Port Guard
 
Join Date: May 2008
Posts: 12
Default pkg inside non-global zone?

How do I install a package in a non-global zone? The same command which works in the base install seems to fail when I zlogin and then run the command.
Reply With Quote
  #2   (View Single Post)  
Old 28th September 2008
bienc bienc is offline
New User
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 8
Default

The -G option to pkgadd:

Quote:
Add package(s) in the current zone only.
When used in the global zone, the package is
added to the global zone only and is not
propagated to any existing or yet-to-be-
created non-global zone. When used in a
non-global zone, the package(s) are added to
the non-global zone only.

This option causes package installation to
fail if, in the pkginfo file for a package,
SUNW_PKG_ALLZONES is set to true. See
pkginfo(4).
If you show the actual command you're running and the output it would probably help more.

man pkgadd
Reply With Quote
  #3   (View Single Post)  
Old 30th September 2008
roundkat roundkat is offline
Shell Scout
 
Join Date: May 2008
Posts: 115
Default

Quote:
Originally Posted by nacredata View Post
How do I install a package in a non-global zone? The same command which works in the base install seems to fail when I zlogin and then run the command.
It depends on the package, where it wants to install

i.e. installation directory

SunFreeware
/usr/local

BlastWave
/opt/CSW/

Colab (subversion packages)
/opt

Code:
pkgadd -d <package name>
is the standard way for both non-global and global...

Sparse Root Zone
shared (read only) from global (by default)
/usr
/lib
/sbin

If you provide more details, I will try to help more.

hth
rk
__________________
All posts sent on ReCycled Electrons...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DMZ zone - I can't find a mistake... maurobottone OpenBSD Security 23 11th January 2009 11:27 PM
Samba global share Weaseal General software and network 1 17th July 2008 10:48 AM
Zone problem c0mrade General software and network 3 22nd June 2008 03:31 PM
no internet connection inside jail...? bgobs FreeBSD General 11 17th June 2008 04:36 PM


All times are GMT. The time now is 11:46 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick