On Mon, Oct 05, 2026 at 08:59:24AM -0500, David Wright wrote:
> On Mon 05 Oct 2026 at 06:29:12 (-0600), Charles Curley wrote:
> > On Sun, 4 Oct 2026 20:29:59 -0400
> > Dan Purgert <[email protected]> wrote:
> > > On Oct 04, 2026, Charles Curley wrote:
> > > > How do I tell which apt cache did I use, if any, when running "apt
> > > > update" or "apt upgrade"? I use auto-apt-proxy to detect apt
> > > > proxies.  
> > > 
> > > If I'm reading the question correctly, your system will use the
> > > repository configured in /etc/apt/sources.list (or, if you're using
> > > the newer format, I think it's /etc/apt/xxx.sources -- although
> > > ILately haven't done a new-install yet, so I don't know the exact
> > > filename)
> > > 
> > > Unless your network integrates a proxy (e.g. I dunno, a university
> > > campus), then chances are there is no proxy.
> > 
> > Sorry for the lack of context. I've been running a small office/home
> > (SOHO) network for several decades, starting in dial-up modem days, and
> > that has included an apt proxy server since then. Lately I have been
> > running apt-cacher-ng, and I am experimenting with apt-cacher-ultra. I
> > use auto-apt-proxy to detect the proxy. So the question is, did a given
> > run of apt use a proxy, and if so which one?
> 
> I only know about apt-cacher-ng, which logs its use in
> /var/log/apt-cacher-ng/apt-cacher.log, helping you to
> distinguish between two potential servers.

I had a look at an apt client, and at least in /var/log/apt I can't find
any trace of the cache. It seems APT doesn't know about it (after passing
it to the HTTP library).

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to