On Thu, Jan 10, 2002 at 02:49:34PM -0800, Craig Dickson wrote: > Sure you can. Keep the most recent N versions of each package you use > (adjusting N for the desired maximum size of /var/cache/apt/archives > and/or the number of versions back that you want to be able to easily > downgrade to), and delete anything older than that. This can be > scripted pretty easily.
FYI, the upcoming version of apt-proxy does this already. I'm testing it for a few more days on my box before I release it into the wild. apt-proxy maintains a seperate cache directory, which can be used to serve files to apt clients. It has options to remove unused files after a certain time period, and the new version can compare the files in the cache with the Packages files, and discard all but N versions. Chris (apt-proxy maintainer)

