> bash-3.2# pfexec pkg refresh
> pkg: Command not found
> bash-3.2#

1. Don't use 'su -'; use only 'su'.   If you do *insist* on using 'su -' then 
copy your user's
~/.bashrc to /root and symlink /root/.bash_profile -> /root/.bashrc

2. There is no need for root to use pfexec, which is somewhat similar to sudo 
found in Ubuntu.

The pkg utility is in /usr/bin.

> bash-3.2# man pkg
> No manual entry for pkg.

The first thing to check when you get an error like that is:

# echo $MANPATH
--
This message posted from opensolaris.org

Reply via email to