Re: Control/change the apt caching server on the fly

2010-07-15 Thread Rob Owens
On Tue, Jul 13, 2010 at 04:48:58PM +, T o n g wrote: > Hi, > > Instead of specifying the caching machine in a file like /etc/apt/ > apt.conf.d/02proxy, is it possible to set the apt caching server via some > environment variable? > > I want to find a way to setup my laptop so that it use my

Re: Control/change the apt caching server on the fly

2010-07-13 Thread T o n g
On Tue, 13 Jul 2010 23:59:20 +, Liam O'Toole wrote: > Why not point it to something else when required? Good point. works fine. Thanks. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-us

Re: Control/change the apt caching server on the fly

2010-07-13 Thread Liam O'Toole
On 2010-07-13, T o n g wrote: > On Tue, 13 Jul 2010 20:20:15 +, Liam O'Toole wrote: > >>> I want to find a way to setup my laptop so that it use my local caching >>> server at home, yet easily to switch to direct connection when >>> elsewhere. >>> >>> >> apt-get and aptitude respect the enviro

Re: Control/change the apt caching server on the fly

2010-07-13 Thread T o n g
On Tue, 13 Jul 2010 20:20:15 +, Liam O'Toole wrote: >> I want to find a way to setup my laptop so that it use my local caching >> server at home, yet easily to switch to direct connection when >> elsewhere. >> >> > apt-get and aptitude respect the environment variables http_proxy and > ftp_pro

Re: Control/change the apt caching server on the fly

2010-07-13 Thread Liam O'Toole
On 2010-07-13, T o n g wrote: > Hi, > > Instead of specifying the caching machine in a file like /etc/apt/ > apt.conf.d/02proxy, is it possible to set the apt caching server via some > environment variable? > > I want to find a way to setup my laptop so that it use my local caching > server at