On Thu, Jan 01, 2004 at 12:48:38PM -0800, Bill Moseley said
> This old topic again...
> 
> I'm not really interested in creating a local hierarchy and maintaining
> another set of sources on my machines, but I would like a system where
> when a I do a dist-upgrade that before fetching the remote package it
> first checks another source for the .deb.  In other words for a given
> foo.deb file before fetching from, say, http://http.us.debian.org (or
> any source), it first tries http://mylocalmachine/some/path/foo.deb
> where the prefix "http://mylocalmachine/some/path/"; is used for every
> package.

apt-proxy? It'll give you the package from disk if you have the
requested version, or download it if you don't.

> BTW -- IIRC, someone posted a way to trim /var/cache/apt/archives to the
> most current one (or two) versions and purge the rest.  Anyone remember 
> that?

"apt-get autoclean" will remove all but the currently installed version
from there.

-- 
Rob Weir <[EMAIL PROTECTED]> | [EMAIL PROTECTED]  |  Do I look like I want a CC?
Words of the day:    MD2 India genetic electronic surveillance kilderkin attack

Attachment: signature.asc
Description: Digital signature

Reply via email to