johansen at sun.com 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. -------- cut and paste from Alan's another message in the same thread ----- Alan Steinberg wrote: > To clarify a little: I was able to only successfully install the > LiveCD when the system I was using had direct access to the > pkg.opensolaris.org. If I turned off networking on the same system, it > failed. This was only for build 118. For Build 117, the same system > succeeded even with networking turned off. > > -- Alan --------------------------------- The installer code should probably be changed to explicitly specify the --no-refresh option too to guarantee that we don't try to contact the repo. I will file a bug so we can investigate whether that's the right thing to do. --Karen
