On 9/6/2011 3:38 PM, Shawn Walker wrote:
On 09/06/11 15:36, Shawn Walker wrote:
On 09/06/11 15:23, [email protected] wrote:
Hi Folks,

I'm looking for some best practice guidelines here. If we maintain a
mirror of the Solaris 11 repository, we typically pull over the latest
build of the S11 repo. How best should we manage clients running older
builds which are not available on the mirror? For example, if my client
is at b169 and my mirror was created with b172, and I try to install a
package, I've seen errors like:


Reject:
pkg://solaris/library/java/[email protected],5.11-0.172:20110816T143014Z
Reason: This version is excluded by installed incorporation
pkg://solaris/consolidation/dbtg/[email protected],5.11-0.169:20110705T151743Z




Some options are:

- dont support older builds; require clients to pkg update to the latest
build on the mirror first. But possibly customers may not want to do
this if they have standardized on a specific version.

- require the mirror to maintain older content. e.g.

pkgrecv -s http://ipkg.us.oracle.com/solaris11/dev -d <myrepo>
'*@0.5.11,5.11-0.169'
(BTW, is this the correct command?)

At the moment, there's no reliable command that will get you all of the
packages form a single build. You have to determine that list of
packages manually, or simply mirror everything.

Okay, I'll expand on that. There is one reliable way, but there isn't a command to do it.

The only reliable way to get all of the packages from a single build currently is to use the repository ISO images for each build.
My concern is mirroring everything could take up a lot of unecessary space, not to mention the time required to complete initial mirror. Just pulling over a single build (around 5-6GB) can take a couple of hours. Pulling over from each ISO seems like a cumbersome process, given that all the content is already available at the repo URL.

Is adding support to pkgrecv to pull over a specific build worthy of a CR?

Thanks,

--shri


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

Reply via email to