all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to delete guix system generations
@ 2018-12-17 20:00 znavko
  2018-12-17 21:09 ` Tonton
  0 siblings, 1 reply; 2+ messages in thread
From: znavko @ 2018-12-17 20:00 UTC (permalink / raw)
  To: Help Guix

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

Hello, Guix developers! There no suggestions in manual about how to delete system generations that are displaying by `guix system list-generations`
I do not use them, just like to update))

# guix system list-generations | grep Generation
Generation 1    Sep 17 2018 18:23:13
Generation 2    Nov 13 2018 20:19:47
Generation 3    Nov 14 2018 06:50:53
Generation 4    Nov 27 2018 21:04:19
Generation 5    Nov 28 2018 09:42:41
Generation 6    Nov 28 2018 09:45:06
Generation 7    Nov 28 2018 09:45:06
Generation 8    Nov 28 2018 09:53:49
Generation 9    Nov 28 2018 09:53:49
Generation 10    Nov 28 2018 09:53:49
Generation 11    Nov 28 2018 09:53:49
Generation 12    Nov 28 2018 13:41:47
Generation 13    Nov 28 2018 09:53:49
Generation 14    Nov 29 2018 09:50:51
Generation 15    Nov 30 2018 18:04:51
Generation 16    Nov 30 2018 18:04:51
Generation 17    Nov 30 2018 18:04:51
Generation 18    Nov 30 2018 18:04:51
Generation 19    Dec 02 2018 16:12:50
Generation 20    Dec 02 2018 18:24:11
Generation 21    Dec 02 2018 18:24:11    (current)

# guix gc
...
note: currently hard linking saves 15409.75 MiB
guix gc: freed 145.6875 MiBs

How to delete system generations?

[-- Attachment #2: Type: text/html, Size: 2252 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to delete guix system generations
  2018-12-17 20:00 How to delete guix system generations znavko
@ 2018-12-17 21:09 ` Tonton
  0 siblings, 0 replies; 2+ messages in thread
From: Tonton @ 2018-12-17 21:09 UTC (permalink / raw)
  To: znavko; +Cc: Help Guix

As far as I'm aware, the way to do this is to delete the symlink for the
generation you want gone. These links are in /var/guix/profiles/ and has
names like system-60-link

The exact symlink name is found in the 'file name' field of the guix system
list-generations command.

The symlinks are the gc roots for the store items, so run guix gc after to
actually remove the stuff.

HTH
Tonton

On Mon, 17 Dec 2018 21:00:26 +0100 (CET)
<znavko@tutanota.com> wrote:

> Hello, Guix developers! There no suggestions in manual about how to delete
> system generations that are displaying by `guix system list-generations` I
> do not use them, just like to update))
> 
> # guix system list-generations | grep Generation
> Generation 1    Sep 17 2018 18:23:13
> Generation 2    Nov 13 2018 20:19:47
> Generation 3    Nov 14 2018 06:50:53
> Generation 4    Nov 27 2018 21:04:19
> Generation 5    Nov 28 2018 09:42:41
> Generation 6    Nov 28 2018 09:45:06
> Generation 7    Nov 28 2018 09:45:06
> Generation 8    Nov 28 2018 09:53:49
> Generation 9    Nov 28 2018 09:53:49
> Generation 10    Nov 28 2018 09:53:49
> Generation 11    Nov 28 2018 09:53:49
> Generation 12    Nov 28 2018 13:41:47
> Generation 13    Nov 28 2018 09:53:49
> Generation 14    Nov 29 2018 09:50:51
> Generation 15    Nov 30 2018 18:04:51
> Generation 16    Nov 30 2018 18:04:51
> Generation 17    Nov 30 2018 18:04:51
> Generation 18    Nov 30 2018 18:04:51
> Generation 19    Dec 02 2018 16:12:50
> Generation 20    Dec 02 2018 18:24:11
> Generation 21    Dec 02 2018 18:24:11    (current)
> 
> # guix gc
> ...
> note: currently hard linking saves 15409.75 MiB
> guix gc: freed 145.6875 MiBs
> 
> How to delete system generations?



-- 
    :)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-17 21:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-17 20:00 How to delete guix system generations znavko
2018-12-17 21:09 ` Tonton

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.