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!

Solaris 11.3 offline support Repository

shirishuklaMay 24 2016 — edited May 25 2016

Have did below step for offline local repository .

1.

# pkgrepo create  /Repository/RepoSolaris11/

2.

# pkgrecv -s https//pkg.oracle.com/solaris/support/ -d  /Repository/RepoSolaris11 --key <path>/pkg.oracle.com.key.pem --cert <path>/pkg.oracle.com.certificate.pem -m all-timestamps '*'

# pkgrepo rebuild -s /Repository/RepoSolaris11/

#

3. Have set the http access and am able to view all version packages using web url

# pkg set-publisher -G '*' -M '*'  -g http://myhostname/S11MainRepo solaris

4.Can see all packages

# pkgrepo list -H -shttp://myhostname/S11MainRepo


PUBLISHER                   TYPE     STATUS P LOCATION

solaris                     origin   online F http://myhostname/S11MainRepo

But,

1. When I try to install any package am getting below error .

Errors were encountered while attempting to retrieve package or file data for

the requested operation.

Details follow:

http protocol error: code: 404 reason: Not Found

URL: 'http://myhostname/S11MainRepo/solaris/manifest/0/library%2Fpython%2Fpygobject-27@2.21.3%2C5.11-0.175.3.0.0.26.0%3A20150705T203156Z' (happened 4 times)


Please assist what am doing wrong here .

Also,

1. Is there any way to delete previous versions from repository, as have selected all-timestamps
2. Can pkgrecv only some specific versions .

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 22 2016
Added on May 24 2016
7 comments
1,823 views