From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CE4jHZZ+xGbTKQEA62LTzQ:P1 (envelope-from ) for ; Tue, 20 Aug 2024 11:31:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CE4jHZZ+xGbTKQEA62LTzQ (envelope-from ) for ; Tue, 20 Aug 2024 13:31:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=FZf89pUQ; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724153494; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=q9e/Z662ArN2puavpajM0OYI7i8yppbA1URsJ9oLkv4=; b=cN/WKZiEQ4RUfrC62S1e2SlgpyKpOU1CH/+GATm4wKAPAI0dcSTOzy8g82y3KfHzBxkJat cINyPyEZUvwWtpyDFB0CgTNVi+9AZGgxc2ayYVOhzhLmRQhbySQl/I9+mSDvqS581Bn25A LMhToZsjuDKOjm4DNrTO8Dv4oSEBZvqAhyNQXxQd3Xak+ZP/IliSQFxd0PZIuD42iZ+msL dKg0uowa2frKg59x/SHX1jaQw2YOYvJDFYxgs4C6g+tiQIqEGM8+l3KBkgYnwlU02T76kg wsVgOEFKevg0XqE1qi6x/tHykR0xPTZ3T/UsRUVp1tT+cOTKaFEC8CCID/2MCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=FZf89pUQ; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724153494; a=rsa-sha256; cv=none; b=GM723B8RVjz7ZGfOWIsi85wkqvFfWDB+BDoFQdBtfmRhMvOMFjYdJ73v0QDYiFqh3Nyl3C wWxptISeWX8sNHXzg6eFQHN+JuVqZvoIvFoorlO1DJhSjKOkqH42pOxCYHdOMRXCy1l8Op icssRYIwKzaQVjobNqci1uQl6+IXy1yUxaO76JyC1fzRMeIQAV9zAPohc+9q6Wb0K55Ndc 08lThvZjZgapeDJJBCBhk84QY1fHsBijzWi6EQ4i3H9DZfySaoMzFE58qGsJiQ6dats5m9 9f+teXVulEjg3QjfwQyQoK108uWps4Jp6TJ5N5vHPRw58h2LcjLMFdrmkf+klA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2301A72056 for ; Tue, 20 Aug 2024 13:31:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sgN4p-0006ZB-J3; Tue, 20 Aug 2024 07:31:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgN4n-0006Rd-Bc for help-guix@gnu.org; Tue, 20 Aug 2024 07:31:01 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sgN4k-0005rD-3w for help-guix@gnu.org; Tue, 20 Aug 2024 07:31:01 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id ABC0A240027 for ; Tue, 20 Aug 2024 13:30:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1724153452; bh=DKuz3Xg+FkNAeBV9jG+Zqx4DmdIfkEXghs7hq6Ulx+s=; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:From:Cc: From; b=FZf89pUQcO+WoyV+tut/1+gtrwx0NQIjGHkXAo0kSLVvxjfV+il2ujhWNGqYaludj 2t/HoGwzEHER4MaKT8ITaO3vs+VVabC4wYgd9k/VnIbvr1PtuoxePJ3//HoQGYRMlM LK1OSUVwDv8+mFLLq++zbqL9e7+hou1C9pgidKspczhDLs3gVc0oprAdhzw4ggDwT8 TOKHGb/t9OlzbHVemdXATNIEZh4fd/TQ26obR5k/8gkCEGJlaMjhh5S5o5dNsw7ciQ tt5PYlVB8YUtBRv53JSwemqqN7xA9Paj5ZptVjoHleWGytWB4lJuHrVayuLVLrpntt 4Rz7ld5d9VY+A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Wp6j720MWz6tvh; Tue, 20 Aug 2024 13:30:51 +0200 (CEST) Message-ID: <93110b5a-9b89-4afd-a713-8c3f5c118557@posteo.de> Date: Tue, 20 Aug 2024 11:30:50 +0000 MIME-Version: 1.0 Subject: Re: Entering the sudo password before guix pull when updating the, system To: 7059548@protonmail.com References: From: Zelphir Kaltstahl Content-Language: en-US Cc: help-guix@gnu.org, help-guix-request@gnu.org In-Reply-To: Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 2.33 X-Migadu-Queue-Id: 2301A72056 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 2.33 X-TUID: M6vyQo/kZN3w > 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