Days ago,oracle released Oracle  Solaris 11 SRU 2 repo iso p_w_picpath. It contains only the IPS packages that have been added or changed since the initial release of Solaris 11 11/11. It can be used to update a system running Solaris 11 11/11, including systems which are not connected to the internet.

Before you begin

Download following REPO ISO IMAGE From metalink:

1.Oracle Solaris 11 SRU 1 REPO ISO IMAGE

2.Oracle Solaris 11 SRU 2 REPO ISO IMAGE

I created a local package repository server,following picture is my server configuration.

How To Update Local IPS Package Repository_第1张图片

Mount REPO ISO IMAGE files:

How To Update Local IPS Package Repository_第2张图片

Change mode:

The server is by default in read-only mode,you should change it to write mode then you can update IPS Package Repository.After that,use svcadm command to restart the server.

p_w_picpath

Using pkgrecv command to update:

How To Update Local IPS Package Repository_第3张图片

How To Update Local IPS Package Repository_第4张图片

Finally,update your system by new IPS Package Repository.

How To Update Local IPS Package Repository_第5张图片

Configure a Name for the Repository

I copied SRU2 package to local filesystem /tools/update.The default name is solaris,you can find it from pkg5.repository file:

How To Update Local IPS Package Repository_第6张图片

Using following command to change prefix's value.

How To Update Local IPS Package Repository_第7张图片

Fore more information from here.