Solaris/Upgrade

From Segfault
Jump to: navigation, search

Solaris 11 11/11 to Solaris 11.1

Oracle recommends[1] the following procedure for a system w/o zones:

pkg update --accept
reboot

Update pkg and the rest of the system:

pkg update pkg:/package/pkg
pkg update --be-name solaris-11.1 --accept
reboot

Solaris 11.1 to Solaris 11.2

pkg set-publisher -G http://pkg.oracle.com/solaris/beta -g http://pkg.oracle.com/solaris/release
pkg update --accept
reboot

Solaris 11 Oracle Support Repositories

To use the Oracle Support Repositories[2], we first have to https://pkg-register.oracle.com and request a certificate and a key from Oracle. Now we can replace our standard repository:

$ pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://pkg.oracle.com/solaris/release/

$ sudo pkg set-publisher -k pkg.oracle.com.key.pem -c pkg.oracle.com.certificate.pem \
       -G "*" -g https://pkg.oracle.com/solaris/support/ solaris
Refreshing catalog 1/1 solaris 3.59 MB

$ pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F https://pkg.oracle.com/solaris/support/

List available updates with pkg list -u, simulate an update with pkg update -nv - and perform an actual update with pkg update.

References