On Thu, Sep 09, 2010 at 06:22:37PM -0700, Darren Reed wrote: > On 9/09/10 05:48 PM, [email protected] wrote: > >On Thu, Sep 09, 2010 at 05:40:46PM -0700, Darren Reed wrote: > >>In my test environment, I ran a depot server as publisher "darrenr" > >>to provide a custom package during the initial install. I've since > >>disabled that but now "pkg install" (to install a package from > >>opensolaris.org) complains because it can't contact "darrenr". > >>This error occurred even if I did "pkg install pkg://opensolaris.org/...". > >>I don't understand why it would need to contact "darrenr" if I've > >>told it which publisher to use to install a specific package. > >> > >>What seems to work is to use "pkg set-publisher -d darrenr" to > >>disable the publisher "darrenr". > >Could you include the actual error message that you got when "darrenr" > >wasn't reachable? > > It was a "Connection refused" error when trying to contact > the server where the publisher was previously housed.
I figured as much, but I was curious if the URL was included in the message. If, for example, the url had been http://darrenr/catalog/1/catalog.attrs, then we would have been able to tell that you'd hit this problem doing a catalog refresh before a pkg install. Shawn inferred this from the other symptoms, but I prefer err on the side of pedantry when debugging. > I think I'll add a "pkg set publisher -d darrenr" to my > first-boot-install service.. Maybe I don't understand your problem, but once you've disabled a publisher it should stay disabled. In your script, please use --disable since the -d option isn't documented and is deprecated. (It will be removed in a future dev release). -j _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
