Bash in Windows 10 normally works in non proxied network. But what if system is configured to make connection via not transparent proxy for example your.proxy:8080 . It will refuse connection when you gonna try use apt-get command. To fix this problem, proxy must be configured for updates by editing file „/etc/apt/apt.conf.d/01proxy” . I prefer nano so it will be
Where you need to add line :
And after saving you will be able to make updates and install packaged.