pkgrm on Solaris 10 with zones

pkgrm on Solaris 10 with zones

Post by P » Sat, 31 Dec 2005 05:10:54



Hi,

I've installed a package by using pkgadd -G and now I want to uninstall
something on a Solaris 10 system with a sub zone.  I looked into Sun's
documentation for pkgrm and it said I could use -G just as I could with
pkgadd.  However, when I did a man on pkgrm, -G is not listed.  I came
across a post that says -G isn't implemented yet.

When I just use pkgrm, it'll display the following:

## Waiting for up to <300> seconds for package administration commands
to become available (another user is administering packages on zone
<ember>)

(ember is the subzone)

How do I get around this problem?

Thanks

 
 
 

pkgrm on Solaris 10 with zones

Post by Michael Wei » Sat, 31 Dec 2005 05:21:26


Hi P,

take a look at pkginfo(4). There you can find a description of 3 new
Parameter.
SUNW_PACKAGE_ALLZONES is the on of interest for you.

HTH,

Michael


> Hi,

> I've installed a package by using pkgadd -G and now I want to
> uninstall something on a Solaris 10 system with a sub zone.  I looked
> into Sun's documentation for pkgrm and it said I could use -G just as
> I could with pkgadd.  However, when I did a man on pkgrm, -G is not
> listed.  I came across a post that says -G isn't implemented yet.

> When I just use pkgrm, it'll display the following:

> ## Waiting for up to <300> seconds for package administration commands
> to become available (another user is administering packages on zone
> <ember>)

> (ember is the subzone)

> How do I get around this problem?

> Thanks


 
 
 

pkgrm on Solaris 10 with zones

Post by P » Sat, 31 Dec 2005 05:24:47


Hi Michael,

Thanks for the reply.  I've read it before and correct me if I'm wrong
but if  SUNW_PACKAGE_ALLZONES is not defined as a parameter in pkginfo,
it's treated as FALSE and that's the value I want?

 
 
 

pkgrm on Solaris 10 with zones

Post by P » Sat, 31 Dec 2005 06:51:18


Sorry I forgot to mention that I installed the package in the global
zone with the -G option.

The following message was displayed when I tried to do a pkgrm in the
global zone (note: ember is a non-global zone):

## Waiting for up to <300> seconds for package administration commands
to become available (another user is administering packages on zone
<ember>)

 
 
 

1. Solaris 10 zones - communication between zones

For example I have Sun server with quad FE card. I create 4 zones and each
zone is assigned specific FE port. Each zone has some specific default gw
configured to some real router. If I try to communicate from one zone to
another, will it go thru network via router like 2 different physical
machine or will they communicate virtually thru global zone without packets
ever leaving to NIC.
I would like to use Solaris containers for simulating lot of different pcs
in network.

thanks,
jm

2. Uptime rollover, How to tell real uptime?

3. Solaris 10 SMF errors on pkgrm SUNWsndmr.

4. X/Motif Training

5. solaris 10 zone / container question (or Solaris 9)

6. Lilo

7. Networking, Zones, & Firewall Question w/ Solaris 10+

8. Help! Bootdisk doesn't do anything

9. Problem installing oracle in Solaris 10 zone

10. Hands off application installations on Solaris 10 zones

11. Solaris 10: Running Xsun in a seperare zone...

12. Package exclude when creating a Solaris 10 Zone

13. Why are some packages installed in all zones for Solaris 10, but some packages are not ?