Jason Zhao wrote:
Hi, Experts,
I am doing our local pkg server, and the pkg.depotd(1m) advise
me to run "--refresh-index", and it seems like it tries
to update index directory on IPS repo. But when I run the
command:
# pkg.depotd -d <my/repo> --refresh-index.
I found the process will exit immediately after I run it, but
it tries to fork millions of times of "--refresh-index". All
the commands(new processes) exit immediately.
My question are:
- What's usage of "--refresh-index", I could not find it in manual.
- Why does the above command fork so much times on itself? Maybe one
running time would be enough. If the command fails, it should
print detailed information other than repeatedly fork itself.
What's the output of "pkg version"?
I suspect you have encountered a bug that was fixed in a more recent
version.
The purpose of --refresh-index is to rebuild the search indices for the
depot server.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss