Support Repository
From pressy's brainbackup
Support Repository
After installing Solaris11 you will find "only" the default Oracle repository:
pressy@sol11vmc1:~$ pkg publisher PUBLISHER TYPE STATUS URI solaris origin online http://pkg.oracle.com/solaris/release/ pressy@sol11vmc1:~$ pfexec pkg update -nv No updates available for this image. pressy@sol11vmc1:~$
So if you own a valid service contract, you are allowed to add the support repository:
Log into the following site and download the SSL key and certificate http://pkg-register.oracle.com/
pressy@sol11vmc1:/$ su - Password: Oracle Corporation SunOS 5.11 11.0 November 2011 Sourcing /root/.profile-EIS..... root@sol11vmc1 # cd ~pressy root@sol11vmc1 # ls Oracle_Solaris_11_Support.certificate.pem Oracle_Solaris_11_Support.key.pem root@sol11vmc1 # mkdir -m 0755 -p /var/pkg/ssl root@sol11vmc1 # mv O* /var/pkg/ssl root@sol11vmc1 # root@sol11vmc1 # pkg set-publisher -k /var/pkg/ssl/Oracle_Solaris_11_Support.key.pem \ root@sol11vmc1 > -c /var/pkg/ssl/Oracle_Solaris_11_Support.certificate.pem \ root@sol11vmc1 > -O https://pkg.oracle.com/solaris/support/ solaris root@sol11vmc1 # pkg publisher PUBLISHER TYPE STATUS URI solaris origin online https://pkg.oracle.com/solaris/support/ root@sol11vmc1 # pkg publisher solaris Publisher: solaris Alias: Origin URI: https://pkg.oracle.com/solaris/support/ SSL Key: /var/pkg/ssl/91379285378c502ecc0e85955ec5b96a0ffd2661 SSL Cert: /var/pkg/ssl/e634fcc62bb708645c963fa63403ef5b322b1f5b Cert. Effective Date: November 7, 2011 02:26:45 PM Cert. Expiration Date: November 14, 2012 02:26:45 PM Client UUID: 00000000-3f24-fe2e-0000-000068120608 Catalog Updated: January 17, 2012 05:49:19 PM Enabled: Yes Signature Policy: verify root@sol11vmc1 # root@sol11vmc1 # pkg update -nv Packages to update: 24 Estimated space available: 11.51 GB Estimated space to be consumed: 172.97 MB Create boot environment: Yes Activate boot environment: Yes Create backup boot environment: No Rebuild boot archive: Yes Changed packages: solaris consolidation/desktop/desktop-incorporation 0.5.11,5.11-0.175.0.2.0.3.0:20111201T181125Z -> 0.5.11,5.11-0.175.0.3.0.4.0:20111229T185632Z consolidation/desktop/gnome-incorporation 0.5.11,5.11-0.175.0.2.0.2.0:20111118T053235Z -> 0.5.11,5.11-0.175.0.3.0.4.0:20111229T185636Z consolidation/osnet/osnet-incorporation [...] root@sol11vmc1 # pkg update Packages to update: 24 Create boot environment: Yes Create backup boot environment: No DOWNLOAD PKGS FILES XFER (MB) Completed 24/24 624/624 25.4/25.4 PHASE ACTIONS Removal Phase 117/117 Install Phase 126/126 Update Phase 644/644 PHASE ITEMS Package State Update Phase 48/48 Package Cache Update Phase 24/24 Image State Update Phase 2/2 A clone of solaris-1 exists and has been updated and activated. On the next boot the Boot Environment solaris-2 will be mounted on '/'. Reboot when ready to switch to this updated BE. --------------------------------------------------------------------------- NOTE: Please review release notes posted at: http://www.oracle.com/pls/topic/lookup?ctx=E23824&id=SERNS --------------------------------------------------------------------------- root@sol11vmc1 # root@sol11vmc1 # root@sol11vmc1 # pkg info entire Name: entire Summary: entire incorporation including Support Repository Update (Oracle Solaris 11 11/11 SRU 03). For more information see https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=REFERENCE&id=1372094.1 Description: This package constrains system package versions to the same build. WARNING: Proper system update and correct package selection depend on the presence of this incorporation. Removing this package will result in an unsupported system. Category: Meta Packages/Incorporations State: Installed Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.3.0.4.0 Packaging Date: December 29, 2011 07:15:05 PM Size: 5.45 kB FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.0.3.0.4.0:20111229T191505Z root@sol11vmc1 #
my try
just tried it and failed for any reasons behind a proxy with my settings.... what worked was:
root@mpress03:~# pkg unset-publisher solaris Updating package cache 1/1 root@mpress03:~# root@mpress03:~# root@mpress03:~# pkg publisher PUBLISHER TYPE STATUS P LOCATION root@mpress03:~# pkg set-publisher -k /root/certs/pkg.oracle.com.key.pem -c /root/certs/pkg.oracle.com.certificate.pem -g https://pkg.oracle.com/solaris/support/ --proxy http://proxy.solaris.local:3128 solaris root@mpress03:~#