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
nano /etc/apt/apt.conf.d/01proxy
Where you need to add line :
Acquire::http::Proxy "http://your.proxy:8080";
And after saving you will be able to make updates and install packaged.
Dodaj komentarz