可能重复:
apt-get 不适用于代理
我使用需要代理、用户名和密码的网络连接,我可以通过firefox访问网络,但我无法更新我的系统或使用Ubuntu软件中心。
我在 Synaptic 和 Network Proxy 中设置了代理和用户名/密码,然后编辑 apt.conf bu 这个命令:
sudo gedit /etc/apt/apt.conf
Run Code Online (Sandbox Code Playgroud)
但更新不起作用
我已经完成了有关 Ubuntu 论坛帖子的答案中提到的步骤。
如何在代理后面使用 apt-get/synaptic ?