From: Christopher Lemmer Webber <cwebber@dustycloud.org>
To: help-guix@gnu.org
Subject: Best way to delete system profile generations?
Date: Thu, 09 Jul 2020 12:04:06 -0400 [thread overview]
Message-ID: <87mu48brpl.fsf@dustycloud.org> (raw)
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
next reply other threads:[~2020-07-09 16:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-09 16:04 Christopher Lemmer Webber [this message]
2020-07-09 16:15 ` Best way to delete system profile generations? Guillaume Le Vaillant
2020-07-10 14:23 ` Christopher Lemmer Webber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mu48brpl.fsf@dustycloud.org \
--to=cwebber@dustycloud.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).