Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

IPS pkg install problem

AJW_UK_DBAJul 4 2013 — edited Jul 7 2013

Hello,

I am in receipt of 5 new shiney T4-1 Servers, pre-loaded with Solaris 11 which I am trying to configure up.

Hitting an apparent snag when I look to do anything with IPS.

Followed a series of instructions, which are in essence:

1) Download the 2 part ISO files from Oracle.

2) Cat the .iso files together to make a full repository iso.

3) Mount the ISO as hsfs (/mnt)

4) RSync the contents of the mounted ISO to a zfs location (/rpool/repository)

5) Rebuild the repository location with 'pkgrepo rebuild'

6) Check the repository contents with 'pkgrepo info'

root@euripedes:/rpool/repository/repo/publisher/solaris/pkg# pkgrepo info -s /rpool/repository/repo

PUBLISHER PACKAGES STATUS           UPDATED

solaris   4401     online           2013-07-04T11:02:08.212013Z

7) Configure the publisher to local file-based:

root@euripedes:/rpool/repository/repo/publisher/solaris/pkg# pkg publisher

PUBLISHER                   TYPE     STATUS P LOCATION

solaris                     origin   online F file:///rpool/repository/repo/

Now, if I try and install ANY package, I get 100 returns of the following error message type:

root@euripedes:/rpool/repository/repo/publisher/solaris/pkg# pkg install motif
           Packages to install:  2
       Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                PKGS         FILES    XFER (MB)   SPEED
library/motif                            0/2       309/743      0.5/5.0   cache

Errors were encountered while attempting to retrieve package or file data for
the requested operation.
Details follow:

1: file protocol error: code: 2 reason: No file could be found for the specified hash name: 'a9e2b148c65eb17988a80f126eb4f4628c2c5ace'.
Repository URL: 'file:///rpool/repository/repo'. (happened 4 times)

The error lines above get repeated 100 times, with different hash name values.

Whilst I have downloaded the files multiple times, checked the md5 checksums, re-installed the repository from the isos, I continue to get the same errors over and over (even trying other install targets).

Is something getting corrupted, or I am missing something somewhere?

Tony.

This post has been answered by AJW_UK_DBA on Jul 5 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2013
Added on Jul 4 2013
4 comments
1,903 views