Set OpenSolaris publisher to local software store

1. unset http_proxy

2. pfexec pkg unset-publisher opensolaris.org

3. pfexec pkg unset-publisher contrib.opensolaris.org

4. pfexec pkg set-publisher -O http://ips-pkg.sh.intel.com/dev opensolaris.org

5. pfexec pkg refresh

6. pfexec pkg image-update

http://blog.chinaunix.net/u1/41699/showart_2050394.html

change

pfexec pkg set-authority \
-k /var/pkg/ssl/OpenSolaris_extras.key.pem \
-c /var/pkg/ssl/OpenSolaris_extras.certificate.pem \
-O https://pkg.sun.com/opensolaris/extra/ extra

to

pfexec pkg set-publisher \
-k /var/pkg/ssl/OpenSolaris_extras.key.pem \
-c /var/pkg/ssl/OpenSolaris_extras.certificate.pem \
-O https://pkg.sun.com/opensolaris/extra/ extra

你可能感兴趣的:(C++,c,.net,C#,sun)