Cli: can not install heroku-cli on unbuntu 16.04

Created on 5 May 2018  路  4Comments  路  Source: heroku/cli

sudo apt update
https://cli-assets.heroku.com/branches/stable/apt ./ Release
Operation timed out after 0 milliseconds with 0 out of 0 bytes received

sudo apt install heroku
https://cli-assets.heroku.com/branches/stable/apt ./ heroku 7.0.25-1
Operation timed out after 0 milliseconds with 0 out of 0 bytes received

sudo snap install --classic heroku
error: cannot perform the following tasks:

  • Run configure hook of "heroku" snap if present (run hook "configure": /snap/heroku/2434/snap/hooks/configure: 3: /snap/heroku/2434/snap/hooks/configure: heroku: not found)

Most helpful comment

Thank you. I completed the installation with
curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

All 4 comments

I've fixed the issue with the snap so that should work now.

The urls seem valid: curl -Lv https://cli-assets.heroku.com/branches/stable/apt/./Release works fine. It looks like it might've been a networking issue.

what happens if you run the script though? curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

thank you.
the good news is i completed the installation with
curl https://cli-assets.heroku.com/install-ubuntu.sh | sh
on my virtual host on c9.io.
to install on my local computer still failed in all these ways. i think it is caused by the GFW, though i have set http and https proxies with polipo.

Thank you. I completed the installation with
curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

Thank you it worked foe me
curl https://cli-assets.heroku.com/install-ubuntu.sh | sh

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rpsadarangani picture rpsadarangani  路  5Comments

fishcharlie picture fishcharlie  路  8Comments

edmorley picture edmorley  路  3Comments

ValentinTrinque picture ValentinTrinque  路  3Comments

beerlington picture beerlington  路  9Comments