I need up several instances of OpenSolaris and experience with trying to update a single machine from the opensolaris.org/dev repo suggests that my life would probably improve by having a local mirror.
Some time ago, I tried the official recommended process described at http://hub.opensolaris.org/bin/view/Project+pkg/Mirroring. This was quite problematic because: - Where I really needed the repo has great http/https access but absolutely no rsync access. Tunneling rsync over an http proxy is not an option. - I tried to mirror the repo to a USB drive at home using rsync, then using sneakernet to get it where it really needs to be. That ran for way too many hours that I eventually needed to restart it. Since rsync has such a long delay before it starts to transfer data (presumably walking directory trees at each side) it was impractical for me to restart it and expect it to complete before needing to interrupt it again. - I didn't need all the releases in the repo. - I only need the sparc architecture. Andrzej Szeszo has posted a script that seems to address all of these issues. Is there a reason that this approach is bad? http://aszeszo.blogspot.com/2009/07/ips-repository-mirror-script_27.html It seems to me that the following (adapted from an example in --help) would put just a little more stress on the opensolaris.org/dev repo than "pkg install redistributable" from a fresh install. -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
