On 12/08/11 12:50, Alan Steinberg wrote:


On 12/ 8/11 11:19 AM, Pete Libke wrote:

On 12/08/11 11:02, Alan Steinberg wrote:
I assumed that you have network access to the release repository. If you do not, then you would need to set up a local repository from the S11 release repo ISOs, and set your publisher there. Is this what you meant by "Installed base S11 from local DVD.", or are you just referring to the installation media here?
booted and admittedly assuming installed S11 from the boot media. 

regardless, the network configuration hasn't been altered by myself.

-- Alan

On 12/ 8/11 10:56 AM, Pete Libke wrote:
Apologies if this doesn't match the corrected README instructions.
Steps leading to add SRU2 iso as publisher

booted from DVD
ok boot cdrom
invoked [1] install solaris
 (admittedly I'm assuming it used DVD as install source but selected automatic network configuration)
after install completes,
invoke 3 shell

Mount sru2 iso as hsfs at /mnt

The SRU is an update. You need to first reboot before you can apply the packages. The Usage section of the README states:

    This repository copy requires implementation on a system with a minimum OS
    level of Oracle Solaris 11 11/11.
I'm attempting to apply the SRU to a large server os mounted at /a

That means the system is up and running Solaris 11, not still in the miniroot shell.

After rebooting, confirm that you have network connectivity. If you do, then you can proceed. If not, you will have to first either configure the network or download the fulll repo S11 repo ISO.

-- Alan
In my defense I had earlier confirmed my usage model valid.

Does it not feel like an RFE is warranted?  I can install base S11 without a network but it's required for a local iso SRU update?

Thanks, Pete



root@csmx51-a06:/root# pkg -R /a publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online   http://pkg.oracle.com/solaris/release/
root@csmx51-a06:/root#  pkg -R /a set-publisher -g  file:///mnt/repo solaris
pkg set-publisher: Could not refresh the catalog for solaris

Framework error: code: 6 reason: Couldn't resolve host 'pkg.oracle.com'
URL: 'http://pkg.oracle.com/solaris/release/versions/0/'.

Installed base S11 from local DVD.

On 12/08/11 10:12, Alan Steinberg wrote:
The incremental SRU repository ISO is not a complete set of packages, and cannot stand by itself as a repository to install from. You either need to add the repository (with -g) to the existing set of publishers, or add the packages from the incremental ISO to an existing local repository. The current README incorrectly stated to use "-G '*' " to remove the existing publisher. The new revision of the README  correctly leaves out this option.

-- Alan

On 12/ 8/11 09:17 AM, Pete Libke wrote:


On 12/07/11 17:05, Ethan Quach wrote:


On 12/07/11 16:37, Pete Libke wrote:
All, I need a sanity check here.  I'm booted from media, S11RR is installed.

From the install menu I've started 3 shell.

My just installed boot drive is mounted on /a
The iso is mounted on /mnt
pkg publisher set
pkg update returns "unable to contact valid package repository"

What am I missing?

What is the publisher set to in your installed boot drive?

   # pkg -R /a publisher
Thanks Ethan. 

Further now, here's the next stop:

root@csmx51-a06:/# pkg -R /a publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online   file:///mnt/repo/
root@csmx51-a06:/# pkg -R /a update
Creating Plan
pkg update: The following pattern(s) did not match any allowable packages.  Try
using a different matching pattern, or refreshing publisher information:

        pkg:/package/pkg

root@csmx51-a06:/# df /mnt/repo
/mnt               (/tmp/sol-11-1111-sru2-03-incr-repo.iso):       0 blocks        0 files



-ethan



root@csmx51-a06:/# df /
/                  (/devices/ramdisk-root:a):  130910 blocks    42056 files
root@csmx51-a06:/# beadm list
be_find_current_be: failed to find current BE name
BE      Active Mountpoint Space Policy Created         
--      ------ ---------- ----- ------ -------         
solaris R      /a         1.98G static 2011-12-07 21:10
root@csmx51-a06:/# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online   file:///mnt/repo/
root@csmx51-a06:/# ls /mnt/repo/publisher/solaris
catalog  file     index    pkg      tmp      trans
root@csmx51-a06:/#
root@csmx51-a06:/# df /mnt/repo
/mnt               (/tmp/sol-11-1111-sru2-03-incr-repo.iso):       0 blocks        0 files
root@csmx51-a06:/#  pkg -R /a update
pkg: 0/1 catalogs successfully updated:
  
Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
Framework error: code: 6 reason: Couldn't resolve host 'pkg.oracle.com'
URL: 'http://pkg.oracle.com/solaris/release'. (happened 4 times)

root@csmx51-a06:/#
--



Pete Libke | Manager Software Integration Engineering +1.503.495.7891 | Mobile: +1.503.720.6066
Oracle WorldWide Operations
3295 NW 211th Terrace, Hillsboro, Oregon 97124 US




_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

--



Pete Libke | Manager Software Integration Engineering +1.503.495.7891 | Mobile: +1.503.720.6066
Oracle WorldWide Operations
3295 NW 211th Terrace, Hillsboro, Oregon 97124 US




_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

--



Pete


                              Libke | Manager Software Integration
                              Engineering +1.503.495.7891 | Mobile:
                              +1.503.720.6066
Oracle WorldWide Operations
3295 NW 211th Terrace, Hillsboro, Oregon 97124 US




_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

--



Pete Libke | Manager Software Integration Engineering +1.503.495.7891 | Mobile: +1.503.720.6066
Oracle WorldWide Operations
3295 NW 211th Terrace, Hillsboro, Oregon 97124 US




_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

--



Pete Libke | Manager Software Integration Engineering +1.503.495.7891 | Mobile: +1.503.720.6066
Oracle WorldWide Operations
3295 NW 211th Terrace, Hillsboro, Oregon 97124 US


_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to