[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Best way to delete system profile generations?
From: |
Christopher Lemmer Webber |
Subject: |
Best way to delete system profile generations? |
Date: |
Thu, 09 Jul 2020 12:04:06 -0400 |
User-agent: |
mu4e 1.4.9; emacs 26.3 |
Hello! I wonder what others do to delete their system profile
generations? Here are some paths I know about.
Path one: using the command line manually
# Look at which profiles are available
ls -l /var/guix/profiles/
# Remove them manually
rm /var/guix/profiles/system-{9,10,11}-link
Path two: using emacs, but you gotta do it as root so:
# start up emacs as root, with the system generations listed:
sudo -E emacs -nw -q --eval "(progn (require 'guix)
(guix-system-generations))"
# Now you can browse the generations with more information available,
# decide with a bit more care which ones to remove.
# Mark each one you want to remove with "D", and delete with "x".
Is there a better way? What do others do? It doesn't seem there's a
good way to delete from my current emacs session because it requires
root privileges.
guix-mode remains great, btw!
- Chris
- Best way to delete system profile generations?,
Christopher Lemmer Webber <=