others.org 726 B

error 01

On ~guix pull~:


> Migrating profile generations to '/var/guix/profiles/per-user/USER'...
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> guix pull: error: Git error: failed open - '/home/USER/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/.git/FETCH_HEAD' is locked: Permission denied

You can fix this by either deleting the directory, or

sudo chown -R USER:USER home/USER.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq

Similarly, chowning or deleting /var/guix-profiles/per-user/USER is

the only way to fix the permissions issue on the profile.