Sunday, September 20, 2009

[Level 1] How to solve the timeout problem, when install package?

When installing packages the operation may fail with the error code 28.
You can set the environment variable PKG_CLIENT_TIMEOUT more,
to prevent timeout. The command as the following:

# PKG_CLIENT_TIMEOUT=1200
# export PKG_CLIENT_TIMEOUT
# pkg install <name of packages>

Wish this helps.

regards,
Stanley Huang