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

Bug#693242: live-build: apt-get autoclean doesn't remove old versions



On 15 November 2012 13:32, Ben Armstrong <synrg@sanctuary.nslug.ns.ca> wrote:
> On 11/14/2012 04:51 PM, Daniel Baumann wrote:
>> tag 693242 - patch
>> thanks
>>
>> On 11/14/2012 05:02 PM, Thanatermesis wrote:
>>> The apt-get autoclean command removes extra packages in the chroot
>>> but the cache has an incremental and growing size
>>
>> the current assumption is that the cache of lb is usuable for more
>> than one distribution built from the same config tree,
>
> Are you sure? The bootstrap for the old distribution would be retained,
> requiring an 'lb clean --purge' before rebuilding with the new
> distribution (and that would delete the package cache in any case).
>

You can typically upgrade the bootstrap. There is an upgrade step
anyway in case the bootstrap is stale due to updates to the current
distribution. And it can be cleared manually quite easily.

Thanks

Michal


Reply to: