Support Repository

From pressy's brainbackup
Jump to: navigation, search

Support Repository

After installing Solaris11 you will find "only" the default Oracle repository:

pressy@sol11vmc1:~$ pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online
pressy@sol11vmc1:~$ pfexec pkg update -nv
No updates available for this image.

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

pressy@sol11vmc1:/$ su - 
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 solaris
root@sol11vmc1 # pkg publisher 
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online
root@sol11vmc1 # pkg publisher solaris

            Publisher: solaris
           Origin URI:
              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:
    0.5.11,5.11- -> 0.5.11,5.11-
    0.5.11,5.11- -> 0.5.11,5.11-

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:

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
   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
Packaging Date: December 29, 2011 07:15:05 PM 
          Size: 5.45 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-
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:~# pkg publisher
root@mpress03:~# pkg set-publisher -k /root/certs/ -c /root/certs/ -g --proxy http://proxy.solaris.local:3128 solaris