On 2010-07-13, T o n g <mlist4sunt...@yahoo.com> 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 home, yet easily to switch to direct connection when elsewhere. >
apt-get and aptitude respect the environment variables http_proxy and ftp_proxy. -- Liam O'Toole Cork, Ireland -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/slrni3pijv.4mu.liam.p.oto...@dipsy.selfip.org