all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Best way to delete system profile generations?
@ 2020-07-09 16:04 Christopher Lemmer Webber
  2020-07-09 16:15 ` Guillaume Le Vaillant
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Lemmer Webber @ 2020-07-09 16:04 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-10 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-09 16:04 Best way to delete system profile generations? Christopher Lemmer Webber
2020-07-09 16:15 ` Guillaume Le Vaillant
2020-07-10 14:23   ` Christopher Lemmer Webber

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.