all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* "guix system reconfigure" downloads 2G of stuff it doesn't need
@ 2024-07-29 14:31 Zack Weinberg
  2024-07-30 14:43 ` Leo Famulari
  0 siblings, 1 reply; 9+ messages in thread
From: Zack Weinberg @ 2024-07-29 14:31 UTC (permalink / raw)
  To: help-guix

The transcript at the end of this message shows what happens if I run
"guix system reconfigure" immediately after "guix gc", having made
*no changes whatsoever* to the system configuration.

Why does it need to download all of this stuff that I know it doesn't
actually need (given that "guix gc" deleted it)?  In particular it appears
to be downloading build dependencies for everything whether or not it
is going to use a substitute for them, and also packages that I have
intentionally excluded from the system configuration.

This bulks up /gnu/store by *two gigabytes*, and this is a tiny server
so two gigabytes is a substantial fraction of the space available.
However, the real problem is that it's wasting my time and bordeaux's
bandwidth downloading stuff that the next "guix gc" is going to delete.

# guix describe
Generation 2	Jul 28 2024 15:33:47	(current)
  guix fdc6274
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: fdc6274de5b1d617fcabb3f3af9d2c0dd2a6520d

Thanks for your patience with all of my questions,
zw

# guix system reconfigure system-profile/tinka.scm
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
26.4 MB will be downloaded
 glibc-2.35  8.5MiB                   3.1MiB/s 00:03 ▕██████████████████▏ 100.0%
 bash-minimal-5.1.16  568KiB          6.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 gcc-11.3.0-lib  4.8MiB               2.9MiB/s 00:02 ▕██████████████████▏ 100.0%
 libffi-3.4.4  56KiB                  1.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 libgc-8.2.2  218KiB                  3.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 libunistring-1.0  666KiB             6.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 pkg-config-0.29.2  209KiB            8.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-3.0.9  8.2MiB                  4.9MiB/s 00:02 ▕██████████████████▏ 100.0%
 guile-3.0.9-debug  7.8MiB            7.7MiB/s 00:01 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
0.4 MB will be downloaded
 glibc-utf8-locales-2.35  382KiB      909KiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
26.4 MB will be downloaded
 bash-minimal-5.1.16  569KiB          3.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 libffi-3.4.4  56KiB                  2.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 libgc-8.2.2  228KiB                  2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libunistring-1.0  662KiB             6.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 pkg-config-0.29.2  209KiB            6.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-3.0.9  8.2MiB                  5.1MiB/s 00:02 ▕██████████████████▏ 100.0%
 guile-3.0.9-debug  7.8MiB            7.1MiB/s 00:01 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
68.5 MB will be downloaded
 bash-5.1.16-doc  301KiB              2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 attr-2.5.1  64KiB                    1.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 bzip2-1.0.8  59KiB                   2.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 acl-2.3.1  130KiB                    2.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 expat-2.5.0  102KiB                  1.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 gmp-6.2.1  572KiB                    3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 gnutls-3.8.3-doc  1.1MiB             2.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-fibers-1.3.1  333KiB           2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 libcap-2.64  87KiB                   3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 libidn2-2.3.4  196KiB                1.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 coreutils-9.1  2.6MiB                5.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 libtasn1-4.19.0  109KiB              2.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 coreutils-9.1-debug  7.1MiB         33.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 linux-pam-1.5.2  437KiB              1.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 mcron-1.2.3  564KiB                  4.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 ncurses-6.2.20210619  700KiB         469KiB/s 00:01 ▕██████████████████▏ 100.0%
 nettle-3.8.1  378KiB                 957KiB/s 00:00 ▕██████████████████▏ 100.0%
 openssl-1.1.1u  1.7MiB               4.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 openssl-1.1.1u-doc  2.2MiB           1.3MiB/s 00:02 ▕██████████████████▏ 100.0%
 openssl-1.1.1u-static  1.4MiB        4.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 openssl-3.0.8  2.4MiB                6.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 openssl-3.0.8-doc  1.6MiB            774KiB/s 00:02 ▕██████████████████▏ 100.0%
 openssl-3.0.8-static  2.0MiB         4.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 p11-kit-0.24.1  518KiB               5.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 readline-8.1.2  433KiB               9.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 shadow-4.13  1.3MiB                  2.4MiB/s 00:01 ▕██████████████████▏ 100.0%
 bash-5.1.16  1.3MiB                  6.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 inetutils-2.3  441KiB                8.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 bash-5.1.16-include  70KiB           1.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 shepherd-0.10.5  429KiB              2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 util-linux-2.37.4-lib  1.6MiB        9.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 xz-5.2.8  386KiB                     3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 util-linux-2.37.4-static  411KiB     8.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 file-5.44  384KiB                    2.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 zlib-1.2.13  83KiB                   4.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 gnutls-3.8.3  1.6MiB                 5.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-minimal-3.10.7  11.7MiB       2.2MiB/s 00:05 ▕██████████████████▏ 100.0%
 gnutls-3.8.3-debug  3.5MiB          21.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-minimal-wrapper-3.10.7  336B  181KiB/s 00:00 ▕██████████████████▏ 100.0%
 util-linux-2.37.4  1.0MiB            3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
94.9 MB will be downloaded
 bash-static-5.1.16  701KiB           4.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 bzip2-1.0.8  55KiB                   2.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 gdbm-1.23  213KiB                    2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 glibc-2.35  9.3MiB                   7.2MiB/s 00:01 ▕██████████████████▏ 100.0%
 gnutls-3.7.7  1.7MiB                11.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 glibc-2.35-static  1.6MiB            7.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 libgpg-error-1.45  250KiB            2.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 glibc-2.35-debug  19.7MiB           18.9MiB/s 00:01 ▕██████████████████▏ 100.0%
 libgcrypt-1.10.1  589KiB             3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libidn-1.41  213KiB                  4.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 libltdl-2.4.7  37KiB                 3.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 libntlm-1.6  24KiB                   2.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libpng-1.6.37  235KiB                9.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 libsigsegv-2.14  18KiB               1.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 freetype-2.13.0  557KiB              3.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 gawk-5.2.1  1.2MiB                   9.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 fontconfig-minimal-2.14.0  166KiB    3.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxau-1.0.10  9KiB                  250KiB/s 00:00 ▕██████████████████▏ 100.0%
 libxdmcp-1.1.3  25KiB                5.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 mit-krb5-1.20  1.0MiB                3.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxcb-1.15  307KiB                  2.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 gsasl-2.2.0  240KiB                  3.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 libx11-1.8.7  755KiB                 5.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 mailutils-3.17  1.7MiB               5.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxrender-0.9.10  25KiB             3.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 pcre-8.45  600KiB                   10.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxft-2.3.4  47KiB                  1.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-minimal-3.10.7  13.4MiB       3.4MiB/s 00:04 ▕██████████████████▏ 100.0%
 rottlog-0.72.2  63KiB                1.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-minimal-wrapper-3.10.7  339B  408KiB/s 00:00 ▕██████████████████▏ 100.0%
 sqlite-3.39.3  1.1MiB                5.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 tcl-8.6.12  2.5MiB                   2.0MiB/s 00:01 ▕██████████████████▏ 100.0%
 xz-5.2.8  386KiB                     3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 tk-8.6.12  1.3MiB                    3.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxml2-2.9.14  665KiB              12.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-3.10.7  11.1MiB               2.3MiB/s 00:05 ▕██████████████████▏ 100.0%
 libxslt-1.1.37  264KiB               2.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-3.10.7-idle  693KiB           1.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 nginx-1.27.0  434KiB                 4.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-3.10.7-tk  25KiB              2.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-wrapper-3.10.7  334B          112KiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
36.6 MB will be downloaded
 alsa-lib-1.2.4  447KiB               2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libevent-2.1.12  304KiB              2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 libnl-3.5.0  524KiB                  2.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 libogg-1.3.5  187KiB                 3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 crda-4.15  56KiB                     4.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 flac-1.3.4  521KiB                   3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 libvorbis-1.3.7  329KiB              1.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 openssl-1.1.1q  1.8MiB               9.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 opus-1.3.1  211KiB                   4.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 ntp-4.2.8p17  1.8MiB                 2.6MiB/s 00:01 ▕██████████████████▏ 100.0%
 libsndfile-1.2.0  297KiB           236.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-3.10.7  12.8MiB               3.3MiB/s 00:04 ▕██████████████████▏ 100.0%
 libsamplerate-0.1.9  1.3MiB          8.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-wrapper-3.10.7  334B           70KiB/s 00:00 ▕██████████████████▏ 100.0%
 alsa-utils-1.2.4  1001KiB            4.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 meson-1.2.1  1.2MiB                  2.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-pip-23.1  2.0MiB              2.2MiB/s 00:01 ▕██████████████████▏ 100.0%
 zstd-1.5.2-lib  385KiB               8.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 kmod-29  107KiB                      5.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 eudev-3.2.14  1.3MiB                 4.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 eudev-3.2.14-static  82KiB           6.3MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
12.6 MB will be downloaded
 fuse-3.10.5  110KiB                  1.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 libaio-0.3.113  14KiB                946KiB/s 00:00 ▕██████████████████▏ 100.0%
 libarchive-3.6.1  465KiB             3.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 lvm2-2.03.22  1.5MiB                 3.9MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
33.6 MB will be downloaded
 ghostscript-9.56.1-doc  6.5MiB      22.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 font-ghostscript-8.11  3.3MiB        6.5MiB/s 00:01 ▕██████████████████▏ 100.0%
 jbig2dec-0.19  71KiB                 6.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libjpeg-turbo-2.1.4  366KiB          3.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libpaper-2.0.0  30KiB                1.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libtiff-4.4.0  380KiB                1.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 ghostscript-9.56.1  12.2MiB         11.6MiB/s 00:01 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
39.1 MB will be downloaded
 sudo-1.9.14p3  1.6MiB                3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 coreutils-9.1  2.7MiB                5.0MiB/s 00:01 ▕██████████████████▏ 100.0%
 libcbor-0.9.0  31KiB                 4.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 libedit-20191231-3.1  140KiB         3.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 libfido2-1.12.0  211KiB              1.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libice-1.0.10  75KiB                 5.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxext-1.3.4  32KiB                 2.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 libsm-1.2.3  43KiB                   2.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 perl-5.36.0  15.2MiB                 6.8MiB/s 00:02 ▕██████████████████▏ 100.0%
 libxt-1.2.1  193KiB                  3.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 nspr-4.35  255KiB                    2.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libxmu-1.1.3  73KiB                  3.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 nss-3.99.0  2.3MiB                   3.2MiB/s 00:01 ▕██████████████████▏ 100.0%
 xauth-1.1.2  24KiB                   5.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 nss-3.99.0-bin  5.0MiB               3.4MiB/s 00:01 ▕██████████████████▏ 100.0%
 openssh-9.8p1  1.0MiB                4.2MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
110.8 MB will be downloaded
 guile-gcrypt-0.4.0  165KiB           1.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 dbus-1.15.8  281KiB                  2.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 grep-3.8  237KiB                     3.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-bzip2-0.1.0  63KiB             1.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-gnutls-4.0.0  123KiB           3.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-lzma-0.1.1  61KiB              2.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-sqlite3-0.1.3  68KiB           5.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-zlib-0.1.0  40KiB              2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-zstd-0.1.1  27KiB              1.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 gzip-1.12  83KiB                     5.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 gzip-1.12  83KiB                     3.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 http-parser-2.9.4-1.ec8b5ee  19KiB   1.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 libdaemon-0.14  31KiB                2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 libssh-0.10.6  230KiB                3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libssh2-1.10.0  183KiB               3.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-ssh-0.16.4  253KiB             1.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 lzlib-1.13  53KiB                    1.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 nghttp2-1.58.0-lib  100KiB           6.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-lzlib-0.3.0  36KiB             2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 curl-8.5.0  464KiB                   8.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 pcre2-10.40  1.1MiB                  5.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 git-minimal-2.45.2  4.9MiB           3.1MiB/s 00:02 ▕██████████████████▏ 100.0%
 glib-2.78.0  2.7MiB                  4.8MiB/s 00:01 ▕██████████████████▏ 100.0%
 libgit2-1.7.2  711KiB                5.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 avahi-0.8  384KiB                    2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-git-0.7.0  464KiB              2.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-avahi-0.4.1  61KiB             3.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 tar-1.34  795KiB                     6.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 zlib-1.2.13  83KiB                  10.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 disarchive-0.6.0  463KiB             2.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 gcc-11.3.0  41.8MiB                 13.1MiB/s 00:03 ▕██████████████████▏ 100.0%
 guix-1.4.0-23.843b85c  49.8MiB       3.2MiB/s 00:16 ▕██████████████████▏ 100.0%
 ruby-2.7.8  6.1MiB                   889KiB/s 00:07 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
37.3 MB will be downloaded
 python-certifi-2022.6.15  143KiB     2.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 libyaml-0.2.5  53KiB                 3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-3.10.7  9.5MiB                4.3MiB/s 00:02 ▕██████████████████▏ 100.0%
 python-cffi-1.15.1  220KiB           6.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-charset-normalizer-2.1.0  60KiB 59.3MiB/s 00:00 ▕██████████████████▏ 100 python-charset-normalizer-2.1.0  60KiB 3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-cryptography-rust-42.0.5  709KiB 38.4MiB/s 00:00 ▕█▋                ▏    python-cryptography-rust-42.0.5  709KiB 4.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-cython-0.29.32  1.9MiB        5.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-cryptography-42.0.5  164KiB   1.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-docutils-0.19  666KiB         2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-future-0.18.2  621KiB         3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-hypothesis-6.54.5  490KiB     3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-josepy-1.13.0  43KiB          821KiB/s 00:00 ▕██████████████████▏ 100.0%
 python-lxml-4.9.1  1.3MiB           10.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-markupsafe-2.1.1  15KiB       2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-nose-1.3.7  199KiB            2.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-psutil-5.9.2  312KiB          3.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-pygments-2.12.0  1.4MiB       2.6MiB/s 00:01 ▕██████████████████▏ 100.0%
 python-pysocks-1.7.1  23KiB          2.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-pytest-bootstrap-7.1.3  426KiB 56.6MiB/s 00:00 ▕██▋               ▏  15. python-pytest-bootstrap-7.1.3  426KiB 2.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-pyyaml-6.0  160KiB            6.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-requests-2.28.1  82KiB        2.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-toolchain-3.10.7  333B         91KiB/s 00:00 ▕██████████████████▏ 100.0%
 python-xmlschema-1.2.5  267KiB       878KiB/s 00:00 ▕██████████████████▏ 100.0%
 python-chardet-5.1.0  191KiB         2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-pytest-7.1.3  488KiB          2.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-zope-interface-5.1.0  274KiB  4.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-babel-2.10.3  6.2MiB          6.7MiB/s 00:01 ▕██████████████████▏ 100.0%
 python-distro-1.6.0  24KiB           2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 python-sphinx-5.1.1  1.6MiB          1.9MiB/s 00:01 ▕██████████████████▏ 100.0%
 certbot-2.3.0  472KiB                2.4MiB/s 00:00 ▕██████████████████▏ 100.0%
11.9 MB will be downloaded
 procps-4.0.3  762KiB                 1.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 tar-1.34  745KiB                     3.4MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
14.1 MB will be downloaded
 bzip2-1.0.8-static  27KiB            1.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 diffutils-3.8  333KiB                2.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 ed-1.18  53KiB                       7.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 findutils-4.9.0  430KiB              3.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 grep-3.8  237KiB                     2.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-ssh-0.16.4-debug  261KiB       4.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libfontenc-1.1.4  14KiB              4.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 lzip-1.23  78KiB                     4.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 mkfontscale-1.2.2  21KiB             3.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 patch-2.7.6-0.f144b35  97KiB         3.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 mkfontdir-1.0.7  4KiB                769KiB/s 00:00 ▕██████████████████▏ 100.0%
 sed-4.8  224KiB                      2.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 xz-5.2.8-static  102KiB              9.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 zstd-1.5.2  512KiB                   5.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 zstd-1.5.2-static  363KiB           14.4MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
21.4 MB will be downloaded
 libunistring-1.0-static  406KiB      2.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 bdb-6.2.32  992KiB                   4.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 debianutils-5.7-0.4  74KiB           2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 e2fsprogs-1.47.0  1.1MiB             2.0MiB/s 00:01 ▕██████████████████▏ 100.0%
 libgc-8.2.2-debug  239KiB           18.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 libmnl-1.0.5  19KiB                  2.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 libpsl-0.21.1  57KiB                 3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 libnftnl-1.2.3  67KiB                3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 psmisc-23.7  244KiB                  1.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 iptables-1.8.8  367KiB               2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 util-linux-with-udev-2.37.4-lib  1.5MiB 53.6MiB/s 00:00 ▕▊                 ▏    util-linux-with-udev-2.37.4-lib  1.5MiB 4.0MiB/s 00:00 ▕█████████▊        ▏  54 util-linux-with-udev-2.37.4-lib  1.5MiB 3.6MiB/s 00:00 ▕██████████████████▏ 100 util-linux-with-udev-2.37.4-lib  1.5MiB 3.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 iproute2-6.0.0  1010KiB              5.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 util-linux-with-udev-2.37.4  1.0MiB  2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 isc-dhcp-4.4.3-P1  1.7MiB            3.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 util-linux-with-udev-2.37.4-static  373KiB 148.5MiB/s 00:00 ▕███                util-linux-with-udev-2.37.4-static  373KiB 2.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 wget-1.21.3.24  720KiB               4.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 which-2.21  26KiB                    4.3MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
17.5 MB will be downloaded
 file-5.44  327KiB                    1.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 groff-minimal-1.22.4  1.2MiB         5.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-readline-3.0.9  215KiB        10.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 info-reader-6.8  749KiB              3.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 kbd-2.5.1  1.1MiB                    3.6MiB/s 00:00 ▕██████████████████▏ 100.0%
 less-608  126KiB                     3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 libpipeline-1.5.6  49KiB             3.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 libseccomp-2.5.4  88KiB              4.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 liburcu-0.14.0  158KiB               1.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 libusb-1.0.25  100KiB                9.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 libuv-1.44.2  97KiB                  9.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 man-db-2.11.1  449KiB                3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 bind-9.19.24  1.7MiB                 3.3MiB/s 00:01 ▕██████████████████▏ 100.0%
 pciutils-3.8.0  403KiB              14.4MiB/s 00:00 ▕██████████████████▏ 100.0%
 bind-9.19.24-utils  134KiB           1.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 usbutils-017  75KiB                  2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 whois-5.5.17  69KiB                  2.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 usbutils-017-python  19KiB          10.9MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
20.4 MB will be downloaded
 lsof-4.94.0  98KiB                   2.0MiB/s 00:00 ▕██████████████████▏ 100.0%
 lz4-1.9.3  147KiB                    2.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 popt-1.18  58KiB                     521KiB/s 00:00 ▕██████████████████▏ 100.0%
 strace-6.4  347KiB                   1.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 tcsh-6.24.01  324KiB                 1.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 texinfo-6.8  1.3MiB                  1.9MiB/s 00:01 ▕██████████████████▏ 100.0%
 vim-9.1.0146  6.9MiB                 2.7MiB/s 00:03 ▕██████████████████▏ 100.0%
 xxhash-0.8.2  100KiB                 543KiB/s 00:00 ▕██████████████████▏ 100.0%
 rsync-3.3.0  312KiB                  3.2MiB/s 00:00 ▕██████████████████▏ 100.0%
0.0 MB will be downloaded
 guile-gdbm-ffi-20120209.fa1d5b6  41KiB 3.0MiB/s 00:00 ▕██████████████████▏ 100. guile-gdbm-ffi-20120209.fa1d5b6  41KiB 825KiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
36.5 MB will be downloaded
 console-setup-1.212  1.8MiB          4.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 fribidi-1.0.12  48KiB                2.3MiB/s 00:00 ▕██████████████████▏ 100.0%
 fuse-2.9.9  167KiB                   2.2MiB/s 00:00 ▕██████████████████▏ 100.0%
 graphite2-1.3.13  91KiB             10.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 icu4c-71.1  10.9MiB                 11.9MiB/s 00:01 ▕██████████████████▏ 100.0%
 libdatrie-0.2.13  41KiB              4.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 mdadm-4.2  354KiB                   11.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 libthai-0.1.29  188KiB               8.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 grub-2.12  3.6MiB                    2.9MiB/s 00:01 ▕██████████████████▏ 100.0%
 pixman-0.42.2  255KiB                3.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 shared-mime-info-2.3  821KiB         1.7MiB/s 00:00 ▕██████████████████▏ 100.0%
 cairo-1.18.0  600KiB                 2.9MiB/s 00:00 ▕██████████████████▏ 100.0%
 gdk-pixbuf-2.42.10  1.7MiB           2.6MiB/s 00:01 ▕██████████████████▏ 100.0%
 guile-cairo-1.11.2  116KiB           1.8MiB/s 00:00 ▕██████████████████▏ 100.0%
 harfbuzz-8.3.0  1.1MiB               3.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 pango-1.50.14  369KiB                2.5MiB/s 00:00 ▕██████████████████▏ 100.0%
 librsvg-2.56.4  1.9MiB               4.1MiB/s 00:00 ▕██████████████████▏ 100.0%
 guile-rsvg-2.18.1-0.05c6a2f  19KiB   1.4MiB/s 00:00 ▕██████████████████▏ 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/nszm8qqpk3ib9xc3s5w0ppazgng3asz1-system.drv
  /gnu/store/2rnnimwzhj6ikrilfw1jrnj80pfjwb5a-etc.drv
  /gnu/store/kfvicswxv9pzwb5z6lkyj3dgk9blrvy8-shells.drv
  /gnu/store/fsa6r6fmpdpwyk3q8pjhn2gy1s303qdj-activate.scm.drv
  /gnu/store/4gma1044ginxps8basw1ksrhpj1m31pv-activate-service.scm.drv
  /gnu/store/cn8s50w6338mfhgsmyfamchdd60q6s4q-activate-service.scm.drv
  /gnu/store/q3ib5qww4vwdvli5kyf4vxf35b7hpkgz-provenance.drv
  /gnu/store/sg2i6j0siim2zr1kxa216njhvk6l13kg-boot.drv
  /gnu/store/spm647vag77jwnhqks0dqvdafw8jijc2-shepherd.conf.drv
  /gnu/store/8qkzg9gnglva8bzcznmswxwz1xyk93h3-shepherd-mcron.go.drv
  /gnu/store/k2jm5xq6sypfj9hgzdsbmywxivi3miwm-shepherd-mcron.scm.drv
  /gnu/store/hdvzb8dw91p9hljy1jbzmljjf2pxxigw-mcron-job.drv
  /gnu/store/n97qyfla8m08bd6wvv86c8y8g03rwkhx-unattended-upgrade.drv
  /gnu/store/kcq44903ma1m8mpx1ir0nrhvmxavzxy9-shepherd-user-homes.go.drv
  /gnu/store/khys0srplyzzip3x8qi0wqh8xq96ylz2-shepherd-user-homes.scm.drv
  /gnu/store/00dwzvlsz56pa62jvhfk6yhs3qmyaygw-grub.cfg.drv
  /gnu/store/cjpsi8r33g7jlzx16j5m32vj0r3b5f0n-grub-locales.drv

0.1 MB will be downloaded
building /gnu/store/q3ib5qww4vwdvli5kyf4vxf35b7hpkgz-provenance.drv...
 module-import-compiled  135KiB       2.0MiB/s 00:00 ▕██████████████████▏ 100.0%
building /gnu/store/4gma1044ginxps8basw1ksrhpj1m31pv-activate-service.scm.drv...
applying 3 grafts for console-setup-1.212 ...
applying 4 grafts for fuse-2.9.9 ...
applying 4 grafts for mdadm-4.2 ...
building /gnu/store/kfvicswxv9pzwb5z6lkyj3dgk9blrvy8-shells.drv...
applying 13 grafts for grub-2.12 ...
building /gnu/store/2rnnimwzhj6ikrilfw1jrnj80pfjwb5a-etc.drv...
building /gnu/store/cjpsi8r33g7jlzx16j5m32vj0r3b5f0n-grub-locales.drv...
building /gnu/store/cn8s50w6338mfhgsmyfamchdd60q6s4q-activate-service.scm.drv...
building /gnu/store/khys0srplyzzip3x8qi0wqh8xq96ylz2-shepherd-user-homes.scm.drv...
building /gnu/store/fsa6r6fmpdpwyk3q8pjhn2gy1s303qdj-activate.scm.drv...
building /gnu/store/kcq44903ma1m8mpx1ir0nrhvmxavzxy9-shepherd-user-homes.go.drv...
building /gnu/store/n97qyfla8m08bd6wvv86c8y8g03rwkhx-unattended-upgrade.drv...
building /gnu/store/hdvzb8dw91p9hljy1jbzmljjf2pxxigw-mcron-job.drv...
building /gnu/store/k2jm5xq6sypfj9hgzdsbmywxivi3miwm-shepherd-mcron.scm.drv...
building /gnu/store/8qkzg9gnglva8bzcznmswxwz1xyk93h3-shepherd-mcron.go.drv...
building /gnu/store/spm647vag77jwnhqks0dqvdafw8jijc2-shepherd.conf.drv...
building /gnu/store/sg2i6j0siim2zr1kxa216njhvk6l13kg-boot.drv...
building /gnu/store/nszm8qqpk3ib9xc3s5w0ppazgng3asz1-system.drv...
building /gnu/store/00dwzvlsz56pa62jvhfk6yhs3qmyaygw-grub.cfg.drv...
/gnu/store/cyb0pj5ygag7fvdcpd6vkcnca0ky2wy6-system
/gnu/store/gdqrmcim9p2wx7p8fxnhin7avf4wj28w-grub.cfg

activating system...
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/pbddsjbm7wasrhjk74l39krsgc282zzd-switch-to-system.scm.drv
  /gnu/store/kvlzl2bbzy1lndb3a9ikvrywqd9a2pb3-module-import.drv
  /gnu/store/r12709n72q5frfs4y4z12cr0dvnww51q-module-import-compiled.drv
  /gnu/store/smqxpcw4gw5r38sxc8d9kjd0d52x1xnb-module-import.drv
  /gnu/store/s7fm5vqw2vrqxh5n22vvq8ya5xfki6pw-module-import-compiled.drv

building /gnu/store/kvlzl2bbzy1lndb3a9ikvrywqd9a2pb3-module-import.drv...
building /gnu/store/smqxpcw4gw5r38sxc8d9kjd0d52x1xnb-module-import.drv...
building /gnu/store/s7fm5vqw2vrqxh5n22vvq8ya5xfki6pw-module-import-compiled.drv...
building /gnu/store/r12709n72q5frfs4y4z12cr0dvnww51q-module-import-compiled.drv...
building /gnu/store/pbddsjbm7wasrhjk74l39krsgc282zzd-switch-to-system.scm.drv...
making '/var/guix/profiles/system-31-link' the current system...
setting up setuid programs in '/run/setuid-programs'...
populating /etc from /gnu/store/ssr3vikrdriy7pnbzn2j413m5zdj1r4c-etc...
creating nginx log directory '/var/log/nginx'
creating nginx run directory '/var/run/nginx'
creating nginx temp directories '/var/run/nginx/{client_body,proxy,fastcgi,uwsgi,scgi}_temp'
nginx: the configuration file /gnu/store/q3whx62nk0qi5kijy6c0spvllmjy5an7-nginx.conf syntax is ok
nginx: configuration file /gnu/store/q3whx62nk0qi5kijy6c0spvllmjy5an7-nginx.conf test is successful
`/gnu/store/hfixhzcbb5i5614x53sliycgrxka472l-openssh-authorized-keys/root' -> `/etc/ssh/authorized_keys.d/root'
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/j9207hy6axppc72864a79xxx8qv6jy2w-install-bootloader.scm.drv
  /gnu/store/d9nq64ghs34x8wznrah8wxixnhzwq7sn-module-import-compiled.drv
  /gnu/store/mp6hz845659750isn9x78c6mbdq6gsv9-module-import.drv
  /gnu/store/df2wcv924bdlj0i46nanrwv31i62pqnp-module-import.drv
  /gnu/store/pigf844nw7236mjx1vqmdx8nfcib8mwq-module-import-compiled.drv

building /gnu/store/df2wcv924bdlj0i46nanrwv31i62pqnp-module-import.drv...
building /gnu/store/mp6hz845659750isn9x78c6mbdq6gsv9-module-import.drv...
building /gnu/store/pigf844nw7236mjx1vqmdx8nfcib8mwq-module-import-compiled.drv...
building /gnu/store/d9nq64ghs34x8wznrah8wxixnhzwq7sn-module-import-compiled.drv...
building /gnu/store/j9207hy6axppc72864a79xxx8qv6jy2w-install-bootloader.scm.drv...
guix system: bootloader successfully installed on '(/dev/vda)'
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
  /gnu/store/bjigigpbzj34mzn06nhxizmv77skj0mg-module-import-compiled.drv

applying 2 grafts for libffi-3.4.4 ...
applying 2 grafts for libgc-8.2.2 ...
applying 2 grafts for libunistring-1.0 ...
applying 2 grafts for pkg-config-0.29.2 ...
applying 7 grafts for guile-3.0.9 ...
building /gnu/store/bjigigpbzj34mzn06nhxizmv77skj0mg-module-import-compiled.drv...
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/rrmmismixqkgyq9vc4w870d3fal970z6-upgrade-shepherd-services.scm.drv
  /gnu/store/zn25hrq559icg3yki3szhwpyv3ggf7s6-module-import-compiled.drv

building /gnu/store/zn25hrq559icg3yki3szhwpyv3ggf7s6-module-import-compiled.drv...
building /gnu/store/rrmmismixqkgyq9vc4w870d3fal970z6-upgrade-shepherd-services.scm.drv...
shepherd: Starting service host-name...
shepherd: Service host-name started.
shepherd: Service host-name running with value #<unspecified>.
shepherd: Service host-name has been started.
shepherd: Starting service user-homes...
shepherd: Service user-homes has been started.
shepherd: Starting service sysctl...
shepherd: Service sysctl has been started.
shepherd: Service user-homes has been started.
shepherd: Starting service renew-certbot-certificates...
shepherd: Service renew-certbot-certificates has been started.
To complete the upgrade, run 'herd restart SERVICE' to stop,
upgrade, and restart each service that was not automatically restarted.
Run 'herd status' to view the list of services on your system.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
  2024-07-29 14:31 "guix system reconfigure" downloads 2G of stuff it doesn't need Zack Weinberg
@ 2024-07-30 14:43 ` Leo Famulari
  2024-07-30 17:56   ` Zack Weinberg
  0 siblings, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2024-07-30 14:43 UTC (permalink / raw)
  To: Zack Weinberg; +Cc: help-guix

On Mon, Jul 29, 2024 at 10:31:35AM -0400, Zack Weinberg wrote:
> Why does it need to download all of this stuff that I know it doesn't
> actually need (given that "guix gc" deleted it)?  In particular it appears
> to be downloading build dependencies for everything whether or not it
> is going to use a substitute for them, and also packages that I have
> intentionally excluded from the system configuration.

Very generally, these programs are considered necessary to build the
system generation itself.

I'm not claiming that each of these programs is executed in the process
of building the generation, but they are considered by Guix to be
required, either directly or transitively, in order to perform this
work.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
  2024-07-30 14:43 ` Leo Famulari
@ 2024-07-30 17:56   ` Zack Weinberg
  2024-08-01 20:38     ` Leo Famulari
  2024-08-06  8:52     ` Marek Paśnikowski
  0 siblings, 2 replies; 9+ messages in thread
From: Zack Weinberg @ 2024-07-30 17:56 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

On Tue, Jul 30, 2024, at 10:43 AM, Leo Famulari wrote:
> On Mon, Jul 29, 2024 at 10:31:35AM -0400, Zack Weinberg wrote:
>> Why does it need to download all of this stuff that I know it doesn't
>> actually need (given that "guix gc" deleted it)?  In particular it
>> appears to be downloading build dependencies for everything whether
>> or not it is going to use a substitute for them, and also packages
>> that I have intentionally excluded from the system configuration.
>
> Very generally, these programs are considered necessary to build the
> system generation itself.
>
> I'm not claiming that each of these programs is executed in the
> process of building the generation, but they are considered by Guix
> to be required, either directly or transitively, in order to perform
> this work.

Is there a good way to investigate _why_ each of these packages is
considered necessary to build the system generation, and, equally
importantly, why they are _not_ considered necessary by "guix gc"?

zw


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
  2024-07-30 17:56   ` Zack Weinberg
@ 2024-08-01 20:38     ` Leo Famulari
  2024-08-01 23:45       ` Felix Lechner via
  2024-08-06  8:52     ` Marek Paśnikowski
  1 sibling, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2024-08-01 20:38 UTC (permalink / raw)
  To: Zack Weinberg; +Cc: help-guix

On Tue, Jul 30, 2024 at 01:56:28PM -0400, Zack Weinberg wrote:
> Is there a good way to investigate _why_ each of these packages is
> considered necessary to build the system generation [...]

Yes, the source code of Guix is available here:

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

... and it's totally self-contained in that Git repo. As for specifics,
I recommend asking on the #guix IRC channel or here.

Generally, consider that building and making effective a Guix System
generation requires diverse work to be performed.

For example, file-systems and partitions may be created or changed. The
bootloader will be changed. The initial ram disk will be built and
installed.  Networking configuration may be altered. User accounts and
groups may be created, deleted, or changed.

And so on. There are a lot of programs involved and most of them have
run-time dependencies too.

> [...] and, equally importantly, why they are _not_ considered
> necessary by "guix gc"?

The short answer is "to save disk space at the potential cost of
increased network usage".

First, read the brief documentation to learn about the garbage collector
works, at a high level:

https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-gc.html

If you just want to stop these things from being garbage collected, you
can run the guix-daemon with the argument "--gc-keep-outputs=yes", and
maybe also "--gc-keep-derivations=yes":

https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix_002ddaemon.html

Of course your space usage will increase.

Your general question is frequently asked, here is a good discussion of
the subject and the trade-offs involved in configuring the garbage
collector:

https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00287.html
https://lists.gnu.org/archive/html/help-guix/2018-09/msg00028.html

I hope that helps!


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
  2024-08-01 20:38     ` Leo Famulari
@ 2024-08-01 23:45       ` Felix Lechner via
  2024-08-02 11:53         ` Marek Paśnikowski
  0 siblings, 1 reply; 9+ messages in thread
From: Felix Lechner via @ 2024-08-01 23:45 UTC (permalink / raw)
  To: Leo Famulari, Zack Weinberg; +Cc: help-guix

Hi Leo,

On Thu, Aug 01 2024, Leo Famulari wrote:

>> [...] and, equally importantly, why they are _not_ considered
>> necessary by "guix gc"?
>
> The short answer is "to save disk space at the potential cost of
> increased network usage".

I am not sure I agree with your framing.  While adjustments to the
garbage collector may prevent downloads, I believe some prerequisites
are undeclared (although I cannot say which ones or why).

Like Zack, I think 'guix gc' should not remove items needed to
reconfigure a system or to reinstall the bootloader, at least not for
the current system generation.

> you can run the guix-daemon with the argument "--gc-keep-outputs=yes",
> and maybe also "--gc-keep-derivations=yes":

I have been doing that, but in my estimation what is being kept exceeds
what's needed by a wide degree.

Kind regards
Felix


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
  2024-08-01 23:45       ` Felix Lechner via
@ 2024-08-02 11:53         ` Marek Paśnikowski
  2024-08-02 17:58           ` Felix Lechner via
  0 siblings, 1 reply; 9+ messages in thread
From: Marek Paśnikowski @ 2024-08-02 11:53 UTC (permalink / raw)
  To: help-guix

Felix Lechner via <help-guix@gnu.org> writes:

> Hi Leo,
>
> On Thu, Aug 01 2024, Leo Famulari wrote:
>
>>> [...] and, equally importantly, why they are _not_ considered
>>> necessary by "guix gc"?
>>
>> The short answer is "to save disk space at the potential cost of
>> increased network usage".
>
> I am not sure I agree with your framing.  While adjustments to the
> garbage collector may prevent downloads, I believe some prerequisites
> are undeclared (although I cannot say which ones or why).
>

That is indeed the case. I have a bash alias which combines "guix pull",
"guix system reconfigure" and "guix gc" with options. Every single time
I update the system with this alias, I see "ghostscript-with-x", "ibus",
"ruby" and others being fetched before anything else. I do have both
--gc-keep* options enabled.

>> you can run the guix-daemon with the argument "--gc-keep-outputs=yes",
>> and maybe also "--gc-keep-derivations=yes":
>
> I have been doing that, but in my estimation what is being kept exceeds
> what's needed by a wide degree.
>

Are you perhaps not aware of "guix home delete-generations -d *" and
"sudo guix system delete-generations -d *"? I used to have my system
partition overfilled with /gnu/store data before I found those
commands. Once I issued them, the next "guix gc" cleared over 100GiB.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
  2024-08-02 11:53         ` Marek Paśnikowski
@ 2024-08-02 17:58           ` Felix Lechner via
  2024-08-02 19:04             ` Marek Paśnikowski
  0 siblings, 1 reply; 9+ messages in thread
From: Felix Lechner via @ 2024-08-02 17:58 UTC (permalink / raw)
  To: Marek Paśnikowski, help-guix

Hi Marek,

On Fri, Aug 02 2024, Marek Paśnikowski wrote:

> Are you perhaps not aware of "guix home delete-generations -d *" and
> "sudo guix system delete-generations -d *"?

I use those without the "-d *" part.  What does that do, please?

> I used to have my system partition overfilled [...] the next "guix gc"
> cleared over 100GiB.

Sorry, my statement was speculative.  I inferred something, and perhaps
shouln't have, from turning off the daemon options mentioned earlier.
On a cleaned system, it suddenly saved 8 GiB.  That seemed excessive for
derivations (which are text) although perhaps not for outputs.

Kind regards
Felix


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
  2024-08-02 17:58           ` Felix Lechner via
@ 2024-08-02 19:04             ` Marek Paśnikowski
  0 siblings, 0 replies; 9+ messages in thread
From: Marek Paśnikowski @ 2024-08-02 19:04 UTC (permalink / raw)
  To: help-guix

Felix Lechner via <help-guix@gnu.org> writes:

> Hi Marek,
>
> On Fri, Aug 02 2024, Marek Paśnikowski wrote:
>
>> Are you perhaps not aware of "guix home delete-generations -d *" and
>> "sudo guix system delete-generations -d *"?
>
> I use those without the "-d *" part.  What does that do, please?
>

My bad — I was writing from memory and got this wrong. It indeed is
delete-generations [pattern] .


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: "guix system reconfigure" downloads 2G of stuff it doesn't need
  2024-07-30 17:56   ` Zack Weinberg
  2024-08-01 20:38     ` Leo Famulari
@ 2024-08-06  8:52     ` Marek Paśnikowski
  1 sibling, 0 replies; 9+ messages in thread
From: Marek Paśnikowski @ 2024-08-06  8:52 UTC (permalink / raw)
  To: help-guix

"Zack Weinberg" <zack@owlfolio.org> writes:

> On Tue, Jul 30, 2024, at 10:43 AM, Leo Famulari wrote:
>> On Mon, Jul 29, 2024 at 10:31:35AM -0400, Zack Weinberg wrote:
>>> Why does it need to download all of this stuff that I know it doesn't
>>> actually need (given that "guix gc" deleted it)?  In particular it
>>> appears to be downloading build dependencies for everything whether
>>> or not it is going to use a substitute for them, and also packages
>>> that I have intentionally excluded from the system configuration.
>>
>> Very generally, these programs are considered necessary to build the
>> system generation itself.
>>
>> I'm not claiming that each of these programs is executed in the
>> process of building the generation, but they are considered by Guix
>> to be required, either directly or transitively, in order to perform
>> this work.
>
> Is there a good way to investigate _why_ each of these packages is
> considered necessary to build the system generation, and, equally
> importantly, why they are _not_ considered necessary by "guix gc"?
>

I have a hypothesis, that the process of generation preparation was
considered to be completely transient, and thus the derivations and
outputs are never registered as live items of the gnu store.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-08-06  8:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 14:31 "guix system reconfigure" downloads 2G of stuff it doesn't need Zack Weinberg
2024-07-30 14:43 ` Leo Famulari
2024-07-30 17:56   ` Zack Weinberg
2024-08-01 20:38     ` Leo Famulari
2024-08-01 23:45       ` Felix Lechner via
2024-08-02 11:53         ` Marek Paśnikowski
2024-08-02 17:58           ` Felix Lechner via
2024-08-02 19:04             ` Marek Paśnikowski
2024-08-06  8:52     ` Marek Paśnikowski

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.