From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gP7HGOXbC2QOiwAASxT56A (envelope-from ) for ; Sat, 11 Mar 2023 02:39:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WPPDGOXbC2S/fAAA9RJhRA (envelope-from ) for ; Sat, 11 Mar 2023 02:39:49 +0100 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 24EDA2FB6 for ; Sat, 11 Mar 2023 02:39:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paoCl-0004C8-MU; Fri, 10 Mar 2023 20:39:27 -0500 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 1paoCk-0004Bl-1F for help-guix@gnu.org; Fri, 10 Mar 2023 20:39:26 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paoCh-0001BA-R1 for help-guix@gnu.org; Fri, 10 Mar 2023 20:39:25 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A8648240527 for ; Sat, 11 Mar 2023 02:39:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1678498761; bh=Cok2Yozzo7WocJn+mUO7kQoH3rgdsI4aCl0mhGzoDE4=; h=From:To:Cc:Subject:Date:From; b=Yp0Zz3l120vNHLFUcQaUiXruDsrAkrjKdnEYrxakSX7YcVxNfRUn3T2r6TnFXEPze l3wQPfO+Xd7dlEv4r3HoCYsDtry4QllN4VesMiqr8f6mt/TdqrYKmw/m30rsX1EY+X SPHHPD3A+kdYwLdu4BNbxBFt2EapIL5Aun5KFw5Uu8pNOiNE2K78wH7Vz8wUYGqfxL sRDcWaCY4AXvh6a++Fty5X48D9tS9vHzMpI7ideY+xgRO8QVW6uoDuAVPrndb+E8P5 hbcM8zdbsXYkYtN2qls+oPdo0oAX1JuGp8mxajqPoKDyFIAZGhJnjRreNAkmEkzbm5 5iWnVsoDl0wnA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PYQZJ1D9bz6tm4; Sat, 11 Mar 2023 02:39:18 +0100 (CET) References: <87bkl2mwt6.fsf@posteo.net> <604D4DC9-0417-42D9-BC78-8B02B28D02E3@lepiller.eu> From: Kyle Andrews To: Julien Lepiller Cc: help-guix@gnu.org Subject: Re: Mysteries of channel configuration during system reconfigure Date: Sat, 11 Mar 2023 00:16:21 +0000 In-reply-to: <604D4DC9-0417-42D9-BC78-8B02B28D02E3@lepiller.eu> Message-ID: <87bkl0dq2i.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=kyle@posteo.net; helo=mout02.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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Yp0Zz3l1; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678498787; a=rsa-sha256; cv=none; b=NsoW6DTakTjY4HD/kh68llmuEHffqyZd0F2Ly8LwqIag9qPjpiZ0WsNZLXVr+X05sF8X3O NMeDRSx7V4zL096cUeGImrbD9vn4OQQG4g+U96eLCP/QmkwBvXRX+Wyv9Hzn+iUxNpyzPc 7b6HPQMLgipY6/SzTk1oll8x0choKFhCusWUhvIBsXKL0+Shk8v8QQ/o+tUN19OYbDiAcS JKlyLRyhd79Oq3CVjUjWVMfD07u9LWbVgyFE2fHF27J3F3dNLjr8blD6vesuT/yyyWUyzu FyTdKTlrFxVkoukR27R1rRwM7C12gzJDey7uJMf1j0qm49oDmSOJmg4WbU2Iiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678498787; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Cok2Yozzo7WocJn+mUO7kQoH3rgdsI4aCl0mhGzoDE4=; b=S0IdwyaO8aAbcpXUuQ5UCDHccXxuRr4xH4x29bs0R5Yub2/xrPaayyUofeb4k5cVYCckTx tD1N7FWNNtDR+xHHZoYS+0mY5lj5vZqIx/WD35wrfwJnG8sEc0WQ1hFAbbyHeH45YNRNUk n8rKF9eRGHKKbUFkTgbBGCFfbx02cH+x4YxgkECY5k07kD6lBPRXEKAq+YpKf4ASv9tRXs 4ru9Eca2nx8U6JLaiY4KvQI9RPbsb9nwzQVZ6zmXjAg2QD5XJ/z6SOdhnvvIEJI5+AdSsS dVRqnRMqrpEDvucVDi+uPf7ruV7aO5ION1OP5B50QYln1Uo+zKyJR0i9dSPDpg== X-Migadu-Spam-Score: -6.70 X-Spam-Score: -6.70 X-Migadu-Queue-Id: 24EDA2FB6 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Yp0Zz3l1; 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=pass (policy=none) header.from=posteo.net X-TUID: 3sMHd+V3TC7o Julien Lepiller writes: > guix system describe lists channels used to build your system, but > they can be different from the ones currently known to guix. That seems consistent with what I have observed. > Does your /etc/channels.scm list the extra channels? At this point it does not. I "restored" a backup from my old computer into my home directory. Now I have several more channels than I had configured in generation one. Unfortunately, now my shepherd is broken just like on my old computer. I wish I understood how to experiment with e.g. virtual machines to better understand this process. However, there seems to be quite a large knowledge barrier. I also don't feel comfortable with my current capabilities exploring the Guix codebase to see what the relevant procedures are. There is a lot to learn! > "guix describe" will be more accurate about what channels your current > guix knows about. It's not clear to me what "your current guix" even is in my case. Does the latest pull define the current guix? On my old computer guix system describe shows a slightly older revision of Guix channels than guix describe. Meanwhile, the root user's guix describe shows just the one Guix channel with yet another commit. As a naive user, I'm understandably more scared that my computer will fail to boot if I upgrade, so I tend to run guix system reconfigure less frequently than guix pull. > If you type "type guix" and "which guix", they should agree it's > ~/.config/guix/current/bin/guix, not something else like > ~/.guix-profile or ~/.guix-home or even /run/current-system I had never heard of the type command! I noticed type and which give different results for "type cd" and "which cd". I also noticed that which --all guix shows two lines: the latter being /run/current-system. I have to admit I'm not still sure what general insight I should be gleaning from your statement, however it sounds like it is pretty neat. > If you reconfigure as the root user, you should pull as the root > user. If you use sudo, which is recommended, make sure that the above > works properly with sudo too. I'm curious to learn more about your rationale for this statement as I was successful at building a second generation only once I used the "sudo" path with my non-root user. Thanks for your help!