[Ilugc] apt-get update --> error

  • From: arnstein87@xxxxxxxxx (Arnold Noronha)
  • Date: Wed Jun 18 21:12:54 2008

On Wed, Jun 18, 2008 at 7:11 PM, benjamin <benjaminrtz@xxxxxxxxx> wrote:

2. (I don't know a command line way to do this) Go to

export http_proxy=http://address:port


umm, nope. I definitely agree this is a way to *add* a proxy, but in
the context of what I had replied to, he needed to *remove* a proxy
that was set. APT can use the http_proxy variable: which means we need
to unset it.

If I am (was?) not mistaken, if you set the proxy information using
synaptic package manager's proxy settings, running APT on the command
line will respect those settings. So getting rid of the proxy will
require using the graphical interface to de-set those settings. I
didn't know of a command line way to do that. (Perhaps some APT conf
file in /etc?)

--Arnold

Other related posts: