From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kAFoKUgtLGH1TQAAgWs5BA (envelope-from ) for ; Mon, 30 Aug 2021 02:58:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mMkZJUgtLGHJIAAA1q6Kng (envelope-from ) for ; Mon, 30 Aug 2021 00:58:48 +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 F36911A4AF for ; Mon, 30 Aug 2021 02:58:47 +0200 (CEST) Received: from localhost ([::1]:34238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKVdO-0003yB-VX for larch@yhetil.org; Sun, 29 Aug 2021 20:58:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKVdE-0003xq-19 for help-guix@gnu.org; Sun, 29 Aug 2021 20:58:36 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKVdB-0001D3-W6 for help-guix@gnu.org; Sun, 29 Aug 2021 20:58:35 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1630285109; cv=none; d=zohomail.com; s=zohoarc; b=geNaDca9KW3D//IrQrCSzYKpnPI+wzfb5Uo4kuKv5vJEKIqqMFKBPBQXTEUjZoa+NITJJG1FY3/mxJoIRIEFr/QCbjWole0+aJOJzCOwk2epQULpHbnWnWHfMQTtjW/bHZo6JDEcnrXar2b06vFVTm9Y2IjP0DHJnTazFw5NN84= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1630285109; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=do4y7YjQIcWacT3GzzEhY7uQpZ45TAsyVIsUceZLvZc=; b=fF3/PVLZIXv0LvIJr8JOe7xtI4dmrYsTBgNJu3G58BXwk561h6RD6AFAcESu5ndLL/jlAMGg7gPXT02r+CiJ1VBf0nePrGpDz3PnVwyzeNR9seb2q9gK6mtCh7ChFRnQWr/AYQDLvMVardkx5WVdZWA+LQrMJh1rfx80pKTHO0g= 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=1630285109; s=zoho; d=a-rx.info; i=rx@a-rx.info; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=do4y7YjQIcWacT3GzzEhY7uQpZ45TAsyVIsUceZLvZc=; b=IVbakd2THmOmqJe3PqPi41mpAaA+cYvJNC2Y6XXJ1/rnYNMyX6TXOx6MCMZEzyA1 WmC8AX0JCnES7fCNWivMuoVXDfimY9PHbqa2FRBTRpPwRDHVT5zgkfQ1O0OA7ufQh+H cbxMwjPxyIX8YysmwpxkfqbFy4GgyVSd2IwcbyZw= Received: from softland (host5-81-182-101.range5-81.btcentralplus.com [5.81.182.101]) by mx.zohomail.com with SMTPS id 1630285107211637.942691543146; Sun, 29 Aug 2021 17:58:27 -0700 (PDT) Received: from rx by softland with local (Exim 4.94.2) (envelope-from ) id 1mKVd2-001WLT-IG for help-guix@gnu.org; Mon, 30 Aug 2021 01:58:24 +0100 From: Andreas Reuleaux To: help-guix Subject: guix on a debian system (with packages from experimental) - recommended day to day routine? Date: Mon, 30 Aug 2021 01:58:24 +0100 Message-ID: <87mtoz695b.fsf@softland> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1630285128; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=do4y7YjQIcWacT3GzzEhY7uQpZ45TAsyVIsUceZLvZc=; b=X8N9OTt2VWIJk7FQiuVTatM1qEx+dtexlyQQ/m91bN27Y3CTxP9BSeIIx8AvlQ3THQYnKr M/ehlLnBCi0azQqZTYXdEkIibNJm21iGDkmptsGbnoX958TRIQy1l7fCsJbdT7hJ8Lmazm Ry5i6EKLsDbZea0QQ1eCRG3ddD1H0IlrLGbPri6FBNFuHYNkMiTPO6aj81dqqQPkUCBcAl Z4Q5/VmVAryvh673yQ8WF+IemvIwYmqfYboJCMi62tk7EhTdRII2tVhmhjFAjY7l3stn4t QPIml1HKJDxpKblj1J+LggyAnoYr+Qbb37VFIblZq8SOGzUHlb6e284h3eRJCg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1630285128; a=rsa-sha256; cv=pass; b=SPj1FD5G1kesec2x4V02VUV1DTgy20jl4Ys/EUe1LNmNihn61BrIhQJUoVQJp55vI7Nz3S bidac7A3v75EcWan2+gEYJfRXtNd5dUd+URsUTMIJzJ8RvffYKlO6BKIv/7rZQsDNEFJld Xh+7gJZa2LdWqt2GsxEd9fQuxgf7ld9kAdxDKc47epVU0rMc3uwnTQjGgYWLMPvxGTSpq5 mCRgvNkf5b0ABH6bX+1Vqotu8yztLLlAAp9pc9Me8W6hX6cIFIO5LQcz8IU51KijvI5X6x jUS0B1RPSUcobghyYJWHmOt1ciSJC/e1gXO4vFTAIPo5qDFpNG0LkJysNdc5JA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=a-rx.info header.s=zoho header.b=IVbakd2T; 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=IVbakd2T; 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: F36911A4AF X-Spam-Score: -2.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: NBL7NlJHKfFJ Having started with guix only recently (with a standalone GuixSD on a spare machine i.e.), I cannot immediatly switch to working with guix only (as much as I would like to), as I have come to depend on many things debian over the years. Thus I am trying to tackle this from both ends: (1) learn some more guix, create packages as I need them, and so on (prepare for my move to guix some day i.e.). (2) and I have now installed guix my main debian machine as well. And I have used the packages from experimental to that end, (on an otherwise bullseye=debian-testing machine), roughly like so: /etc/apt/sources --8<---------------cut here---------------start------------->8--- ... deb http://ftp.uk.debian.org/debian/ bullseye main deb http://security.debian.org/debian-security bullseye-security main deb http://ftp.uk.debian.org/debian/ unstable main deb http://ftp.debian.org/debian experimental main --8<---------------cut here---------------end--------------->8--- /etc/apt/preferences --8<---------------cut here---------------start------------->8--- Package: * Pin: release o=Debian a=testing Pin-Priority: 500 Package: * Pin: release a=unstable Pin-Priority: 490 Package: * Pin: release a=experimental Pin-Priority: 480 --8<---------------cut here---------------end--------------->8--- and then: --8<---------------cut here---------------start------------->8--- root@softland /etc/apt # apt-get -t experimental install guix Reading package lists... Done Building dependency tree... Done Reading state information... Done The following package was automatically installed and is no longer required: libc-devtools Use 'apt autoremove' to remove it. The following additional packages will be installed: guile-2.2 guile-3.0-libs guile-bytestructures guile-gcrypt guile-git guile-gnutls guile-json guile-lzlib guile-sqlite3 guile-ssh guile-zlib libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libgcrypt20 libgcrypt20-dev libgit2-dev libgpg-error-dev libguile-ssh13 libhttp-parser-dev liblz-dev liblz1 libmbedtls-dev libsqlite3-dev libssh-4 libssh-dev libssh2-1-dev libssl-dev libssl3 locales nscd rpcsvc-proto Suggested packages: guile-2.2-doc glibc-doc rng-tools libgcrypt20-doc libmbedtls-doc sqlite3-doc libssh-doc libssl-doc Recommended packages: libc-devtools The following NEW packages will be installed: guile-2.2 guile-3.0-libs guile-bytestructures guile-gcrypt guile-git guile-gnutls guile-json guile-lzlib guile-sqlite3 guile-ssh guile-zlib guix libgcrypt20-dev libgit2-dev libgpg-error-dev libguile-ssh13 libhttp-parser-dev liblz-dev liblz1 libmbedtls-dev libsqlite3-dev libssh-4 libssh-dev libssh2-1-dev libssl-dev libssl3 nscd rpcsvc-proto The following packages will be upgraded: libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev libgcrypt20 locales 8 upgraded, 28 newly installed, 0 to remove and 236 not upgraded. Need to get 74.0 MB/84.7 MB of archives. After this operation, 409 MB of additional disk space will be used. Do you want to continue? [Y/n] --8<---------------cut here---------------end--------------->8--- And yes: I have continued here, and accepted all these new packages, and the installation went smoothly for me. If it was wise to do so, I don't know, and only time will tell: I hope this will not break my system at some point later. My idea was, to have an up to date guix system (1.3.0) on top of my debian system as a starting point - without having to follow the manual steps of a binary installation. And according to /usr/share/doc/guix/README.Debian "installing the Debian package of guix is similar to installing guix on a foreign distro" (Some minor differences are explained there as well: guix build group is _guixbuild and the users are named _guixbuilder[0-9] ... -- OK, fine with me). And now I am using guix on my debian system (I haven't taken exact notes, what I did step by step), but after some --8<---------------cut here---------------start------------->8--- git pull --8<---------------cut here---------------end--------------->8--- step I guess (as a normal/unpriviliged user: rx), I have now two guix (and guix-daemon) binaries: from my debian guix installation: --8<---------------cut here---------------start------------->8--- /usr/bin/guix /usr/bin/guix-daemon --8<---------------cut here---------------end--------------->8--- and as installed/updated from guix itself: --8<---------------cut here---------------start------------->8--- /home/rx/.config/guix/current/bin/guix /home/rx/.config/guix/current/bin/guix-daemon --8<---------------cut here---------------end--------------->8--- and likewise, if I install packages with guix, say fontconfig, then I have: --8<---------------cut here---------------start------------->8--- /home/rx/.guix-profile/bin/fc-list --8<---------------cut here---------------end--------------->8--- (among other fontconfig binaries) in addtion to my debian-system fontconfig binaries (fc-list among them): --8<---------------cut here---------------start------------->8--- rx@softland ~ $ type fc-list fc-list is /usr/bin/fc-list --8<---------------cut here---------------end--------------->8--- I DO NOT want /home/rx/.guix-profile/bin/fc-list to appear before /usr/bin/fc-list in my path, thus I am NOT sourcing: --8<---------------cut here---------------start------------->8--- export GUIX_PROFILE="$HOME/.guix-profile" . "$GUIX_PROFILE/etc/profile" --8<---------------cut here---------------end--------------->8--- at least not for now (and certainly not at the top of my .bashrc) but rather I have a bash function: gx which gives me: --8<---------------cut here---------------start------------->8--- /home/rx/.guix-profile/bin/fc-list --8<---------------cut here---------------end--------------->8--- when I type --8<---------------cut here---------------start------------->8--- gx fc-list --8<---------------cut here---------------end--------------->8--- and otherwise fc-list is my (debian) system command /usr/bin/fc-list. (I am not going into the details: gx is simple enough ...) Now my understanding is, that in my day to day routine, I will work mostly with this newly installed guix command: --8<---------------cut here---------------start------------->8--- /home/rx/.config/guix/current/bin/guix --8<---------------cut here---------------end--------------->8--- rather than with my debian /usr/bin/guix (and THIS /home/rx/.config/guix/current/bin/guix I HAVE in my PATH before /usr/bin/guix), and indeed I can: pull, install packages, upgrade them and so on: --8<---------------cut here---------------start------------->8--- guix pull guix packge -i ... guix package -u ... --8<---------------cut here---------------end--------------->8--- And by the way: only this /home/rx/.config/guix/current/bin/guix will find my personal channel as specified in ~/.config/guix/channels.scm (/usr/bin/guix will not). All this in the personal (rx) niche of my debian system. Now, long story short: I wonder -- two things: (1) what good is the debian /usr/bin/guix at all for me? - and (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). Should I try to do something similar nevertheless once in a while? (and as what user: my unprivileged rx, or as root)? Somehow upgrade my whole guix on debian system i.e.? Clear some cache maybe, etc.? Restart the (debian) guix-daemon perhaps after some upgrade? Or should I just wait till I get upgrades from debian (experimental) at some point? I wonder how other people are coping with this situation? Thanks in advance. -A