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.


Daniel_Kaszper

IT specialist at SMC since 2013. Interested in retrogaming, music and expanding his knowledge about IT related topics ;)

0 Komentarzy

Dodaj komentarz

Avatar placeholder

Twój adres email nie zostanie opublikowany. Wymagane pola są oznaczone *

Sorry, this area is restricted.

Witryna wykorzystuje Akismet, aby ograniczyć spam. Dowiedz się więcej jak przetwarzane są dane komentarzy.