On Mon, Aug 20, 2012 at 05:39:50PM +0100, Enda o'Connor - Oracle Ireland - 
Software Engineer wrote:
> Hi
> I have a system with SRU 10 build 02, i want to go to SRU 10 build
> 05 ( final build for SRu 10 )
>

...

> the zones that appear to be ok, 5240[a|b|c ] all have solaris-small-server.
>
> Eventually I got an error message via
> root@pst5240b:~#  pkg -R /zonepool/s11zones/5240d/root update
> "[email protected],5.11-0.175.0.10.0"
> Creating Plan \
> pkg update: The installed package group/system/solaris-large-server
> is not permissible.
>   Reject: 
> pkg://solaris/group/system/[email protected],5.11-0.175.0.0.0.2.2576:20111020T063610Z
>   Reason:  All versions matching 'group' dependency
> pkg:/system/ldoms/ldomsmanager are rejected
>     Reject: 
> pkg://solaris/system/ldoms/[email protected],5.11-0.151.0.1:20101105T061032Z
>
> pkg://solaris/system/ldoms/[email protected],5.11-0.175.0.0.0.1.0:20111012T230635Z
>
> pkg://solaris/system/ldoms/[email protected],5.11-0.175.0.4.0.2.0:20120119T202511Z
>     Reason:  Excluded by proposed incorporation
> 'consolidation/ldoms/ldoms-incorporation'
>     Reject: 
> pkg://solaris/system/ldoms/[email protected],5.11-0.175.0.8.0.3.0:20120525T222048Z
>     Reason:  Package doesn't support image variant variant.opensolaris.zone
>
> root@pst5240b:~#
>
> So if there is no CR to cover this lack of error message is it
> feasible to have pkg fixed so that pkg udpate alone can tell me the
> error without having to resort to this.
>

hey enda,

there are assorted CRs to improve error reporting under certain conditions, but
i'm not sure there's anything we can do right now directly for this particular
situation.

that said, the failure you've pointed out seems like a potentially serious bug.

specifically, in s11u1_22 the ldomsmanager dependency in solaris-large-server
has a global zone variant tag:

---8<---
edp@mcescher$ pkg contents -rm solaris-large-server | grep ldomsmanager
depend fmri=system/ldoms/ldomsmanager type=group variant.arch=sparc 
variant.opensolaris.zone=global
---8<---

but the latest solaris-large-server package from s11sru02 doesn't:

---8<---
edp@mcescher$ pkg list -g http://ipkg.us.oracle.com/solaris11/support -favH 
solaris-large-server
pkg://solaris/group/system/[email protected],5.11-0.175.0.0.0.2.2576:20111020T063610Z
 ---
edp@mcescher$ pkg contents -g http://ipkg.us.oracle.com/solaris11/support -m 
solaris-large-server | grep ldomsmanager
depend fmri=system/ldoms/ldomsmanager type=group variant.arch=sparc
---8<---

previous version of pkg.1 ignored these kind of package metadata errors, but
that was a bug (7161790) which has been fixed, and that fix was backported to
s11sru10.

assuming that the ldomsmanager dependency in solaris-large-server hasn't been
fixed in s11sru10_05, then this would cause the failure you're seeing.  if this
is the case then a bug that needs to get filed since this would be a stopper
issue for releasing s11sru10_05.

ed
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to