From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: 7059548@protonmail.com
Cc: help-guix@gnu.org, help-guix-request@gnu.org
Subject: Re: Entering the sudo password before guix pull when updating the, system
Date: Tue, 20 Aug 2024 11:30:50 +0000 [thread overview]
Message-ID: <93110b5a-9b89-4afd-a713-8c3f5c118557@posteo.de> (raw)
In-Reply-To: <mailman.7266.1724149549.21382.help-guix@gnu.org>
> How can I enter the sudo password before `guix pull` runs when updating with
`guix pull && sudo guix system reconfigure config.scm`?
> `sudo sh -c "su -c 'guix pull' $USER && guix system reconfigure config.scm"`
returns:
> "hint: After setting PATH, run hash guix to make sure your shell refers to
/home/user/.config/guix/current/bin/guix"
> Thank you!
Hi!
In the past I learned, that when updating the guix system, I have to use:
~~~~
sudo -i
~~~~
And then run the guix commands. Otherwise guix still has/sees environment
variables from my user shell/profile/environment and that can mess up Guix. So I
want to share that bit of info with you. Hope it helps, even if not directly
related to your question.
Best wishes,
Zelphir
--
repositories:https://notabug.org/ZelphirKaltstahl,https://codeberg.org/ZelphirKaltstahl
next parent reply other threads:[~2024-08-20 11:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.7266.1724149549.21382.help-guix@gnu.org>
2024-08-20 11:30 ` Zelphir Kaltstahl [this message]
2024-08-20 17:44 ` Entering the sudo password before guix pull when updating the, system Oleander via
2024-08-20 20:13 ` Marek Paśnikowski
2024-08-19 18:03 Entering the sudo password before guix pull when updating the system Oleander via
2024-08-19 18:16 ` Oleander via
2024-08-19 22:57 ` Ian Eure
2024-08-20 10:38 ` Marek Paśnikowski
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=93110b5a-9b89-4afd-a713-8c3f5c118557@posteo.de \
--to=zelphirkaltstahl@posteo.de \
--cc=7059548@protonmail.com \
--cc=help-guix-request@gnu.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).