[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 16 November 2012 00:33, Ben Armstrong <synrg@sanctuary.nslug.ns.ca> wrote:
> On 15/11/12 06:38 PM, Michal Suchanek wrote:
>> 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.
>
> Please explain how, as I was under the impression live-build only
> allowed for one-time generation of the bootstrap and thereafter it just
> retrieves it from the cache, so if I change from 'lb config
> --distribution squeeze' to 'lb config --distribution wheezy' or vice
> versa, you would need to do 'lb clean --purge' between to regenerate the
> bootstrap stage from scratch. Otherwise, we're probably not really
> talking about what live-build itself supports.
>

When you do squeeze build a squeeze bootstrap is cached. If you do
wheezy build after the bootstrap is restored form cache and upgrade is
run after restore. That may bring the bootstrap up to date to wheezy
version or fail if some dependencies in the bootstrapped packages are
too complex for apt's little brain.

Thanks

Michal


Reply to: