I got myself an Azure VM (Standard B1s) so that I can deploy my node.js application. I ran sudo apt update
to check for updates before I tried to install node. It gave me the following errors:
Hit:1 http://azure.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:4 https://packages.microsoft.com/repos/azure-cli wheezy InRelease [3187 B]
Hit:5 https://packages.microsoft.com/repos/vscode stable InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:7 http://ppa.launchpad.net/ubuntu-mate-dev/ppa/ubuntu bionic InRelease
Ign:8 http://ppa.launchpad.net/ubuntu-mate-dev/trusty-mate/ubuntu bionic InRelease
Err:9 http://ppa.launchpad.net/ubuntu-mate-dev/ppa/ubuntu bionic Release
404 Not Found [IP: 91.189.95.85 80]
Err:10 http://ppa.launchpad.net/ubuntu-mate-dev/trusty-mate/ubuntu bionic Release
404 Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ubuntu-mate-dev/ppa/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/ubuntu-mate-dev/trusty-mate/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
When I tried to install node using their nodesource repo using curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
, it gave me the same errors.
How can I install node.js in an azure VM?