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
