Hi, 

On September 2, 2025 11:09:35 AM GMT+02:00, Florent Georges 
<[email protected]> wrote:
>Hi,
>
>> Yes, that is expected, you cannot list something that doesn't exist. But
>> you shouldn't have removed only guix-profile, you need to remove all
>> `guix-profile*` files to remove all generations. (ie
>> guix-profile-1-link) You need to install
>> something to recreate the profile and then you will have new generation.
>
>I see, thank you.
>
>Last question before I delete all "guix-profile-*-link"...  They all point
>to "/gnu/store/xxxx-profile" directories, which collectively take a huge
>amount of disk space.  Can I delete them as well, or just the soft link?

No, never delete stuff under the store manually. After everything stops 
pointing to it, guix gc will remove it. Remove only the links. 

>And if I do, can I delete "current-guix-*-link" as well?  I am the only
>user on the machine.

Except for cases like this where something is not working right, I would advise 
against deleting stuff in /var/guix/profiles/per-user. Just use the guix 
commands for that, current-guix is managed by guix pull, so guix pull 
--delete-generations. 

Rutherther 
>
>Regards,
>

Reply via email to