実行sudo apt-get update
結果:
Some index files failed to download. They have been ignored, or old ones used instead.
完全な端末出力は次のとおりです。
Err:1 https://download.sublimetext.com apt/stable/ InRelease
Something wicked happened resolving 'download.sublimetext.com:https' (-5 - No address associated with hostname)
Err:2 http://dl.google.com/linux/chrome/deb stable InRelease
Something wicked happened resolving 'dl.google.com:http' (-5 - No address associated with hostname)
Err:3 http://deb.parrotsec.org/parrot parrot InRelease
Something wicked happened resolving 'deb.parrotsec.org:http' (-5 - No address associated with hostname)
Err:4 http://packages.microsoft.com/repos/vscode stable InRelease
Something wicked happened resolving 'packages.microsoft.com:http' (-5 - No address associated with hostname)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Something wicked happened resolving 'dl.google.com:http' (-5 - No address associated with hostname)
W: Failed to fetch http://deb.parrotsec.org/parrot/dists/parrot/InRelease Something wicked happened resolving 'deb.parrotsec.org:http' (-5 - No address associated with hostname)
W: Failed to fetch https://download.sublimetext.com/apt/stable/InRelease Something wicked happened resolving 'download.sublimetext.com:https' (-5 - No address associated with hostname)
W: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/InRelease Something wicked happened resolving 'packages.microsoft.com:http' (-5 - No address associated with hostname)
W: Some index files failed to download. They have been ignored, or old ones used instead.
答え1
ホスト名をIPアドレスに解決するのに問題があるようです。 DNS 設定が正しくない可能性があります。
この構成をどのように完了しましたか?