unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: c4droid <c4droid@foxmail.com>
To: Thorsten Wilms <t_w_@freenet.de>
Cc: help-guix@gnu.org
Subject: Re: How to repair/reinstall guix on foreign distro
Date: Tue, 18 May 2021 10:30:03 +0800	[thread overview]
Message-ID: <tencent_375E8BEE58CB86EFAF8D90CE56C2E8071C09@qq.com> (raw)
Message-ID: <87fsykbwpg.fsf@foxmail.com> (raw)
In-Reply-To: <20210516181036.f6ae7962bfeb19791a445092@freenet.de>


Thorsten Wilms writes:

> 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?

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


  parent reply	other threads:[~2021-05-18 15:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-16 16:10 How to repair/reinstall guix on foreign distro Thorsten Wilms
2021-05-18  2:23 ` Joshua Branson
2021-05-18  7:49   ` Thorsten Wilms
2021-05-18  8:03     ` Joshua Branson
2021-05-18  9:20     ` Ricardo Wurmus
2021-05-18 11:38       ` Thorsten Wilms
     [not found] ` <87fsykbwpg.fsf@foxmail.com>
2021-05-18  2:30   ` c4droid [this message]
2021-05-18  7:53     ` Thorsten Wilms

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_375E8BEE58CB86EFAF8D90CE56C2E8071C09@qq.com \
    --to=c4droid@foxmail.com \
    --cc=help-guix@gnu.org \
    --cc=t_w_@freenet.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).