On Wed 23 Feb 2011 at 10:28AM, Enda O'Connor wrote:
> root@milly:~# beadm activate snv_159
> Unable to activate snv_159.
> Error running pkg(1M).
> root@milly:~#  beadm activate snv_155
> Unable to activate snv_155.
> Error running pkg(1M).
> root@milly:~#

Sometimes beadm prints more useful error messages when invoked with the
BE_PRINT_ERR environment variable set to true.  Does this tell you
anything more?

# BE_PRINT_ERR=true beadm activate snv_155

If not, you can probably find the pkg command that is failing with:

# truss -f -t exec,write -w 2 -v exec -ae beadm activate snv_155

The -w 2 should make it so that anything that pkg spits to stderr is
displayed by truss as well.

-- 
Mike Gerdts
Solaris Core OS / Zones
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to