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.
Did you get the error before or after you used set-publisher --disable?
Before.
Doing the disable solved the problem but it seems the
other workaround is to use --no-refresh.
I think I'll add a "pkg set publisher -d darrenr" to my
first-boot-install service..
Darren
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss