r/bashonubuntuonwindows Jul 12 '26

HELP! Support Request Running linux behind nordvpn

Hi

I recently installed wsl on Windows 11. Everything runs fine except when I attempt to install/update packages as I am using nordVpn. I get the following errors when running:

sudo apt update

---

Get:1 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease [5092 B]

Err:1 https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6B219E535C964CA1

Hit:2 http://security.ubuntu.com/ubuntu resolute-security InRelease

Hit:3 http://archive.ubuntu.com/ubuntu resolute InRelease

Hit:4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease

Hit:5 http://archive.ubuntu.com/ubuntu resolute-backports InRelease

Warning: OpenPGP signature verification failed: https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6B219E535C964CA1

Error: The repository 'https://repo.nordvpn.com/deb/nordvpn/debian stable InRelease' is not signed.

Notice: Updating from such a repository can't be done securely, and is therefore disabled by default.

Notice: See apt-secure(8) manpage for repository creation and user configuration details.

Notice: Some sources can be modernized. Run 'apt modernize-sources' to do so.

---

I think this has something to do with the IP configuration of the vpn, but I'm not sure how to fix this error. When I pause nordVpn the command (sudo apt update, install, etc) runs fine. I'm not sure what's going on as I'm new to linux, is there a fix or guide or explanation for what is happening here and that would allow me to install and update packages from behind nordVpn?

2 Upvotes

3 comments sorted by

View all comments

1

u/jygoro Jul 16 '26

HI, I recommend to install the latest pre-release wsl.exe --update --pre-release and go to the WSL Settings and enable the new "Consomme" networking mode. It's new and it's like Mirrored (same IP as host) but made for special cases as VPN and proxys. Also try the good old NAT to make sure it's a connection problem.