Re: apt-cacher-ng related program and package suggestion

2017-06-16 Thread Dan Ritter
On Thu, Jun 15, 2017 at 10:44:01AM -0400, Bob Weber wrote: > > > > > Simple workaround for now: > > > > /etc/apt/sources.list: > > > > deb http://site1.ip.address/debian jessie-backports main > > #deb http://site2.ip.address/debian jessie-backports main > > > > > > Now just change the

Re: apt-cacher-ng related program and package suggestion

2017-06-16 Thread Eduard Bloch
Hallo, * tuxderlinuxfuch...@gmail.com [Wed, Jun 14 2017, 09:57:50PM]: >Hello, > >I have a suggestion for a client program/package in combination with >apt-cacher-ng > >Consider following situation: > >User U_A has a laptop which he uses at home and at university > >He

Re: apt-cacher-ng related program and package suggestion

2017-06-16 Thread Yvan Masson
> 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. Oups,

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread David Wright
On Thu 15 Jun 2017 at 16:44:27 (+0200), tuxderlinuxfuch...@gmail.com wrote: > Thanks for the tips. Like I said, I'd prefer a program that does all > this in the background by calling one simple command Sure. You're free to commission one from a C/C++ programmer. We're just illustrating that the

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread tuxderlinuxfuch...@gmail.com
Thanks for the tips. Like I said, I'd prefer a program that does all this in the background by calling one simple command On 15-Jun-17 4:38 PM, David Wright wrote: > On Thu 15 Jun 2017 at 10:16:45 (-0400), Dan Ritter wrote: >> On Wed, Jun 14, 2017 at 09:57:50PM +0200,

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread Bob Weber
> Simple workaround for now: > > /etc/apt/sources.list: > > deb http://site1.ip.address/debian jessie-backports main > #deb http://site2.ip.address/debian jessie-backports main > > > Now just change the comment from one to the other, run apt-get > update and go. > > Second workaround,

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread David Wright
On Thu 15 Jun 2017 at 10:16:45 (-0400), Dan Ritter wrote: > On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: > > The shown way is not very comfortable. > > > > 1. it is annoying having to remember IP addresses > > 2. sed command is error prone (consider typos, etc.) >

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread Darac Marjal
On Thu, Jun 15, 2017 at 10:16:45AM -0400, Dan Ritter wrote: On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: The shown way is not very comfortable. 1. it is annoying having to remember IP addresses 2. sed command is error prone (consider typos, etc.) 3. copying

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread Dan Ritter
On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: > The shown way is not very comfortable. > > 1. it is annoying having to remember IP addresses > 2. sed command is error prone (consider typos, etc.) > 3. copying around backup files is time consuming having to type in

Re: apt-cacher-ng related program and package suggestion

2017-06-15 Thread Yvan Masson
Le 15/06/2017 à 04:51, Andy Smith a écrit : > Hello, > > On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: >> apt-cacher-switch add :> >> apt-cacher-switch add :> >> >> Then at university: >> apt-cacher-switch enable >> >> At home: >> apt-cacher-switch enable >> >>

Re: apt-cacher-ng related program and package suggestion

2017-06-14 Thread Andy Smith
Hello, On Wed, Jun 14, 2017 at 09:57:50PM +0200, tuxderlinuxfuch...@gmail.com wrote: > apt-cacher-switch add :> > apt-cacher-switch add :> > > Then at university: > apt-cacher-switch enable > > At home: > apt-cacher-switch enable > > In an environment where no cacher is on the network >

apt-cacher-ng related program and package suggestion

2017-06-14 Thread tuxderlinuxfuch...@gmail.com
Hello, I have a suggestion for a client program/package in combination with apt-cacher-ng Consider following situation: User U_A has a laptop which he uses at home and at university He has a poor internet connection in both places. So he set up apt-cacher-ng services in both places but they