Please try to do as following solutions:
1. If the following files exist try removing (or renaming if you prefer to be safer) them
2. chmod 777 var/package/tmp/package.xml should do the trick.
the directory is from your magento home directory.
3. Config hosting change maximum upload file size (larger than 3mb) and set execute time to larger 128
4. If you can not resolve it, please try to install there modules via FTP (upload and unzip the module package into the webroot folder in your site)
Answer for Tried to install some modules for Ves Extroic through magento connect but failed