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

Bug#217814: base-config: previously downloaded package files get deleted



Bernhard Kuemel wrote:
> Andrew Pollock wrote:
> >>>base-config runs apt-get autoclean.
> >>
> >>Well, thanks for making that clear. I'd like to have the option 
> >>to skip that. I had packages from releases other than that 
> >>defined in the current sources.list and would have liked to keep 
> >>them.
> >
> >It's a bit late now, but it's probably a good reason to export that 
> >directory read-only, so your installations can't go frigging with your 
> >file server...
> 
> But then it would not be possible (unless the sticky bit (?) or 
> such automatically creates read only files) to write to 
> /var/cache/apt/archives and installation of new packages would 
> fail. The archive would not collect packages and be of no use.
> 
> A suggested solution is a caching http proxy but that would 
> disable smart cache purging with apt-get autoclean. However, 
> apt-get autoclean is somewhat limited, as apt-get update runs out 
> of memory with too much data (e.g. stable+testing+unstable), but 
> that bug will hopefully be fixed.

He already has an NFS export, so the correct and easy way to do it would
be to add file:// uri's to sources.list. base-confg already prompts for
such uri's when it is setting up apt.

Or use apt-move or something.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: