Created: Miscellaneous WSL Things

Updated: 03 September 2023


When using WSL, you may occasionally see the following error message:

Err:1 focal/main amd64 binutils-common amd64 2.34-6ubuntu1
  Temporary failure resolving ''
Unable to correct missing packages.
E: Failed to fetch  Temporary failure resolving ''
E: Aborting install.

This may be due to the resolv.conf file being incorrect, you can fix this by updating the nameserver. You can do this by setting it as follows (e.g. using the OpenDNS IP):



You should then be able to run apt-get update and everything should connect as expected