GNU bug report logs - #65412
Guix installer failed to install

Previous Next

Package: guix;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Sun, 20 Aug 2023 16:04:02 UTC

Severity: normal

To reply to this bug, email your comments to 65412 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#65412; Package guix. (Sun, 20 Aug 2023 16:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 20 Aug 2023 16:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-guix <at> gnu.org
Subject: Guix installer failed to install
Date: Sun, 20 Aug 2023 18:02:51 +0200
[Message part 1 (text/plain, inline)]
Hi,

My attempt to install Guix 1.4.0 in a VM failed, shortly after a message:

guix system: warning: at least 6,035.5 MB needed but only 1,079.3 MB available in /mnt

The steps that I did are below. Data was uploaded as
installer-dump-2cf3425e.

The problem is not so much that it failed, but that the warning
message does not sufficiently describe the cause:
  * I understand the figure of 6 GB: that's the expected size for
    a GUI environment with MATE.
  * But I don't understand the figure of 1 GB.
    - Is /mnt a RAM disk (the VM has 2 GB of RAM), or did the installer fail
      to mount /mnt?
    - Or is /mnt overloaded to the swap partition (which has 1 GB in my config)?
    - Or is /mnt the 10 GB partition of my disk, and the downloaded binaries
      already filled 9 GB of it?
If I knew this, I would know what to do to fix the problem: Add more RAM?
Partition differently? Use a larger main partition?

Best regards.

Bruno

========================= What I did =========================
Download: guix-system-install-1.4.0.x86_64-linux.iso

Disk size: 10 GB

Language: English.
Territory: United States.
Graphical install.
Timezone: Europe/Berlin
Keyboard: English (US)
Hostname: guix14
Root password: ********
Add user:
  User: bruno
  Full name: Bruno Haible
  Home directory: /home/bruno
  Password: ********
Desktop environment: MATE + ExWM
Enable OpenSSH daemon.
Partitioning: Guided. gpt. One partition.
  Delete partitions 2 and 3.
  Create new partitions:
    9.7 GB ext4 /
    1035 MB linux-swap
[guix140-install-failure.png (image/png, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#65412; Package guix. (Tue, 22 Aug 2023 09:09:02 GMT) Full text and rfc822 format available.

Message #8 received at 65412 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Bruno Haible <bruno <at> clisp.org>, 65412 <at> debbugs.gnu.org
Subject: Re: bug#65412: Guix installer failed to install
Date: Tue, 22 Aug 2023 11:08:01 +0200
[Message part 1 (text/plain, inline)]
Hi Bruno,

Bruno Haible <bruno <at> clisp.org> writes:
>
> The problem is not so much that it failed, but that the warning
> message does not sufficiently describe the cause:
>   * I understand the figure of 6 GB: that's the expected size for
>     a GUI environment with MATE.
>   * But I don't understand the figure of 1 GB.
>     - Is /mnt a RAM disk (the VM has 2 GB of RAM), or did the installer fail
>       to mount /mnt?
>     - Or is /mnt overloaded to the swap partition (which has 1 GB in my config)?
>     - Or is /mnt the 10 GB partition of my disk, and the downloaded binaries
>       already filled 9 GB of it?
> If I knew this, I would know what to do to fix the problem: Add more RAM?
> Partition differently? Use a larger main partition?

My guess is that, because a Guix system init installs some stuff in
steps, one of these steps ended up requiring too much space, that would
be bullet point 3 above.  You can check that it's not 1 or 2 by, once
you reproduce this bug, going to tty3 (using ctrl+alt+f3), and typing
`lsblk` to check which partition is mounted where.  In the meantime, I
would probably recommend adding some space for /.

Best,
-- 
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#65412; Package guix. (Sat, 02 Sep 2023 11:56:02 GMT) Full text and rfc822 format available.

Message #11 received at 65412 <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: 65412 <at> debbugs.gnu.org, Josselin Poiret <dev <at> jpoiret.xyz>
Subject: Re: bug#65412: Guix installer failed to install
Date: Sat, 02 Sep 2023 13:55:19 +0200
Hi Josselin,

Thanks for the answer.

> > The problem is not so much that it failed, but that the warning
> > message does not sufficiently describe the cause:
> >   * I understand the figure of 6 GB: that's the expected size for
> >     a GUI environment with MATE.
> >   * But I don't understand the figure of 1 GB.
> >     - Is /mnt a RAM disk (the VM has 2 GB of RAM), or did the installer fail
> >       to mount /mnt?
> >     - Or is /mnt overloaded to the swap partition (which has 1 GB in my config)?
> >     - Or is /mnt the 10 GB partition of my disk, and the downloaded binaries
> >       already filled 9 GB of it?
> > If I knew this, I would know what to do to fix the problem: Add more RAM?
> > Partition differently? Use a larger main partition?
> 
> My guess is that, because a Guix system init installs some stuff in
> steps, one of these steps ended up requiring too much space, that would
> be bullet point 3 above.

Yes, that was it. I did the same procedure again, this time with a disk
of size 20 GB instead of 10 GB. The installation succeeded, and after the
installation 6-7 GB of the disk were used. But the qcow2 disk image was
14 GB large, indicating that the maximum use of the disk had been 14 GB.
So, yes, there must have been ca. 7 GB of data that were temporarily used
and deleted near the end of the installation process.

Suggestion: Extend the message "... but only 1,079.3 MB available in /mnt"
- either to include details about /mnt:
  "... but only 1,079.3 MB available in /mnt, mount point for /dev/sda2
   (file system type: ext4)"
- or to include details about the usage of /mnt:
  "... but only 1,079.3 MB available in /mnt, a file system with 8,543 MB
   total size, of which 7,421 MB are already in use"

Bruno







This bug report was last modified 244 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.