无法解析主机地址“jellyfish.list”-OpenVPN

无法解析主机地址“jellyfish.list”-OpenVPN

我尝试根据文章下载 OpenVPNhttps://openvpn.net/cloud-docs/openvpn-3-client-for-linux/

在第 5 步中,我添加了 $DISTRO = jammy jellyfish:sudo wget -O /etc/apt/sources.list.d/openvpn3.listhttps://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy水母列表

但我得到了以下

--2022-08-20 11:13:37--  https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy
Resolving swupdate.openvpn.net (swupdate.openvpn.net)... 104.18.110.96, 104.18.109.96
Connecting to swupdate.openvpn.net (swupdate.openvpn.net)|104.18.110.96|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-08-20 11:13:37 ERROR 404: Not Found.

--2022-08-20 11:13:37--  http://jellyfish.list/
Resolving jellyfish.list (jellyfish.list)... failed: Name or service not known.
wget: unable to resolve host address ‘jellyfish.list’

答案1

您可以使用以下方式检查 $DISTRO lsb_release -a

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:    22.04
Codename:   jammy 

因此 $DISTRO 应该jammy像这样使用 Codename:

sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-jammy.list

最后,您可以更新和升级您的系统。

相关内容