help-guix
[Top][All Lists]
Advanced

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

Re: protect generations


From: Efraim Flashner
Subject: Re: protect generations
Date: Wed, 15 Jan 2020 10:38:39 +0200

> 
> For example, let consider this scenario:
> 
>   guix package --install list of packages # (1)
>   guix package -i other ones -r some # (2)
>   guix package --upgrade # (3)
>   guix package -i again -r bye bye # (4)
>   guix package --roll-back # (5)
>   guix package -i kikoo # (6)
> etc.
> 
> Now, the profile at the generation (6) is fine and you want to garbage
> collect all the previous generations. But you know that the generation
> (2) was ok. To my knowledge, it is not easy to GC the generations 1,
> 3, 4, 5 without collecting the 2.
> 

In this scenario you can run 'guix gc --delete-generations=1,3,4,5'


-- 
Efraim Flashner   <address@hidden>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]