Skip to main content

[pkg-discuss] Re: unsetting publisher info inside zone

  • From: Tim Foster < >
  • To:
  • Cc: "Sajith C.R." < >, Shawn Walker < >
  • Subject: [pkg-discuss] Re: unsetting publisher info inside zone
  • Date: Wed, 02 Oct 2013 11:14:02 +1300

On 09/27/13 05:53 PM, Sajith C.R. wrote:
Thanks Shawn for the reply. What I have observed is, when publisher
is removed from the global zone, attempt to remove the publisher from
non-global zone fails with message :: "pkg unset-publisher: Removal
failed for 'xxxxx': xxxxx is a system publisher and cannot be
unset."

Right - that indicates one of two things:

* you still have packages installed in the non-global zone that belong to that publisher

* (less likely, but possible) the system-repository, zones-proxyd or zones-proxy-client services are not running, and so the non-global zone has not received the updated publisher configuration from the global zone

Can you clarify please?

        cheers,
                        tim




Thanks & Regards,
Sajith


-----Original Message-----
From: Shawn Walker 
[mailto: ]
Sent: Thursday, September 26, 2013 11:39 PM
To: 

Cc: Sajith C.R.
Subject: Re: [pkg-discuss] unsetting publisher info inside zone

On 09/26/13 06:57, Sajith C.R. wrote:
Hi,

  From Solaris 11.1 onwards, when a publisher is set in the global zone,
the publisher is also set inside a non-global zone as syspub.

But if the publisher is removed from the global zone, most of the time
publisher inside the zone do not go away but just get disabled.

How to remove publisher info from non-global zone in such cases?

If there are any packages still installed for that publisher, or if any
customisations have been made to the publisher inside of the zone, the
publisher will remain behind, but disabled.

Since it is disabled, it should not cause any harm.

However, if the publisher is no longer present in the global zone, you
should be able to remove it from the non-global zone by executing "pkg
unset-publisher $name" inside the zone.

-Shawn




[pkg-discuss] Re: unsetting publisher info inside zone

Tim Foster 10/01/2013
 
 
Close
loading
Please Confirm
Close