Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #247360
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: What do folks use to mirror repositories |
| Date | 2022-04-19 18:10 +0200 |
| Message-ID | <EdYAp-9OC8-5@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <Ecst0-8TNE-27@gated-at.bofh.it> <EcG2R-91Yx-1@gated-at.bofh.it> <EcI4F-93eU-3@gated-at.bofh.it> <EdKxr-9FYp-1@gated-at.bofh.it> <EdOB4-9IvP-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue 19 Apr 2022 at 07:24:53 (+0200), tomas@tuxteam.de wrote: > On Mon, Apr 18, 2022 at 09:08:08PM -0400, Celejar wrote: > > On Fri, 15 Apr 2022 22:15:36 -0600 > > Charles Curley <charlescurley@charlescurley.com> wrote: > > > > ... > > > > > Apt-cacher-ng (hereafter acng) also requires a change in client apt > > > configurations. Put one line into apt.conf or a one-liner in > > > apt.conf.d. I use the latter, 02proxy: > > > > > > Acquire::http::Proxy "http://aptcacherdeb.localdomain:3142"; > > > > > > There are further wrinkles for laptops and other traveling computers, > > > and for https only repos, which I will leave as an exercise for the > > > student. > > > > Yes. I use apt-cacher-ng, but having to manually add a workaround for > > every SSL-only repository I use is getting rather annoying: > > That's true. Caching and HTTPS don't play well with each other. Why > a package repository has to be https-only is anyone's guess, but I > think apt caches should learn to do "man in the middle". As for laptops, I iron out one wrinkle by not setting my proxy under /etc/apt/, but in the command lines instead. So the cron command has: apt-get -qq -o Acquire::http::Proxy="…" update && apt-get -qq -d -o Acquire::http::Proxy="…" dist-upgrade && find /var/cache/apt/archives/ -name '*deb' which generates an email whenever there are packages in the cache, and I upgrade the system with: apt-get -o Acquire::http::Proxy="…" update && apt-get -d -o Acquire::http::Proxy="…" dist-upgrade; apt-get upgrade; read -p 'Ctrl-C to avoid clean' _; apt-get clean (I avoid cleaning the cache when packages are held back so that an immediate apt-get dist-upgrade doesn't have to refetch them.) Apart from making it easy to run the root command when not at home (just rubout the -o option), this command line also works around apt-cacher-ng's occasional inability to cope with wrinkles such as expired certificates: when apt-listbugs runs during the upgrade, it avoids going through the cache. Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
What do folks use to mirror repositories Sam <sam@email-scan.com> - 2022-04-15 13:20 +0200
Re: What do folks use to mirror repositories <tomas@tuxteam.de> - 2022-04-15 13:40 +0200
Re: What do folks use to mirror repositories Roberto C. Sánchez <roberto@debian.org> - 2022-04-15 14:30 +0200
Re: What do folks use to mirror repositories David Christensen <dpchrist@holgerdanske.com> - 2022-04-16 04:10 +0200
Re: What do folks use to mirror repositories Charles Curley <charlescurley@charlescurley.com> - 2022-04-16 06:20 +0200
Re: What do folks use to mirror repositories Celejar <celejar@gmail.com> - 2022-04-19 03:10 +0200
Re: What do folks use to mirror repositories Charles Curley <charlescurley@charlescurley.com> - 2022-04-19 05:10 +0200
Re: What do folks use to mirror repositories <tomas@tuxteam.de> - 2022-04-19 07:30 +0200
Re: What do folks use to mirror repositories David Wright <deblis@lionunicorn.co.uk> - 2022-04-19 18:10 +0200
Re: What do folks use to mirror repositories Charles Curley <charlescurley@charlescurley.com> - 2022-04-19 19:00 +0200
Re: What do folks use to mirror repositories Polyna-Maude Racicot-Summerside <debian@polynamaude.com> - 2022-04-19 19:10 +0200
Re: What do folks use to mirror repositories Celejar <celejar@gmail.com> - 2022-04-20 01:50 +0200
Re: What do folks use to mirror repositories Tim Woodall <debianuser@woodall.me.uk> - 2022-04-19 20:20 +0200
Re: What do folks use to mirror repositories "Andrew M.A. Cater" <amacater@einval.com> - 2022-04-15 14:30 +0200
Re: What do folks use to mirror repositories Nicholas Geovanis <nickgeovanis@gmail.com> - 2022-04-15 17:20 +0200
Re: What do folks use to mirror repositories David Wright <deblis@lionunicorn.co.uk> - 2022-04-15 18:40 +0200
Re: What do folks use to mirror repositories Dieter Rohlfing <dr-erc@gmx.net> - 2022-04-16 11:30 +0200
csiph-web