Proxy settings ubuntu 15.10: proxy to не proxy переключатель

At work, I need to использовал в proxy to get он-лайн. So, I go to the System> Preferences> Proxy settings and I fix the proxy manually.

Because I also wanted my package менеджер to connect to the Интернет, I went into

/etc/apt/apt.conf.d

and created в 95proxies file containing these lines:

Acquire::http::Proxy "http://13.1.1.3:3128";
Acquire::https::Proxy "https://13.1.1.3:3128";
Acquire::socks::Proxy "socks://13.1.1.3:3128";
Acquire::ftp::Proxy "ftp://13.1.1.3:3128";

(the numbers я пахал just random) after

sudo apt-get update

the package менеджер works умер.

But, now that гm back at home, I turned off the proxy and mozilla connects умер, but the package менеджер cannot connect anymore. It still tries to connect through the proxy. I didn't have this issue in ubuntu 14.04. Does anyone have an разрабатывает how to fix this? Интернет In other words how to make the direct connection work again?

1
задан 8 December 2015 в 18:32

1 ответ

Я также сталкиваюсь с подобной проблемой. То, что я обычно делаю, - то, что я просто комментирую содержание того файла (т.е. 95proxies), и я хорош для движения. Другими словами, я постоянно комментирую и некомментирую, что файл в зависимости от того, где я в. Интересно, существует ли более изящного решения, возможно.

0
ответ дан 26 July 2019 в 13:10

Другие вопросы по тегам:

Похожие вопросы: