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 2MNjMiwlo2AbeAAAgWs5BA (envelope-from ) for ; Tue, 18 May 2021 04:23: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 QBESLiwlo2DRPwAA1q6Kng (envelope-from ) for ; Tue, 18 May 2021 02:23: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 C3E309E4C for ; Tue, 18 May 2021 04:23:39 +0200 (CEST) Received: from localhost ([::1]:33044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lipOU-0003oe-Nz for larch@yhetil.org; Mon, 17 May 2021 22:23:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lipO8-0003oV-8y for help-guix@gnu.org; Mon, 17 May 2021 22:23:16 -0400 Received: from mx1.dismail.de ([78.46.223.134]:13614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lipO5-0003C4-Uz for help-guix@gnu.org; Mon, 17 May 2021 22:23:16 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 7ecbd0e6; Tue, 18 May 2021 04:23:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=20190914; bh=7nGi8XXW eeCvIPfQ5g/JHgPVobaWyBx5XYS1iTesLTc=; b=K7LaQa97wzqXjpTXJW7IFBdB 89UqQAYKdHreQLSh9yTixB8nwr1ZQrevbj1VFH2PhqRo5BlyblfeZ9sYGEDubsNd 1hKTHBtBCLQYvXHpHntLgGCpwsqu/6wLRZ1PXHWrMbbqnqQFbKZg11tTXx9iASfv Rt2zcEMjFOMKMn2hZdOReEgSKbAtyu7EaTBm5nmKQvkcJUtAkgbgzmCQN+Z1hsBj eLKer11b06gszFXMTaskBiqBp406vy6bv5/DSJV1aW2fPZTmJ4IYmAdGVHSOnCDF p6HXwh0fkeNoA+sm2tIwqtkcwm2R8jfm3SYWnznA5TE3AAIaIszvHXc6BF/lKg== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 63e98ba8; Tue, 18 May 2021 04:23:07 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 43bb87b6; Tue, 18 May 2021 04:23:07 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id c31a8853 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 18 May 2021 04:23:06 +0200 (CEST) From: Joshua Branson To: Thorsten Wilms Cc: help-guix@gnu.org Subject: Re: How to repair/reinstall guix on foreign distro References: <20210516181036.f6ae7962bfeb19791a445092@freenet.de> Mail-Followup-To: Thorsten Wilms , help-guix@gnu.org Date: Mon, 17 May 2021 22:23:03 -0400 In-Reply-To: <20210516181036.f6ae7962bfeb19791a445092@freenet.de> (Thorsten Wilms's message of "Sun, 16 May 2021 18:10:36 +0200") Message-ID: <874kf0bx14.fsf@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.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, 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=1621304620; 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: 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=8kpbkNr2ZG4GTGqN1QLXxA1i+AtYuriUhfo5DKJxc08=; b=b6MKPQI2QuQ2s4RqYEnWeslUQV2epWDcHt72EenPqCCst2vkNHcMTN97gSGivm8WEEE7Ow TvrpUO6to1n6Lmfr6tPHIx9pStGPTSuqGgbW4dQvmC6852MTTlaQZN2UOxQd3NFlWUnR5X euO56NQY0ONP4kWjy1F9msQigO2Uro5wlS4yqlWJ5jJOC1IEMAZ8/6+y2vC9tnQiSmR65J JIbTxgd6ehI1AZ5LApgs2l/nqbvzuwHWksY5ppVTxE4KzvXVq2SATftBiIHbhh889zbecB BmsJ+DvHwIPKGPMh1dkewKwFE3zUwQ6+gQl/yxFqOmvX4nUL61xTDIFOzh5ivA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621304620; a=rsa-sha256; cv=none; b=AdTjKW0RWICYBT8kqUUViEOJHn0HyxAwB/PDrgXbRGVGou6dFgzGSBKz3APvftrjAcrRbF I9JD2mHEqxo70uOMH96lC4F96+tqw8Hbt8IlwHNEJW3v5laGOLp6rStiAZuXya0VPQkNAJ t5j1dnc50hSq0z9eJ6QC2TPVYGHsXTiCd9UHIvpn4viCBYWDYR0GXQrnKjx/PruOnQ8KOX pK+KEFmXWEu2Ib3X9ZYntywrDznTV/LnoHrtNP61wWSgC1tSH8fwG/H7Ow1xwFIUrEJfY9 ZHtJMj3wVUkYHMVZOXRp86LY7jvIKJDFdPgoZHoVeGx175FJuZx8M2uyHv0imQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=K7LaQa97; dmarc=pass (policy=reject) header.from=dismail.de; 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: -3.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=K7LaQa97; dmarc=pass (policy=reject) header.from=dismail.de; 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: C3E309E4C X-Spam-Score: -3.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: pXnMJ4pEU0RF Thorsten Wilms writes: > Hi! It seems every few weeks i=E2=80=99m 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=E2=80=99t map to anythi= ng, or > that refer to paths that belong to guix. Usually only below /gnu/store, > but this time also var/guix. Is ubuntu causing this issue? Why are you seeing an initramfs prompt every few weeks? If you are running guix on ubuntu...that seems like it's ubuntu's fault. Though I'm probably way wrong. > > Now `guix pull` fails with: > ``` > ;;; WARNING: loading compiled > file /gnu/store/8bsnz1fk330qbn1p8k18i0j11vld4jxd-guix-module-union/lib/gu= ile/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 > ``` Man...I've no idea. I'm honestly responding just so you get a response. Why do you suppose you are getting into an initramfs...As in you always have to run fsck? What hardware are you using? > 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? -- Joshua Branson (joshuaBPMan in #guix) Sent from Emacs and Gnus https://gnucode.me https://video.hardlimit.com/accounts/joshua_branson/video-channels https://propernaming.org "You can have whatever you want, as long as you help enough other people get what they want." - Zig Ziglar