Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #247360

Re: What do folks use to mirror repositories

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: What do folks use to mirror repositories
Date Tue, 19 Apr 2022 18:10:01 +0200
Message-ID <EdYAp-9OC8-5@gated-at.bofh.it> (permalink)
References <Ecs9z-8THr-3@gated-at.bofh.it> <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>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Tue Apr 19 16:02:49 2022
Old-Return-Path <pdkcox@cox.net>
X-Amavis-Spam-Status No, score=-6.762 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.248, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
Authentication-Results cox.net; auth=pass (PLAIN) smtp.auth=pdkcox@cox.net
X-Authority-Analysis v=2.4 cv=Fq8WQknq c=1 sm=1 tr=0 ts=625edd16 a=/uUTwwwLJPL9jH3ItCW32Q==:117 a=/uUTwwwLJPL9jH3ItCW32Q==:17 a=IkcTkHD0fZMA:10 a=UPwgjlzBAAAA:8 a=TCIguCgNy9aIZK3T858A:9 a=QEXdDO2ut3YA:10 a=IJG1HS28PhTFVN2WG8Av:22
Reply-To debian-user@lists.debian.org
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.10.1 (2018-07-13)
X-Cmae-Envelope MS4xfC+ch0bgwlqt/0bdntw0q8BeRog/hw0ZKCAfWQ+jRuP/FZ7MEY4vLH/qgnfv9KDRr4KGU6xSQ0LBykNyGZRJfAdxyfdXeXdUGoIchebNy9oSj+1V6AN6 uYPnLsGyY9pcQDF3O3ba4nnLw0poTYyUuUFfIVYjjSjazNsohKtfKSKBCYynr6/68mGiphN7WmgFFTft1YuhmnpXWGpxkfOgoSjwH0IfpUO/e4ou7bn1x9Dy eknUfSQl04nYNSYuv80t/IHTl93QA7g8mmZeM85OKeo=
X-Mailing-List <debian-user@lists.debian.org> archive/latest/788225
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20220419160226.GA6718@axis.corp
Approved robomod@news.nic.it
Lines 42
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Tue, 19 Apr 2022 11:02:26 -0500
X-Original-Message-ID <20220419160226.GA6718@axis.corp>
X-Original-References <cone.1650020594.521850.233392.1004@monster.email-scan.com> <YllYyz8sxFQjZSBC@tuxteam.de> <c71c3332-239d-bbd2-f183-2e944128c82d@holgerdanske.com> <20220415221536.2f850f71@jhegaala.localdomain> <20220418210808.6790ad0e0ede9311700c2264@gmail.com> <Yl5HpS+WSaYfCOGd@tuxteam.de>
Xref csiph.com linux.debian.user:247360

Show key headers only | View raw


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


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