[ubuntu-za] (THANKS) ARE .DEB FILES NECESSARY?

vincent bullet at ballmail.co.za
Thu Jan 1 06:16:48 GMT 2009


On Wednesday 31 December 2008 10:30:34 Marius Kruger wrote:
> 2008/12/31 Vincent Williams <vincent at capeflats.org.za>
>
> > On Wednesday 31 December 2008 09:25:08 vincent wrote:
> > > A possibly silly question.
> > >
> > > Are the .Deb files, kept in /cache/archives necessary to re-install
> > > programs downloaded, should there be a mishap, or are these just used
> > > in the initial download process?
>
> and if you need to re-install it for some reason.
>
> > If you need to reinstall and have deleted the  relevant .deb file(s) from
> > your
> > local archive, they will be downloaded again.
>
> yes and disk space is cheaper than bandwidth for me,
> so I keep them for as long as possible.
>
> you can configure apt as to how long it should be kept.
> I configured my /etc/apt/apt.conf.d/20archive as follows:
> APT::Archives::MaxAge "200";
> APT::Archives::MinAge "2";
> APT::Archives::MaxSize "5000";
>
> I could not find the unit for the above variables on the interweb,
> but I assume it is days for age and MB for size.
>
> I'm also not 100% sure that the above works for me,
> but you can give it a try. It should be easier for you to determine
> if it makes a difference. the following commands may help
> # sort by date:
> ls -lat /var/cache/apt/archives |less
>
> # sort by size:
> ls -lahS /var/cache/apt/archives |less

Thanks Folks,

The quick replies & helpful advice is greatly appreciated.

Marius, your comment "disk space vs bandwidth" is a valid point.

Possibly a 'Master" backup disk kept in a safe place & added to from time to 
time might be the answer?

All the best for the coming year!!
Vincent



More information about the ubuntu-za mailing list