1. 往/etc/apt/apt.conf.d/proxy.conf文件中添加以下内容即可,

Acquire::http::Proxy "http://user:password@proxy.server:port/";
Acquire::https::Proxy "http://user:password@proxy.server:port/";

 2. 也可以修改/etc/apt/apt.conf来配置代理

https://www.cnblogs.com/dakewei/p/10127144.html

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-01-13
  • 2021-08-17
  • 2021-09-18
猜你喜欢
  • 2022-01-22
  • 2022-12-23
  • 2021-10-10
  • 2021-05-18
  • 2021-09-03
  • 2021-05-16
相关资源
相似解决方案