On Wed, Jul 08, 2009 at 05:28:14PM -0700, Karen Tung wrote:
> [email protected] wrote:
>> On Wed, Jul 08, 2009 at 03:55:24PM -0700, Karen Tung wrote:
>>   
>>> So, sounds like something is changed between b117 and b118 that 
>>> caused  the following command
>>> to fail when the system can't contact the repo.
>>>
>>> The command is: pkg -R /a uninstall -q --no-index SUNWslim-utils
>>>
>>> copying pkg-discuss to see whether somebody over there knows.
>>>     
>>
>>   
>>>>>>> <ICT_E Feb  8 19:12:13> Unable to contact a valid package 
>>>>>>> depot.  This may be due to a problem with the server, network 
>>>>>>>  misconfiguration, or an incorrect pkg client configuration.  
>>>>>>> Please check your network settings and attempt to contact the 
>>>>>>> server using a web browser.
>>>>>>>             
>>
>> It looks like you're trying to contact the network or refresh the
>> catalog when no network connection is available.
>>
>> -j
>>   
> Yes, it certainly looks like the command is trying to contact the network
> to refresh the catalog or something.
>
> According to Alan, this same pkg command works
> in b117 when no network connection is available, but it fails in
> b118.  So, just curious what change occurred between the 2 builds.

The short answer is that we switched transport frameworks after build
117.  Almost all of the networking code got re-written.  I changed this
code to call the captive portal test more aggressively, since we weren't
testing in situations where we probably should have been.  As a
consequence, it got called too frequently, even when not necessary.  I
filed bug 9929 to address this, and it's in the process of being
reviewed now.

Once 9929 is fixed, you should be able to install/uninstall a package
that has all of its bits on disk, without having the portal test
executed.

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

Reply via email to