From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id /pjgFOhDMWGm8QAAgWs5BA (envelope-from ) for ; Thu, 02 Sep 2021 23:36:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id nBFuD+hDMWFKPgAA1q6Kng (envelope-from ) for ; Thu, 02 Sep 2021 21:36:40 +0000 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 7120812C34 for ; Thu, 2 Sep 2021 23:36:39 +0200 (CEST) Received: from localhost ([::1]:48690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLuNx-0004rF-C3 for larch@yhetil.org; Thu, 02 Sep 2021 17:36:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLuNU-0004r3-JM for help-guix@gnu.org; Thu, 02 Sep 2021 17:36:08 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21165) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLuNR-0004RY-TS for help-guix@gnu.org; Thu, 02 Sep 2021 17:36:08 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1630618559; cv=none; d=zohomail.com; s=zohoarc; b=Cq0JEvSxllZ2YNosg3cEjw5Qa9VmEwCfdNoCSaJLS2sGGwQ9n51Cnj/H/Wz1SGpmntFrXvAquAKi2ZZZi/jwjJIlljXcT+UaDennMX+7Jt1NlB5CmL0fAbLZ7aTG5E/+BbDzaQadDptrKenf2mrjcG5R4/mveeZfsgwAnhFS/Fw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1630618559; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=/7Izbqsi+lvQn1Y3+L7wd56bEzjIu3qzNFsLrZuO1bY=; b=BMM40fQPSJ80kY9Y7VAhX1QbOq235kTsTMq7LmO7/z00S6e3DU1PBiZDOGhirS4H1jcnHvvyc4SMDTNWmc+zYhrrrudepVV4CfmUUVxyo7Kj3nxE8SOCt0bMeqRS4hs3foFopREX+J3ZKM4Rzhmn338NJXjnsvRGMiFmheeAuao= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=a-rx.info; spf=pass smtp.mailfrom=rx@a-rx.info; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1630618559; s=zoho; d=a-rx.info; i=rx@a-rx.info; h=From:To:Subject:References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=/7Izbqsi+lvQn1Y3+L7wd56bEzjIu3qzNFsLrZuO1bY=; b=F6lKHpdYaFkXMQGz7jYYuYNArkId9e5jsTtFZqhF/kL+VPla4cJN9pCP0tPoz2vK ikgfbDkRgiGY4YkLQKdZ9JbVEIE2RqF0/hl5E0IQpQ2XsrtBiO8o1CTTFLram4m/R0k ZQRxtQX0q4EStgBjNVDQNE4zQtUAYUTFObr04HA4= Received: from softland (host5-81-182-101.range5-81.btcentralplus.com [5.81.182.101]) by mx.zohomail.com with SMTPS id 1630618558274745.9229727118309; Thu, 2 Sep 2021 14:35:58 -0700 (PDT) Received: from rx by softland with local (Exim 4.94.2) (envelope-from ) id 1mLuNH-009qky-4e for help-guix@gnu.org; Thu, 02 Sep 2021 22:35:55 +0100 From: Andreas Reuleaux To: help-guix Subject: Re: guix on a debian system (with packages from experimental) - recommended day to day routine? References: <87mtoz695b.fsf@softland> <86zgsu21hr.fsf@gmail.com> Date: Thu, 02 Sep 2021 22:35:55 +0100 In-Reply-To: <86zgsu21hr.fsf@gmail.com> (zimoun's message of "Thu, 02 Sep 2021 21:58:40 +0200") Message-ID: <871r66d5j8.fsf@softland> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rx@a-rx.info; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630618599; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=/7Izbqsi+lvQn1Y3+L7wd56bEzjIu3qzNFsLrZuO1bY=; b=qUCHezi3MoN5NVyk3AKrh3gaRa8TP+VoNcqu2Gy9vymOjIx2yKbJ5Q+8FiFLbxcVWs2B5d q5+KLB5X5DZv1qDUiHVjD7J8OeQiC4aSYjn36/tbiyA7z+4jXTVUPmv3SgV3Vq7Pq0wnA3 Fhvxyc5V4BUZebsK8DvN96jpXq5XQ5xOV0TjlVME/ZnoUbrULAHUVC2quwBQ9n5VBpHBK7 wAqf2a18Nj+aLivihxlgf82hGrbDuvamBPV/8IQmjssQTIQKGLZtRAGbeGwu67WNuRoY7M oM4JabkuwviYg9ftR8QlyPI3sXEELh8hSUHAhttsNwfwLTAh/ytcRyQ4caJyiw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1630618599; a=rsa-sha256; cv=pass; b=oReTyhijbj83OLpzQzJ9O2NHU5WBPi3esgx9GC4qA3iMgmX9tsRumDm4Au4VqD7sVxSuJ3 8jUC+VG8ela9Lb69n4iexaRwjjYEjTYRxHW/eisagrQXbffnF5XmaJoE6prm5nJuhlrwWI fqKyRiuE4ofv4DsnMlPIYfCwY7TPQ7RomfnK+MOv+OjqBt8trJ+tJSXiMW1pK/wCL4TAGl 6RBGmdUmNDFvK8ISOub7EeFNTPz2wObM3o1VHCGJBO7eE/P98iJHS12oVpHy1nFz4EAf7L A+z/rdNBvtSpZtFNxLIbKQZvsxs2gGs5wIkr2fTH3j9nY8Hop8GwN19WZ5QFSg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=F6lKHpdY; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=F6lKHpdY; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 7120812C34 X-Spam-Score: -2.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: 2v2CrV2D+phS Well, thanks for answering this older question of mine as well. - I yet have to study your answer in more detail (but not tonight any more). -Andreas zimoun writes: > Hi > > On Mon, 30 Aug 2021 at 01:58, Andreas Reuleaux wrote: > >> Now, long story short: I wonder -- two things: >> >> (1) what good is the debian /usr/bin/guix at all for me? - and > > I am not sure to understand the question. > > In short, /usr/bin/guix is not useful for the user because the user uses > ~/.config/guix/current/bin/guix instead. However, the user uses the > daemon which is /usr/bin/guix-daemon. Except if you changed the SystemD > configuration. > > When you run “guix pull” as a user, ~/.config/guix/current/bin/guix is > updated but not the daemon which is running with root privileges. > > To update this daemon, you can run “guix pull” as root. Note the daemon > changes really barely. You can also update the daemon with “apt upgrade > guix” but I am not sure Guix is often updated. > > >> (2) what daily routine is recommended for upgrading/reconfiguring my >> whole guix system, with /usr/bin/guix perhaps - if any routine at all? >> >> Obviously, the >> --8<---------------cut here---------------start------------->8--- >> sudo guix system reconfigure /etc/config.scm >> --8<---------------cut here---------------end--------------->8--- >> step does not apply, as there is no /etc/config.scm now on my system >> (it is running debian after all). > > I do not think it makes because it is Guix on foreign distro and not > Guix System. > >> Should I try to do something similar nevertheless once in a while? >> (and as what user: my unprivileged rx, or as root)? > > Well, running Guix on Debian (installed via the script), I do: > > $ guix pull > > once a week or more often, then > > $ guix package -u > > when I am in good mood. :-) Every good Moon phase, I do as root: > > # guix pull > # systemctl restart guix-daemon.service > > Aside, I recommend you to read: > > > > Other said, my default profile ~/.guix-profile contains almost nothing. > And I have several profiles living at ~/.config/guix/profiles/ which I > update time to time. Then I also have profiles living in the folder of > my project’s directories. > > Also, I declare the packages a profile requires using a file > manifest.scm then I store “guix describe -f channels” as channels.scm > when I create the profiles. It allows to recreate elsewhere with: > > guix time-machine -C channels -- package -m manifest.scm > >> Clear some cache maybe, etc.? > > Time to time, I run “guix gc” with various options. > > > Hope that helps, > simon