Search code examples
ruby-on-railsubuntuherokuheroku-toolbelt

Installing Heroku Toolbelt Ubuntu unmet dependencies


I am trying to install heroku toolbelt for Ubuntu using the following command

sudo wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh

I get the following error

The following packages have unmet dependencies:
 heroku-toolbelt : Depends: heroku (= 3.99.4) but 6.11.7-1 is to be installed
E: Unable to correct problems, you have held broken packages.

I previously had heroku installed but the version was deprecated and the error presits after using the gem update heroku command any ideas


Solution

  • That is not the right script. Use wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh