I'm trying to install Heroku CLI under instruction from the Odin Project. I followed their instructions and entered into terminal in Linux:
wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh
It appears to be installing but then the error message which appears is the following:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
I have no idea what to do with this information. (I typed "no" in response but that had no effect.) Does anyone out there know how to get past this?
ps. I have entered "heroku version" afterwards, but the only response is:
heroku: command not found
I'm stuck on this early stage because of this error.