From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OTVEOjXko2ACbwAAgWs5BA (envelope-from ) for ; Tue, 18 May 2021 17:58:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0LlFNTXko2AdCgAAbx9fmQ (envelope-from ) for ; Tue, 18 May 2021 15:58:45 +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 590A91A4BF for ; Tue, 18 May 2021 17:58:45 +0200 (CEST) Received: from localhost ([::1]:54164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj27H-0003ET-7c for larch@yhetil.org; Tue, 18 May 2021 11:58:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lipWB-00058t-DF for help-guix@gnu.org; Mon, 17 May 2021 22:31:36 -0400 Received: from out162-62-57-87.mail.qq.com ([162.62.57.87]:55203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lipW5-0008HE-3a for help-guix@gnu.org; Mon, 17 May 2021 22:31:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1621305080; bh=FK9bKgctuPOQaYQAJ/mF5Ci1Mix44xMjsPwT7U+3pBA=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=JHsMMdp7AU/vdddteXv/qVxkR0zbQfFa5dT3xdc+Tb81yBszRPVjZl1t7hxIJeYGs R9PUmq1UqKLf6vnAgPLo0HLB0uBQfEV7W3mAyD2uCLd1ZMZe7F/+gMeUud+b0mCu7B Wu4et6Gk4gE7aS8OcxN1VkadmOoI1ggdTUagcjBA= Received: from Workstation ([117.136.87.204]) by newxmesmtplogicsvrszc7.qq.com (NewEsmtp) with SMTP id 784A9C22; Tue, 18 May 2021 10:30:04 +0800 X-QQ-mid: xmsmtpt1621305004tavhr1zdd Message-ID: X-QQ-XMAILINFO: NhHA7dEGFJ5egcAfEFqxBbRoEUnE8nnYFQOjEm8XEbyCn3pPu0pTURGCvi+GF6 affq4eU3YVv5WjzweiWpM0c+N95Tq0RXZ8iL265Q8L/9s696eIBzD8nvMMS/tiA6+OusiFSfgoQE 0V2WukXitUqcv1OyCxv7d4P8wgQ17nr1mMHAKgD+SBUcASbp+CmWXzybkziTXnUbd1t2N0LJASaS /SoBqPR4qryYCRrtGvfH6toETi8WVMJSrDwEhUCg2bQZb+idNGEGaj0A16nkMtOz669dOxswPkKy r7UUfjnX3KAZJz3dWMjbFhXSEUemhmjerRMU3MHzalWu0U7ACcyr+98o4y60OFLSP1qMZ/rK/clc lW02if6ZxfzZAO9m5S9wbEVgOw03vkDakOdk5z9PzzuVb8lv574dm/NEaLS4w8Kz8wgZGY26iQJC WdL6lNUXaBf/RgcNtgRHL0H5sOeNmKwxCq12c1XfQneedBc+SY/DkJKvUlxoxNRGUyTMJcQDZIhp uiT1o3TmrrmGAdFKxZRpFO2d6I/JVtQME7rjQspafvointzhQq8yFLMmpAIQQ6Jm9OalX7so3QAK HqBPnG9zOrIs5Mbn42T4ZZtWTxchWmlkuMFXRSWO6NZJxTWbLClfjdj0czzGkbeFmFegsSh1Yaol wxNJpMtJw77EkpRKvkieuu6I+W7dubCy2MMEQOJc1fd1D2yqkT/A76Oja6O4AhUfJwOmk0Ur6dRb o9FQXnRi7e/n1kwIDxdQVkRQKMTyooS9pYWbAe8WAguHAcEAPVYgUkVUf63YU6pjK2uXbVQz4Ddx 8= References: <20210516181036.f6ae7962bfeb19791a445092@freenet.de> User-agent: mu4e 1.4.15; emacs 27.2 From: c4droid To: Thorsten Wilms Subject: Re: How to repair/reinstall guix on foreign distro In-reply-to: <20210516181036.f6ae7962bfeb19791a445092@freenet.de> Date: Tue, 18 May 2021 10:30:03 +0800 Message-ID: <87fsykbwpg.fsf@foxmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=162.62.57.87; envelope-from=c4droid@foxmail.com; helo=out162-62-57-87.mail.qq.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.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, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 18 May 2021 11:53:12 -0400 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: , Cc: help-guix@gnu.org 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=1621353525; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id: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=FK9bKgctuPOQaYQAJ/mF5Ci1Mix44xMjsPwT7U+3pBA=; b=GCGehNVZXW8uLyHFCEhptDRcI0duuTFAslSAizbKRumi95F2/jixSIsrKxXZKVnlu3XwH3 Eyie6p8L8NjgOcROOFRTK52ImYzpmoghzCuaZZxko7j0lXvzIqSzR6Ntfm1i6Ro3l9cW3J R+0aJAbPz/YVy1ZcQy0Augy0KkCJAI66RYGLNhcQHEOYeyAUuBB4hne1IJWCmkTv0Arnet qc9a0M+cq0+V7246LEv19sM1EcQFATcZBExi7ea5dcdwCvFBAM0Kd6t6aQ/8r/O6+0rXyR tNsciKw86ytSX6d4AkI124pmw3dHf7jhyWb+77L1H8UYtb+aEkruaofoUgaYjQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621353525; a=rsa-sha256; cv=none; b=StPBD5Bp+ejQDDjSJY+GVZ7aEyEDaxiBg6KmNjZteQRZIRS2BAaQbKlRmDAfnA9Kp9Oo7N 6wNEnGyCTJiuMtNYcvW6ZutoOCDDEDhqBuygSAp/SBaDlcNC81xzV29v8Ueh8HUN18DKuE oW1ThDhuQ8TJx43tIEVUZ7tdfcjORYARnY1gFHX421BKu+FTrffjEmCnjnrUmujNIxAhJc byk3H2yU7qAopNGGJLqjVsp+5fKZNQvTJskpj88Tfi7GSHsgqIGua684ivbhW5U/yHDY61 9Xw2UQCe9mJasRK2wwSdbRH/7Ap/GMkIvcdY4yoQWuw5fnFpOS26ZqkFR9J+HA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=foxmail.com header.s=s201512 header.b=JHsMMdp7; dmarc=pass (policy=none) header.from=foxmail.com; 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: 6.26 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=foxmail.com header.s=s201512 header.b=JHsMMdp7; dmarc=pass (policy=none) header.from=foxmail.com; 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: 590A91A4BF X-Spam-Score: 6.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: ERSZotKgLR0/ 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. > > 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 > ``` > > 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? Hi, Thorsten I was install guix on a ubuntu server and work right, can you reproduce you guix installation process? maybe the fault happen in install guix process. ------ Best reguards, c4droid