WSL2のUbuntuのapt updateで接続エラーが出た 2023年10月4日 / 1 min read View more blogs with the tag wsl2 , View more blogs with the tag ubuntu Table of Contents #問題 #解決方法 問題 WSL2のUbuntuのapt updateで接続エラーが出た。 解決方法 /etc/resolv.confに Google の DNS サーバーを設定したら解決できました。 Terminal window$ echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null$ sudo apt update