DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Solaris

Solaris SUN Solaris & OpenSolaris.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th February 2013
Padya Padya is offline
New User
 
Join Date: Feb 2013
Posts: 1
Thanked 0 Times in 0 Posts
Default pkgadd fails to install solaris packages in global and local zones as well.

Hi,

I have created solaris native packages using pkgbuild tool and trying to install package over a box configured with global and local zones as well.
Expected outcome is : it should install packages on global and local zones as well.
I m facing below error message:
ERROR: The package <BLOGrscd> has <SUNW_PKG_ALLZONES> = true and <SUNW_PKG_THISZONE> = true: the package may set either parameter to true, but may not set both parameters to true.

I have tried setting appropriate these variable values in spec file while package creation. But still getting the same error.

I request for help.
Reply With Quote
  #2   (View Single Post)  
Old 1st March 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 3,193
Thanked 182 Times in 149 Posts
Default

Maybe you could ask on http://www.unix.com/solaris/ That forum has much more Solaris related posts than we have here.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 4th March 2013
gpatrick gpatrick is offline
Shell Scout
 
Join Date: Nov 2009
Posts: 122
Thanked 0 Times in 0 Posts
Default

Set SUNW_PKG_HOLLOW, SUNW_PKG_ALLZONES, SUNW_PKG_THISZONE to false for each.

Then if you install using pkgadd in the global zone it installs there and all zones. If installed in a non-global zone it is only installed there.

In fact, you can't have ALLZONES and THISZONE both set to true.
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
Solaris 11 express auto-install, documents are where? Mr-Biscuit Solaris 1 31st December 2010 02:57 AM
vsftpd + virtual users install on solaris revzalot Solaris 3 29th October 2010 05:47 PM
Update httpd.conf IPs from DNS zones. bigb89 Programming 16 2nd December 2008 02:02 AM
PC-BSD 1.5.1 fails to install archp2008 FreeBSD Installation and Upgrading 27 1st July 2008 11:47 PM
rum0 driver wireless fails after install jasites OpenBSD General 10 2nd June 2008 12:14 PM


All times are GMT. The time now is 04:26 AM.


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