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 mDE+KqVEoWAmdwEAgWs5BA (envelope-from ) for ; Sun, 16 May 2021 18:13:25 +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 sIvzJaVEoWAiDwAA1q6Kng (envelope-from ) for ; Sun, 16 May 2021 16:13:25 +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 2A45312B7A for ; Sun, 16 May 2021 18:13:24 +0200 (CEST) Received: from localhost ([::1]:44370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liJOM-0000br-8r for larch@yhetil.org; Sun, 16 May 2021 12:13:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liJLn-0007Uz-3I for help-guix@gnu.org; Sun, 16 May 2021 12:10:43 -0400 Received: from mout1.freenet.de ([2001:748:100:40::2:3]:57340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1liJLk-0003MO-Qw for help-guix@gnu.org; Sun, 16 May 2021 12:10:42 -0400 Received: from [195.4.92.122] (helo=sub3.freenet.de) by mout1.freenet.de with esmtpa (ID t_w_@01019freenet.de) (port 25) (Exim 4.92 #3) id 1liJLg-0005f0-Mw for help-guix@gnu.org; Sun, 16 May 2021 18:10:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; s=mjaymdexmjqk; h=Content-Transfer-Encoding:Content-Type:Mime-Version: Message-Id:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yWe8Iq3tfS8ONsU1lxa8q1NS/zf/9b8m7oGl2aCp72s=; b=RJJVQj2klN+JSkSGC5wETjIKM2 Vfy8iHK1f9OJfz8aocgfPPte0DBbwNWQ5mPCm3HbolBvI+gUkyxJv9FwvmMC+8U1EkbiBL8HnLRkz 475bOj0QdspLBXa4Gsw8TZtxYN5rWgwhIwnOr8VlL/zq6vyyeQZnyFhSdruBDacbkY+jlKR2IN35m 0rO9sbPIUbYtEUofDlPQ2cbJguJu5v6HJNFN1uXQZSktO+Za8/V7oyJ20iJ0JBY32rK0cqfHHBOZc TVj6JyebxKjIZ8ySi53cPTk3ar19ELoKd5ivZI3rZbGoOmVradyfrJdaHDaPKk7LTBF8aRpPe30P+ KXOcFObQ==; Received: from p200300e4f726c300630eb1f799898beb.dip0.t-ipconnect.de ([2003:e4:f726:c300:630e:b1f7:9989:8beb]:35454 helo=tango) by sub3.freenet.de with esmtpsa (ID t_w_@01019freenet.de) (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (port 465) (Exim 4.92 #3) id 1liJLg-0008Vu-KO for help-guix@gnu.org; Sun, 16 May 2021 18:10:36 +0200 Date: Sun, 16 May 2021 18:10:36 +0200 From: Thorsten Wilms To: help-guix@gnu.org Subject: How to repair/reinstall guix on foreign distro Message-Id: <20210516181036.f6ae7962bfeb19791a445092@freenet.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originated-At: 2003:e4:f726:c300:630e:b1f7:9989:8beb!35454 X-FNSign: v=2 s=0AFAE7EB7367CFA844F0144D092EC50E84D8DE9D5C405E3105D1B8E8EF635437 X-Scan-TS: Sun, 16 May 2021 18:10:36 +0200 Received-SPF: pass client-ip=2001:748:100:40::2:3; envelope-from=prvs=077008ffd0=t_w_@freenet.de; helo=mout1.freenet.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621181604; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=yWe8Iq3tfS8ONsU1lxa8q1NS/zf/9b8m7oGl2aCp72s=; b=ngjZeIsmxiN6LfmY4zStKfV5n1f3jWXKRSuKEiK++SdVeqmfpGCJottIWz4qHAxXUg0bYB wJPIRQN2qgkOgK8zLJfPAhejHQtPzNqiBDWeiRDe+QpNR2lOHH/bQxHgD4ivDf0Xv5rppN 0p9oI4DbORzV2i73LuqcWSsKN0FKicHzLWJsme0CdHnwtjPqwj/StqoULjipqt+TnfKKUM 8DldLBhmWrMdZbXORUxPPy0Mrd506BdiWauSzIZkpbJmnrE5VRYRQoPLRyuBcdYpRGJLgO /mmzmIeXppGcR+BvBN6ILB7v1UbMUa9jLFJ9AonDwOIxuhVMkWSPU3RhwSA1fA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621181604; a=rsa-sha256; cv=none; b=FLkGEYh5M1AcvNxU+Iwaje8xeLmyFzULXeEDxdz6q9PsNMdc55O8acW1tKMK6SHjzVmzon T3z7okaJ6oZ28u+oI+LRdZXENcNrEsZzqKi0shNQ2TfglbrKwEtojm+tYZHrAvd/sXMrbO EK2b97TR3OkbIeRtbsh0Q6pYNJMryWJGaif+yr23HQKT2Uiat2/+D9Z6SRVYaZVzbl6Yql SJm+l1Hp555bgEVs0OyQwwpKinHwzGbjbILN8zrOpwD6UCfxFsF0+yjBILm7KEf6Bb8wiN D4hoZIzdAYCwlOox+w+TsZZn/qAVm/qN19in9mWsItNCni4eQkdS9Z+Job38rg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=freenet.de header.s=mjaymdexmjqk header.b=RJJVQj2k; 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: 0.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=freenet.de header.s=mjaymdexmjqk header.b=RJJVQj2k; 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: 2A45312B7A X-Spam-Score: 0.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: f5wRB9jZO8MU Hi! It seems every few weeks i’m thrown into a initramfs prompt, as root got mounted read-only. The way out is always running fsck, which reports errors and offers fixes that I either can’t map to anything, or that refer to paths that belong to guix. Usually only below /gnu/store, but this time also var/guix. Now `guix pull` fails with: ``` ;;; WARNING: loading compiled file /gnu/store/8bsnz1fk330qbn1p8k18i0j11vld4jxd-guix-module-union/lib/guile/3.0/site-ccache/guix/build-system/gnu.go failed: ;;; In procedure load-thunk-from-memory: not an ELF file Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... guix pull: error: Git error: invalid data in index - incorrect header signature ``` At first, I focused on the warning (sorry, leoprikler) ... the same git error happens when using an older guix. Now a fix for that would be great, but independent of that, I have to wonder how one should go about reinstalling guix on a foreign distro. I cannot umount or remount and remove /gnu/store! Even after `sudo systemctl stop gnu-store.mount`, /gnu/store is busy. `fuser -kim /gnu/store/` will throw me out of the session, even though I would think everything that belongs to it is part of the host (Ubuntu Unity 20.10). No sudo umount or remount or rm -rf allowed, /gnu/store remains ro and busy. Short of booting another system (say an USB stick), is there a way to clear /gnu/store? Or to safely replace its content? -- Thorsten Wilms