[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#160743: efficient local package cache backup for autoclean/clean



On Tue, Apr 20, 2004 at 12:48:17PM -0700, Matt Zimmerman wrote:
> On Tue, Apr 20, 2004 at 09:05:34PM +0200, Osamu Aoki wrote:
> 
> > Exactly.  
> > 
> > Mine is the same idea as pdumpfs which is the power behind
> > snapshot.debian.net.
> > 
> > I used a simple implimentation with BASH instead of pdumpfs's generic Ruby
> > one. I do not know what haapens when apt is run by user when CRON is in
> > action or vice varsa.
> > 
> > I wish mine could have been as short and simple as yours.
> 
> This might be better implemented as part of apt-get autoclean, really.

Actually, it is better to have autoclean to do this.

As I rethink my script, it works only for me.

I must at least remove "aptitude update" / "aptitude autoclean" from my 
previously posted cron script. Otherwise, it will remove package few
days after archive get updated but when you may not have updated your 
local system.

(I am on laptop which is normally off.  When ever I turn on, I upgrade it.)




Reply to: