On 03/16/10 01:01 PM, Shawn Walker wrote:
On 03/16/10 12:54 PM, Piotr Jasiukajtis wrote:
It doesn't work on all of my hosts. It's not related to the bad client
configuration unless
for b134 we need to use something other than "-m".
opensolaris.org (preferred) origin online
http://pkg.opensolaris.org/dev/
opensolaris.org (preferred) mirror online http://my-mirror/
Keep in mind that that works for all build before b134.
PKG client is connecting to the mirror, but it downloads files from
pkg.opensolaris.org/dev.
Ah, this was the result of a misunderstanding. "mirror" in pkg(5)
terminology only includes the files in packages (content) -- it doesn't
include catalogs or package manifests (metadata). "origins" are what
provide metadata and package content.
It has always worked this way, so I suspect your client already had the
other metadata cached so you didn't notice it.
If you don't want to contact the pkg.opensolaris.org/dev server at all,
then you'll have to remove the mirror using -M from the opensolaris.org
publisher, and then replacing the existing origin with "http://my-mirror".
I'd note that if you created this mirror using the rsync service
pkg.opensolaris.org provides, you don't have this option. Your client
will have to retrieve metadata from pkg.opensolaris.org.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss