unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel@gnu.org
Subject: “guix package -d” on empty profile downloads stuff
Date: Mon, 19 Feb 2024 22:23:03 +0100	[thread overview]
Message-ID: <87cyssdtw2.fsf@elephly.net> (raw)

Hi Guix,

I have a little i686-linux laptop to which I deployed the Sugar desktop.
The only user account on that laptop (other than root) has no Guix
profile.

I switched to that user account and ran “guix package -d”.  Here is what
happened:

--8<---------------cut here---------------start------------->8---
$ guix package -d
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
25.8 MB will be downloaded
 glibc-2.35  8.5MiB                     1.0MiB/s 00:08 ▕██████████████████▏ 100.0%
 bash-minimal-5.1.16  603KiB            2.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 gcc-11.3.0-lib  4.8MiB                 977KiB/s 00:05 ▕██████████████████▏ 100.0%
 libffi-3.4.4  57KiB                    588KiB/s 00:00 ▕██████████████████▏ 100.0%
 libunistring-1.0  671KiB               1.1MiB/s 00:01 ▕██████████████████▏ 100.0%
 pkg-config-0.29.2  218KiB              1.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libgc-8.2.2  219KiB                    767KiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-3.0.9  8.1MiB                    1.3MiB/s 00:06 ▕██████████████████▏ 100.0%
 guile-3.0.9-debug  7.5MiB              1.4MiB/s 00:05 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
0.4 MB will be downloaded
 glibc-utf8-locales-2.35  382KiB        266KiB/s 00:01 ▕██████████████████▏ 100.0%
guix package: error: profile '/var/guix/profiles/per-user/xxx/guix-profile' does not exist
--8<---------------cut here---------------end--------------->8---

Why do we need to download 25.8 MB to decide that we can’t do anything
here?

My usual excuse when faced with questions of this kind what always that
profile hooks may need to run, and they may require more recent versions
of tools to be built first.  Here we don’t seem to have a good reason
for that though.

-- 
Ricardo


                 reply	other threads:[~2024-02-19 21:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87cyssdtw2.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).