I get this error message when I follow the instructions here.
download: s3://aws-codedeploy-us-west-2/latest/install to ./install
root@ip-172-31-25-3:/home/ubuntu# chmod +x ./install
root@ip-172-31-25-3:/home/ubuntu# sed -i "s/sleep(.*)/sleep(10)/" install
root@ip-172-31-25-3:/home/ubuntu# ./install auto
I, [2017-08-12T06:47:30.897859 #5492] INFO -- : Starting Ruby version check.
I, [2017-08-12T06:47:30.898047 #5492] INFO -- : Starting update check.
I, [2017-08-12T06:47:30.898132 #5492] INFO -- : Attempting to automatically detect supported package manager type for system...
E, [2017-08-12T06:47:30.902883 #5492] ERROR -- : Detected both supported rpm and deb package managers. Please specify which package type to use manually.
root@ip-172-31-25-3:/home/ubuntu# ./install deb
I, [2017-08-12T06:47:37.491221 #5502] INFO -- : Starting Ruby version check.
I, [2017-08-12T06:47:37.491448 #5502] INFO -- : Starting update check.
I, [2017-08-12T06:47:37.491518 #5502] INFO -- : Checking AWS_REGION environment variable for region information...
I, [2017-08-12T06:47:37.491597 #5502] INFO -- : Checking EC2 metadata service for region information...
dpkg-query: package 'codedeploy-agent' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
I, [2017-08-12T06:47:37.550679 #5502] INFO -- : Running version No running version
I, [2017-08-12T06:47:37.550789 #5502] INFO -- : Downloading version file from bucket aws-codedeploy-us-west-2 and key latest/VERSION...
I, [2017-08-12T06:47:37.630398 #5502] INFO -- : Downloading version file from bucket aws-codedeploy-us-west-2 and key latest/VERSION...
I, [2017-08-12T06:47:37.652241 #5502] INFO -- : Downloading package from bucket aws-codedeploy-us-west-2 and key releases/codedeploy-agent_1.0-1.1106_all.deb...
I, [2017-08-12T06:47:37.730107 #5502] INFO -- : Executing `/usr/bin/gdebi -n -o Dpkg::Options::=--force-confdef -o Dkpg::Options::=--force-confold /tmp/codedeploy-agent_1.0-1.1106_all.tmp-20170812-5502-azhjhb.deb`...
E, [2017-08-12T06:47:37.730963 #5502] ERROR -- : Error installing /tmp/codedeploy-agent_1.0-1.1106_all.tmp-20170812-5502-azhjhb.deb.```
<img width="1280" alt="screen shot 2017-08-10 at 8 21 11 am" src="https://user-images.githubusercontent.com/5252828/29238701-5f0deb3a-7f32-11e7-96a1-52be15c3c207.png">