E: Unable to locate package nordvpn
Solution 1:
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 -