NordVpn apt 错误“NOSPLIT”

NordVpn apt 错误“NOSPLIT”

我正在尝试在 Ubuntu 20.04 上安装 nordvpn,但我得到了**“没有分裂”**。我尝试了堆栈中的多种解决方案,但似乎无法得到答案。这是我在 apt 更新后得到的结果。

    Get:1 http://repo.nordvpn.com/deb/nordvpn/debian stable InRelease [317 B]    
Err:1 http://repo.nordvpn.com/deb/nordvpn/debian stable InRelease            
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [107 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Reading package lists... Done                                                  
E: Failed to fetch http://repo.nordvpn.com/deb/nordvpn/debian/dists/stable/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://repo.nordvpn.com/deb/nordvpn/debian stable InRelease' is not signed.
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.

sudo dpkg -i nordvpn-release_1.0.0_all.deb

似乎它没有将 nord repo 添加到 sources.list 所以我手动将它们添加到 /sources.list.d/nordvpn.list

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

我尝试使用不同的网络 wifi 和提供商,但没有灯 :(。感谢您的帮助。。

答案1

我找到了简单的解决方案,你只需要删除 nordvpn-release 即可获取 PUBKEY,如果你运行

sudo dpkg -i nordvpn-release_1.0.0_all.deb

删除它

sudo apt remove nordvpn-release

然后加

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

到你的 sources.list 并运行

sudo apt update 

你会得到 NO_PUBKEY 错误

W:key is not` available: NO_PUBKEY 6B219E535C964CA1

您需要密钥的最后 8 位数字来自公钥5C964CA1然后安装它

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 5C964CA1

最后运行

sudo apt update 
sudo apt install nordvpn

相关内容