microsoft / vso-agent

Visual Studio Team Services and TFS agent for Mac OSX and Linux
MIT License
132 stars 57 forks source link

Error installing agent on Centos: Failed: WARNING: Unzip (tee) Failed with return code 127 #268

Closed andyfisher100 closed 8 years ago

andyfisher100 commented 8 years ago

I have a new Centos image which i have created a user and then went to install the agent. I get the following output:

[_USER_@_MACHINENAME_ myagent]$ curl -skSL http://aka.ms/xplatagent | bash
Platform: Linux

--------------------------------------
     Acquiring Node 5.6.0
--------------------------------------

Downloading Node 5.6.0 @ https://nodejs.org/dist/v5.6.0/node-v5.6.0-linux-x64.tar.gz
Setting internal node in path
using node : /home/_USER_/myagent/runtime/node/bin/node
using npm  : /home/_USER_/myagent/runtime/node/bin/npm

--------------------------------------
     Acquiring TEE CLI 14.0.2-private
--------------------------------------

Downloading  TEE CLI 14.0.2-private
Failed: WARNING: Unzip (tee) Failed with return code 127.  This is only critical if using TFSVC (not needed for git)

As I'm only going to use the agent for Git repos, i feel that the error doesn't concern me. However, the install does not continue meaning there is no run.sh to configure the agent

bryanmacfarlane commented 8 years ago

Yes, that's why we label it as a warning. I'll check why it doesn't continue

Go to the releases tab in this repo and grab the tar.gz as a workaround. That has a fully realized agent

lohmander commented 8 years ago

I'm experiencing the same issue on Ubuntu 14.04.

bryanmacfarlane commented 8 years ago

The releases tab has a full tar.gz download is failing

gustavopercio commented 8 years ago

Just install unzip and it will install fine. Run:

sudo apt-get install unzip