Small update:

PKG client:
HTTP: GET /file/0/e55f6c8992a67bc02f39fffd975a87f26a4afbb6 HTTP/1.1
HTTP: User-Agent: pkg/105ecd539b7d (sunos i86pc; 5.11 snv_134; full; pkg)
HTTP: Accept: */*
HTTP: X-IPkg-UUID: 476d8ab4-2f74-11df-9302-801e37d4fe16

PKG mirror:
HTTP: HTTP/1.1 404 Not Found
HTTP: Date: Tue, 16 Mar 2010 18:32:45 GMT
HTTP: Content-Length: 761
HTTP: Content-Type: text/html;charset=utf-8
HTTP: Server: CherryPy/3.1.1

# pkg search -r e55f6c8992a67bc02f39fffd975a87f26a4afbb6
INDEX                                    ACTION VALUE
     PACKAGE
e55f6c8992a67bc02f39fffd975a87f26a4afbb6 file
usr/lib/libsigsegv.so.0.0.0 pkg:/library/[email protected]
e55f6c8992a67bc02f39fffd975a87f26a4afbb6 file
usr/lib/libsigsegv.so.0.0.0 pkg:/library/[email protected]

So that means some files are not located on the mirror.

On Tue, Mar 16, 2010 at 7:08 PM, Shawn Walker <[email protected]> wrote:
> 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
>



-- 
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to