Hi Florian,

gfp@Tuxedo ~$ guix system list-generations | grep Generation | wc -l
86

gfp@Tuxedo ~$ guix gc --list-roots | wc -l
520

I have so many links in
/var/guix/profiles/system-86-link

also in :
/var/guix/profiles/per-user/gfp/current-guix-171-link

also in :
/var/guix/profiles/per-user/gfp/guix-profile-341-link

How do I get rid of them?
Can I simply delete them?

thanks

Gottfried



Am 04.02.26 um 17:54 schrieb Alexander Asteroth:
Dear Florian,

that's interesting. In my case I get:

$ guix home list-generations  | grep Generation | wc -l
81
$ guix system list-generations  | grep Generation | wc -l
18
$ guix gc --list-roots | wc -l
227

I suppose somethings wrong on my system if I have more roots than generations?

Bests
Alex

On Wed, Feb 04 2026, 16:29:49, "pelzflorian (Florian Pelz)" <[email protected]> wrote:

Gfp <[email protected]> writes:

Hi,

I deleted many generations and left only some
still I have got approx. 375 GiB for the store.

Why that much?

Do you have multiple users?  If so, it may be better to delete
generations of all users by running guix gc as root:

sudo guix gc --delete-generations=1m

or so.

Perhaps also a run of

sudo guix gc --list-roots

tells when you have multiple profiles but you have not upgraded them in
a long time, taking up more space for old versions.

Regards,
Florian


Attachment: OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to