NordVPN – Fix Unable to Locate Package NordVPN

aptdpkgopenvpnvpn

I tried installing nordvpn on Ubuntu 18.04 and Ubuntu 20.04 but keeps showing me the above error message. I've tried every possible option on the internet from forums to forums, still nothing.
I used the general method of downloading the repository package and installed it using these:

sudo dpkg -i nordvpn-release_1.0.0_all.deb
sudo apt update
sudo apt install nordvpn

After all these commands, it still ends up showing the same error message. I don't know what else to do.

I'm helpless at the moment.

Best Answer

Download the nordvpn-release_1.0.0_all.deb file from the official website. Then install nordvpn-release by running the following command:

sudo apt-get install ./{/path/to/}nordvpn-release_1.0.0_all.deb

After nordvpn-release installs, update your system (make sure to update AND upgrade):

sudo apt update && sudo apt upgrade

You should be able to install nordvpn sucessfully:

sudo apt install nordvpn

Alternatively, you can add the repository and then update your system:

sudo wget -qnc https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb

Then:

sudo apt update && sudo apt upgrade

Finally:

sudo apt install nordvpn

If the issue still persists, manually add the repository to the apt sources list:

cd /etc/apt/sources.list.d/nordvpn.list
sudo nano nordvpn.list

Then add the following lines to the file (ONLY do this if the file is empty or there is text that is commented out):

deb [arch=amd64] http://repo.nordvpn.com/deb/nordvpn/debian stable main
deb [arch=i386 ] http://repo.nordvpn.com/deb/nordvpn/debian stable main 

Then update the system:

sudo apt update && sudo apt upgrade

You should then be able to install nordvpn:

sudo apt install nordvpn

If you get the GPG error of NO_PUBKEY, then copy the following command into terminal:

sudo wget https://repo.nordvpn.com/gpg/nordvpn_public.asc -O - | sudo apt-key add -
Related Question