1

Just installed ubuntu 18.04 in wsl. But when I try to install or update system i'm getting this error

enter Err:1 http://security.ubuntu.com/ubuntu bionic-security InRelease Could not resolve 'proxyaddress' 

/etc/resolv.conf file:

nameserver 192.168.43.1 nameserver 8.8.8.8 nameserver 127.0.1.1

help me!

  • Please add output of grep -ir Proxy /etc/apt to the question. – N0rbert Sep 30 '19 at 19:12
  • Check hosts files on windows and wsl. Linux. >> linux /etc/hosts and on windows "C:\Windows\System32\drivers\etc" – Cornea Valentin Oct 5 '19 at 13:38
1

my two cents for Windows 10 and WSL

go simple at start...

I have the SAME problem in WSL under Windows 10. same errors.

it was simply Norton Antivirus.

I DO KNOW is very dangerous to stop it, but once stopped (for a while...) Ubuntu starts updating.

:)

before gcc, update ubuntu:

sudo apt-get update

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.