[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 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).

> your suggested
> change breaks that, so this can (if at all and if in that way, which i
> don't think is a good one; lb rather should cache distribution
> specifically, but anyway) at earliest be done with lb4 post wheezy.

This is discouraging. I worked closely with Thanatermesis on this and
want to protect my investment of effort. I think it's suitable for the
current release, as I know of no use case it actually breaks, so if you
can furnish me with test instructions to reproduce this problem, I would
be happy to try them and rework the patch.

Ben


Reply to: