Hi Ian,

thanks very much Ian and Florian

Use the provided commands for the generation type, `guix pull --delete-
generations=...', `guix package --delete-generations=...', `sudo guix system delete-generations ...'.

I did not know to having also to delete from all three.

thanks

Gottfried



Am 05.02.26 um 05:00 schrieb Ian Eure:
Hi gfp,

gfp <[email protected]> writes:

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

Each of these files corresponds to a generation listed in `guix system list-generations'.  /var/guix/profiles/system-86-link corresponds to generation #86.


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

Each of these corresponds to a generation listed in `guix pull --list- generations'.


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

Each of these corresponds to a generation listed in `guix package -- list-generations'.


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

Use the provided commands for the generation type, `guix pull --delete- generations=...', `guix package --delete-generations=...', `sudo guix system delete-generations ...'.

See the manual sections for `guix pull', `guix package', and `guix system' for more information.

After you’ve run these, run `guix gc', and you will recover disk space.

You must delete generations for `guix gc' to free space.  It cannot delete any store item reachable from a GC root, so the hundreds of old generations are preventing `guix gc' from removing nearly everything.

Thanks,
  -- Ian



Attachment: OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to