all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: zimoun <zimon.toutoune@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: protect generations
Date: Wed, 15 Jan 2020 10:38:39 +0200	[thread overview]
Message-ID: <20200115083839.GK858@E5400> (raw)
In-Reply-To: <CAJ3okZ3=CCEvE-4iqo2g3yQfz5L22MHxqpb_jXQvGCR+9QB0GA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

> 
> 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   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-01-15  8:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-05 21:42 protect generations Marco van Hulten
2020-01-07 12:11 ` zimoun
2020-01-12 14:57   ` Marco van Hulten
2020-01-14 16:38     ` zimoun
2020-01-15  8:38       ` Efraim Flashner [this message]
2020-01-15 10:54         ` zimoun
2020-01-11 23:50 ` Marius Bakke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200115083839.GK858@E5400 \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.