[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 2] Shell Interactive With Zenity Episode 5 -- list

[Level 2] iif in Python