sudo gedit /etc/apt/apt.conf
当你在安装ubuntu server时,设置代理不小心弄错了,可以通过上面这条命令来修改,
我就遇到这个问题,之后使用sudo apt-get install装东西装不上,因此想到了是在安装的时候出了一点
refference:
此文讲述了三种修改代理的方法
http://hi.baidu.com/soberggg/blog/item/0c597b892a615eb90f2444ab.html

如果希望不用代理,可以将apt.conf中的行以#打头进行注释

修改代理

相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2021-12-31
  • 2022-12-23
  • 2021-08-12
  • 2021-09-26
  • 2021-10-08
  • 2022-12-23
猜你喜欢
  • 2021-12-29
  • 2021-10-06
  • 2021-07-27
  • 2022-12-23
  • 2021-10-02
相关资源
相似解决方案