[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

Comments

Popular posts from this blog

[Level 1] Rar tool for Solaris.

[Level 2] iif in Python