help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entering the sudo password before guix pull when updating the, syste


From: Zelphir Kaltstahl
Subject: Re: Entering the sudo password before guix pull when updating the, system
Date: Tue, 20 Aug 2024 11:30:50 +0000

> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]