See How to Update a Local IPS Package Repository for details of these steps.
Make sure you have a current snapshot of the destination repository. Make a ZFS clone of this snapshot.
Use the pkgrecv command to clone your previously updated local package repository to the copy of the destination repository. See the pkgrecv(1) man page for more information about the pkgrecv clone operation.
$ pkgrecv -s /net/host1/export/IPSpkgrepos/Solaris \ -d /net/host2/export/IPSpkgrepos/Solaris_tmp --clone
Use the pkgrepo verify command to verify the updated destination repository.
If you are providing the repository through an HTTP interface, restart the SMF service. Be sure to specify the appropriate service instance when you restart the service.
When you are satisfied that your updated repository is working correctly, remove the old repository.
If you are providing the repository through an HTTP interface, see the following related documentation:
Serving Multiple Repositories Using Web Server Access describes how to serve multiple repositories using multiple pkg.depotd daemons running on different ports.
Multiple Repositories Under One Domain describes how to run multiple repositories under one domain name with different prefixes.