运行时snap find ntpserver
出现以下错误:
error: cannot list snaps: Get https://api.snapcraft.io/api/v1/snaps/search?confinement=strict&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Clicense%2Cbase%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list&q=ntpserver:
dial tcp: lookup api.snapcraft.io on [::1]:53:
read udp [::1]:43577->[::1]:53: read: connection refused
此外,虽然工作正常,ping www.nasa.gov
但还是失败了。ping: unknown host www.nasa.gov
ping [NASA’s IP address]
我尝试设置ipv4.dns
使用8.8.8.8
网络管理器如..所示但问题仍然存在。
这在过去不是一个问题。
答案1
好的,这只是糟糕的网络配置,可以通过重新运行网络设置配置来修复:
sudo console-conf