From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gAlXLqh8jGCzGwEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 23:54: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 MZMbKqh8jGAZawAA1q6Kng (envelope-from ) for ; Fri, 30 Apr 2021 21:54: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 7020F102F8 for ; Fri, 30 Apr 2021 23:54:48 +0200 (CEST) Received: from localhost ([::1]:50286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcb5z-00048d-LJ for larch@yhetil.org; Fri, 30 Apr 2021 17:54:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcYt1-0003fY-Ee for guix-devel@gnu.org; Fri, 30 Apr 2021 15:33:15 -0400 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]:41552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcYsy-0007sb-DV for guix-devel@gnu.org; Fri, 30 Apr 2021 15:33:15 -0400 Received: by mail-io1-xd33.google.com with SMTP id f21so32716486ioh.8 for ; Fri, 30 Apr 2021 12:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=8uydkl4y/Y4Xt+R42JJgf+Rt3R+vctGAqXxerIGnsqw=; b=XuAKjLF8otlBG4JQoY6uUqOJcumCwhYB5UB4UahZEyY1BWVclDEkWulnXCDrk3lgx0 OOELlJduSpirOlgyDN0dwPDS8kaQT8Za8xWRAZwT0s5Il4/aDzWNEk4CbkWRVpITuq// sti6f6TSkVtkaV6EWktLzRUv2TYR1l9yLWUE5SFnfLQnAHsGlANndmj1PgtBWoDZ2ogq +wEZ62ViQwzZEI0DPkKxw5jmjryoYSNQ64f5pnrFpbcpoWJo+e8Ib7i5S8xq4X0x3v4w IDcbpPHgPvqaUjxI6x886kF4uVRDb4LsLORg2HL1LV60QuLmBUYWF89NK/kPDKkDiz+g SrXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8uydkl4y/Y4Xt+R42JJgf+Rt3R+vctGAqXxerIGnsqw=; b=jbLB5lZCFlPWriGYnSXL3GHdecl/RdIJD7wj+eoGMN19o/8EoLm9/uPeBCG5RHOC9t mlSkA0ac49rMt2ZjgFgjKgpnZFnQHTyb8tTyEoiE6dgPuiKQbRbOwh6rvuRnQwkkpfGC t5EBFpn3/wqxNyekzxWdljQN69f8uvBhjFzxR5PVg62pMP9JfBkqIx9GiUPPhd8molPb Ikhd3c2JvbIIiISeK2m072mAlTWrA6TLdWYaknqr0yE6ecI12xzniB69w0dpD2P+eFvl YflM2XGxVVFZXedbYeviWYQYr/WfY9VQzCIR8pPEw04CKPPTedmmEltGDq1dgTcmDys/ 57HQ== X-Gm-Message-State: AOAM532JQoSWsKt6mUnZo4Pt6u4la376bX5P4frNb9F//wLpVIHSS/nQ isMQaZGTPhadjKFfuE96C0QmKlMUx4Z2kfAIv3cHzGu84uQ= X-Google-Smtp-Source: ABdhPJx1139EJ/klyBG98vFlwiu90ILafgW+yDZFARpPn5NCJ1Imif1kQTRo2bKUS2oJw9CphZAOS4+ZnrvHXt7UPuU= X-Received: by 2002:a02:6d66:: with SMTP id e38mr6315069jaf.69.1619811191123; Fri, 30 Apr 2021 12:33:11 -0700 (PDT) MIME-Version: 1.0 From: Vladilen Kozin Date: Fri, 30 Apr 2021 20:32:59 +0100 Message-ID: Subject: Unfortunate statefulness of Guix Install image To: guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d33; envelope-from=vladilen.kozin@gmail.com; helo=mail-io1-xd33.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 30 Apr 2021 17:10:17 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619819688; 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=8uydkl4y/Y4Xt+R42JJgf+Rt3R+vctGAqXxerIGnsqw=; b=LxYS2Vxpr1rgfyACYyRCHE4xBQ8pSeyZs4h0JoT3iamH0aas1DgiTb+6PA4yMh3dbYFjMX jdwzHyart1klsznq8mudoRqzKL+gB6JNL3vtBu72lshiz1gLmVuMjFfrr5I6aE4b7byUoz Hkeitn+6aTs8xSEkygzQHx88d0grOCSCfXgW5iUOaujtV0He2YDIMtlXhKij3lBV5DhpZB tCsWn5yWOe8VZh9/1yGZzZICGijK5RoX2D97Kz9Ss60kQB/t/nDnMUIu6C6NdsKv4YkICT e+/awkIf6yj3BT5NhmE8w+pfACkbfY/vvFOz8PxO08G1zYBwZurq3s3WYO6nzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619819688; a=rsa-sha256; cv=none; b=Lo7gV3ICKUczMS+S6EZFjIQ45SC1eLjyJgb6Q/5kgnENl0KKK0udj3jWxIxIyB+1FLkln2 +Xby6XHbajPSrn+TJxa6Kh7INLqwrqvwKTTIrSonEChTLuDC8QcbC77t8sd+cCcA86BcIq bxfrmD/jFzNAVSkDkWkbQr9O/d5NxYZ4Ui4ddDpGElOtb+nJSaOaNrKD4jsMZtYxMC0Ulb Z7exPC8XmjfFryQImLNfyRdH9bnrcBua3svnaGO4t3qBjQ0mdIPdWhqsTDB4ecxJ+PjWY7 e9MFO1eVv33sCE39CJrE9QsosVNExCH+qz3drysiBUEjONh69GhIEOEK5LyFZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=XuAKjLF8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=XuAKjLF8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 7020F102F8 X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: HHg7bDMrc4eS Hello Guix. This may or may not be a "bug", but thought I'd report something I run into. I found that GUI install never worked for me but booting off Guix Install USB and then following https://guix.gnu.org/manual/en/html_node/Manual-Installation.html worked perfectly fine. Except, when you try to do the manual install off the same USB ... twice. That is, having installed a system once off that USB, you then try to install another and your `guix system init path/to/config.scm /mnt` would almost immediately fail with error saying that some expected derivation have not been found in the store. My best guess from what I've read in the manual is this. Store is not the only place where derivations appear. /var/guix/db stores metadata about said derivations. So the first time you do `herd start cow-store /mnt` trick it'll create the store there but will populate the db on that USB drive. Next time you try to install from that same USB on a different machine it'll have its db reference derivations that are no longer available. I worked around this by stupidly `mv /var/guix/db /var/guix/db.old` and `guix system init` went without trouble. I guess my complaint is that at least the manual way (maybe GUI install, too) is completely stateful and turns that USB stick into "consumable good" unless you know about the database. Sorry, dunno enough about Guix, so maybe I've been doing something wrong. -- Best regards Vlad Kozin