Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #182192
| From | Yvan Masson <yvan.masson@openmailbox.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: apt-cacher-ng related program and package suggestion |
| Date | 2017-06-15 08:50 +0200 |
| Message-ID | <tSwLo-7tX-15@gated-at.bofh.it> (permalink) |
| References | <tSmCl-X4-1@gated-at.bofh.it> <tStaN-58B-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Le 15/06/2017 à 04:51, Andy Smith a écrit : > Hello, > > On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuchs77@gmail.com wrote: >> apt-cacher-switch add <Host1_Name> <http://<IP1>:<PORT1>> >> apt-cacher-switch add <Host2_Name> <http://<IP2>:<PORT2>> >> >> Then at university: >> apt-cacher-switch enable <Host1_Name> >> >> At home: >> apt-cacher-switch enable <Host2_Name> >> >> In an environment where no cacher is on the network >> apt-cacher-switch disable > > Seems like it would be easier to install squid-deb-proxy-client on > each client machine. This listens for Avahi announcements of > _apt_proxy._tcp to choose a proxy. > > Normally your server(s) would run package squid-deb-proxy (an > install of squid customised for caching Debian packages) which takes > care of announcing its presence over Avahi, but you can make your > own announcements that point at your own installs of apt-cacher-ng > if you like. > > If nothing is being announced then squid-deb-proxy-client goes > direct to Debian mirrors. > > That way this all works without having to run any commands on the > client depending on where the client machine is located. > > One downside is that if a broken proxy announces itself then your > clients will use it, i.e. you don't have any control over whether > the proxy is used or not. > > Cheers, > Andy > Another solution whichi does not depend of the server software (squid or apt-cacher-ng) is to use this directive on the client: Acquire::http::Proxy-Auto-Detect I could not find a good example in English, but here is one in French. Obviously, man 5 apt.conf also explains it. Regards, Yvan
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
apt-cacher-ng related program and package suggestion "tuxderlinuxfuchs77@gmail.com" <tuxderlinuxfuchs77@gmail.com> - 2017-06-14 22:00 +0200
Re: apt-cacher-ng related program and package suggestion Andy Smith <andy@strugglers.net> - 2017-06-15 05:00 +0200
Re: apt-cacher-ng related program and package suggestion Yvan Masson <yvan.masson@openmailbox.org> - 2017-06-15 08:50 +0200
Re: apt-cacher-ng related program and package suggestion Yvan Masson <yvan.masson@openmailbox.org> - 2017-06-16 09:40 +0200
Re: apt-cacher-ng related program and package suggestion Dan Ritter <dsr@randomstring.org> - 2017-06-15 16:20 +0200
Re: apt-cacher-ng related program and package suggestion Darac Marjal <mailinglist@darac.org.uk> - 2017-06-15 16:30 +0200
Re: apt-cacher-ng related program and package suggestion David Wright <deblis@lionunicorn.co.uk> - 2017-06-15 16:40 +0200
Re: apt-cacher-ng related program and package suggestion "tuxderlinuxfuchs77@gmail.com" <tuxderlinuxfuchs77@gmail.com> - 2017-06-15 16:50 +0200
Re: apt-cacher-ng related program and package suggestion David Wright <deblis@lionunicorn.co.uk> - 2017-06-15 19:00 +0200
Re: apt-cacher-ng related program and package suggestion Bob Weber <bobrweber@gmail.com> - 2017-06-15 16:50 +0200
Re: apt-cacher-ng related program and package suggestion Dan Ritter <dsr@randomstring.org> - 2017-06-16 17:50 +0200
Re: apt-cacher-ng related program and package suggestion Eduard Bloch <edi@gmx.de> - 2017-06-16 17:40 +0200
csiph-web