On Mon, 2007-09-17 at 07:54 +0100, Mark Hindley wrote:
> On Sun, Sep 16, 2007 at 03:33:35PM -0700, Ross Boylan wrote:
> > Package: apt-cacher
> > Version: 1.5.4
> > Severity: normal
> > 
> > The apt-cacher man page says
> > 
> >        clean_cache [1] Whether to flush old packages from your cache
> >               daily. Packages are deleted on the basis of whether they
> >               have been superseded by newer pack???ages, not on age, so
> >               it should be safe to leave this on.
> > If one is using several releases (e.g., testing, unstable) it's not
> > clear to me if the comparison is made within release or across releases. 
> 
> apt-cacher merely checks if a particular .deb is referenced in any of
> the index files (Packages.gz, Sources.gz etc) in the cache. If it is,
> the .deb is kept. If it is not mentioned it is assumed to be superceeded
> and is deleted. There is no distinction between different releases.
> 
> You are right, the debian/ubuntu thing is different.
> 
> I will see if I can reword the man page to make this clearer, but in the
> meantime I propose to close this report.
It would be more conventional to fix, then close :)  Maybe

clean_cache [1] Whether to flush obsolete versions of packages from your
cache daily.  It should be safe to leave this on.  A package version is
not obsolete if any of the distributions (stable, testing, etc) or
architectures you use reference it.

My original question referred to "releases", but I think the proper
Debian term is "distributions."  Maybe in the discussion of clean_cache,
or somewhere else (package description or README.Debian?), caution that
"distribution" does not mean Debian vs. Ubuntu.

I've tried to word it without requiring knowledge of the internals
(e.g., referring to debs or Packages.gz).  I added "versions" since, I
assume, it's particular debs that are flushed, not the whole package in
all its forms.

It's good news that apt-cacher supports multiple distributions.

Ross



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to