unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: David Lecompte via <help-guix@gnu.org>
To: Gottfried <gottfried@posteo.de>, help-guix@gnu.org
Subject: Re: guix pull; guix package -u; sudo guix system reconfigure /etc/config.scm
Date: Fri, 08 Apr 2022 06:50:36 +0000	[thread overview]
Message-ID: <1307b2335f824039b3c2b3176bec931c9989a183.camel@protonmail.com> (raw)
In-Reply-To: <6c13aea6-d7d5-0642-cd91-211d7cabcc00@posteo.de>

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

Hallo Gottfried,

Le jeudi 07 avril 2022 à 20:40 +0000, Gottfried a écrit :
> But what is with "guix package -u"
> When I did it two days ago it took 6 hours. I couldn't swich off my
> laptop. So I can do it only when having a lot of time.
> Normally it took approx. 30 min

I use guix on Trisquel but perhaps it is the same situation, more or
less.

If it takes 6h instead of 30 minutes, it may be because there is no
subtitute available for some package, so your computer is compiling the
source, which takes time (on my laptop, it can be more than 2 days for
ungoogled-chromium alone, of course I only did it once).

To avoid that, after "guix pull", I run "guix weather `guix package --
list-installed | cut -f1`". If it says 100% substitutes are available,
I run "guix package -u", otherwise, I wait a few days and do "guix
pull" and "guix weather `guix package --list-installed | cut -f1`"
again.

Also, I added bordeaux.guix.gnu.org as a substitutes server, as it
often has more substitutes available than ci.guix.gnu.org. You can
check the manual to do that.

I have never used profiles but I guess this is a way to split packages
so that you can upgrade only a subset of packages, for which hopefully
substitutes are available (you can use "guix weather" to check).

> If I don't need always the latest version, I can do it once a month
> or once in two month
> Is that okay?

That is a question I am unable to answer, but if anyone has some
insight, I'd be highly interested.

David.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 855 bytes --]

  parent reply	other threads:[~2022-04-08 13:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-07 20:40 guix pull; guix package -u; sudo guix system reconfigure /etc/config.scm Gottfried
2022-04-08  2:38 ` raingloom
2022-04-27 21:29   ` Cássio Tavares
2022-04-27 23:18     ` raingloom
2022-04-08  6:50 ` David Lecompte via [this message]
2022-04-28 14:15 ` EuAndreh
  -- strict thread matches above, loose matches on Subject: below --
2022-04-10 10:01 Gottfried
2022-04-12  0:42 ` raingloom

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=1307b2335f824039b3c2b3176bec931c9989a183.camel@protonmail.com \
    --to=help-guix@gnu.org \
    --cc=david.lecompte@protonmail.com \
    --cc=gottfried@posteo.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).