* How to reconfigure system without downloads I did not order?
@ 2020-11-28 11:39 znavko--- via
2020-11-28 12:14 ` Tobias Geerinckx-Rice
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: znavko--- via @ 2020-11-28 11:39 UTC (permalink / raw)
To: help-guix
Hello! I have a little incomprehension that make solving a simple task so slow.
I just want to say Guix to mount newly inserted SSD (3rd from all) after every start.
I have just edited /root/config-2-disks.conf placing these lines:
(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
(bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (target "/boot/efi")))
(file-systems (cons*
(file-system (device "/dev/sda1") (mount-point "/boot/efi") (type "vfat"))
(file-system (device "/dev/sda2") (mount-point "/") (type "ext4"))
(file-system (device "/dev/sdb1") (mount-point "/home/bob/disk1") (type "ext4"))
(file-system (device "/dev/sdc1") (mount-point "/home/bob/disk2") (type "ext4"))
%base-file-systems))
The process of reconfiguration fails every time sometimes on downloading linux-libre, sometimes libwnck:
# guix system reconfigure /root/config-2-disks.conf
...
downloading from https://ci.guix.gnu.org/nar/lzip/4v3c26b84jgxz0gar0n75dy47hxl213y-libmbim-1.20.2 ...
libmbim-1.20.2 262KiB 700KiB/s 00:00 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/jb5rq36y60dam3h0bmwp1g7hcaqnbfgn-ffmpeg-4.3.1 ...
ffmpeg-4.3.1 8.8MiB 991KiB/s 00:09 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/k9rlni2yafzz79kqm4b0rx7r0h0bhq70-libqmi-1.24.14 ...
libqmi-1.24.14 1.5MiB 975KiB/s 00:02 [##################] 100.0%
guix substitute: error: connect: Connection timed out
substitution of /gnu/store/r28zc1yn6aw5jnij6jap45lr4fnvd7hs-alsa-plugins-1.2.2 failed
killing process 3824
guix system: error: some substitutes for the outputs of derivation `/gnu/store/zkynj525l0xvy8j3j6x7lb6k7da98qsr-alsa-plugins-1.2.2.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
root@antelope ~# guix system reconfigure /root/config-2-disks.conf
46.1 MB will be downloaded
downloading from https://ci.guix.gnu.org/nar/lzip/smjm2hv2lwi1hhb9kzkkras55qzl6yf8-linux-libre-headers-5.4.20 ...
linux-libre-headers-5.4.20 1.0MiB 276KiB/s 00:04 [##################] 100.0%
# guix system reconfigure /root/config-2-disks.conf
...
downloading from https://ci.guix.gnu.org/nar/lzip/f6biy2lp9b5nhpr1h94npbfngjhqayxr-startup-notification-0.12 ...
startup-notification-0.12 33KiB 2.9MiB/s 00:00 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/867mz9gqk8x2p0b58z0zkys65pghwdwl-upower-0.99.11 ...
upower-0.99.11 179KiB 630KiB/s 00:00 [##################] 100.0%
guix substitute: error: connect: Connection timed out
substitution of /gnu/store/84ys8zyxzn231q9y27kysxyyzy41kd14-libwnck-3.32.0 failed
killing process 4220
guix system: error: some substitutes for the outputs of derivation `/gnu/store/n8sm20aswfjqscp70p4njvj50h5vnk8v-thunar-1.8.16.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
root@antelope ~# guix system reconfigure --help
Usage: guix system [OPTION ...] ACTION [ARG ...] [FILE]
Build the operating system declared in FILE according to ACTION.
Some ACTIONS support additional ARGS.
I am sorry. How to prevent the process of system upgrade and just remain things as they are but only adding new disk to my system?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to reconfigure system without downloads I did not order?
2020-11-28 11:39 How to reconfigure system without downloads I did not order? znavko--- via
@ 2020-11-28 12:14 ` Tobias Geerinckx-Rice
2020-11-28 12:53 ` znavko
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-11-28 12:14 UTC (permalink / raw)
To: znavko; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1223 bytes --]
Hullo znavko,
znavko--- via 写道:
> I am sorry. How to prevent the process of system upgrade and
> just remain things as they are but only adding new disk to my
> system?
Guix can't upgrade your system, it can only build a new one. It
will merely re-use parts of the old system that they have in
common (which can be and often is ‘almost everything’).
This is actually significant: you can't ask a new Guix to modify
an older Guix's system, to leave everything in place but just add
this one small thing, like you can for bare profiles. For that,
you need to reconfigure the old system with the same version of
Guix that was used to build it.
What do
$ guix system describe
and
$ guix describe
say? My guess is they will both display a different commit
because you've ‘guix pull’ed after creating the system. If so,
you can use
$ guix time-machine --commit=<system commit> -- system
reconfigure …
to apply your changes.
If the system and guix commits *do* match and you've added nothing
besides a new FILE-SYSTEM, I have no idea why Guix is
(re-)building ffmpeg. An overzealous ‘guix gc’ in the meantime?
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to reconfigure system without downloads I did not order?
2020-11-28 11:39 How to reconfigure system without downloads I did not order? znavko--- via
2020-11-28 12:14 ` Tobias Geerinckx-Rice
@ 2020-11-28 12:53 ` znavko
2020-11-28 18:02 ` znavko
2020-11-28 20:48 ` jbranso
3 siblings, 0 replies; 5+ messages in thread
From: znavko @ 2020-11-28 12:53 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: help-guix
I think you're good hacker, but I'm still using bandy hands.
Yes, you are right, I made gc and deleted all previous generations 2 days ago,
and now Guix has nothing work with.
And I'm still in front of network a problem and cannot just apply new config file:
Is a flag 'build from source' can help me? Or what else to try here?
# guix describe
Generation 36 Nov 28 2020 13:14:53 (current)
guix 2950161
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 295016183caa4943522125528b81ad8c67787ca1
# guix time-machine --commit=a99ddf3e7ac436e75fcee0345f931b5d7f767e36 -- system reconfigure /root/config-2-disks.conf
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
downloading from https://ci.guix.gnu.org/nar/lzip/1k566b3kc3ljzlllfh2ay9rr4sxpdfpg-module-import ...
module-import 2KiB 135KiB/s 00:00 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/lzip/az6z71bxl5syzqrhjdpfll8fm8c1gsnc-module-import-compiled ...
module-import-compiled 1.5MiB 778KiB/s 00:02 [##################] 100.0%
downloading from https://ci.guix.gnu.org/nar/gzip/qfmrmg6gk6iz0p14i0sg1rzxlgpb897i-compute-guix-derivation ...
compute-guix-derivation 859B 651KiB/s 00:00 [##################] 100.0%
Computing Guix derivation for 'x86_64-linux'... /
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/866y2mqlnbrn1fy36cph8m1x2qyvbq1q-profile.drv
/gnu/store/0arc9pk8gv6g5z1dk3235n3mhxd7lyi5-profile.drv
/gnu/store/3kq0mkc9gxrrkmmgn0y1av4sly2b8p9v-inferior-script.scm.drv
The following profile hooks will be built:
/gnu/store/la6zjqddp3h7d344ikk8s4z1pkyszrcw-fonts-dir.drv
/gnu/store/pi12azwkj1l8qf6llgaga2wmd45bxh2b-ca-certificate-bundle.drv
/gnu/store/zryagqw16vprsyvikwbi6izw64ngkpp4-guix-package-cache.drv
building CA certificate bundle...
building fonts directory...
building profile with 1 package...
building /gnu/store/3kq0mkc9gxrrkmmgn0y1av4sly2b8p9v-inferior-script.scm.drv...
building package cache...
building profile with 1 package...
guix system: warning: Consider running 'guix pull' followed by
'guix system reconfigure' to get up-to-date packages and security updates.
52.8 MB will be downloaded
guix substitute: error: connect: Connection timed out
substitution of /gnu/store/755az7pdnzhvihdb85gkd39sh33ip5lh-geoclue-2.5.6 failed
killing process 1358
guix system: error: some substitutes for the outputs of derivation `/gnu/store/fn5z69q4ljdwl2rbr3hvj9rfyrkjrj9a-geoclue-2.5.6.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source
# guix system list-generations
Generation 26 Oct 03 2020 18:11:27
file name: /var/guix/profiles/system-26-link
canonical file name: /gnu/store/hi1p8zrb53lfc228wk5ppm3072fy508q-system
label: GNU with Linux-Libre 5.8.12
bootloader: grub-efi
root device: /dev/sda2
kernel: /gnu/store/dkyzczi2cp27by3kssbhg8nv4g9hjk1f-linux-libre-5.8.12/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 36045fa6d6f6ed240bf26d3040846533e9e35e82
configuration file: /gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
Generation 27 Oct 07 2020 00:17:45
file name: /var/guix/profiles/system-27-link
canonical file name: /gnu/store/r09ywhsxlix1s022hbgca9pj4csbgs45-system
label: GNU with Linux-Libre 5.8.12
bootloader: grub-efi
root device: /dev/sda2
kernel: /gnu/store/dkyzczi2cp27by3kssbhg8nv4g9hjk1f-linux-libre-5.8.12/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 36045fa6d6f6ed240bf26d3040846533e9e35e82
configuration file: /gnu/store/466lzskgjywblzds3rsa7cv5kx5brhkg-configuration.scm
Generation 28 Oct 03 2020 18:11:27
file name: /var/guix/profiles/system-28-link
canonical file name: /gnu/store/hi1p8zrb53lfc228wk5ppm3072fy508q-system
label: GNU with Linux-Libre 5.8.12
bootloader: grub-efi
root device: /dev/sda2
kernel: /gnu/store/dkyzczi2cp27by3kssbhg8nv4g9hjk1f-linux-libre-5.8.12/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 36045fa6d6f6ed240bf26d3040846533e9e35e82
configuration file: /gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
Generation 29 Oct 21 2020 00:40:49
file name: /var/guix/profiles/system-29-link
canonical file name: /gnu/store/mjxyp3bsfvmgicva1d85dxa2mlgg9n9z-system
label: GNU with Linux-Libre 5.8.16
bootloader: grub-efi
root device: /dev/sda2
kernel: /gnu/store/cyarhgh3j6nhz8xhhbs6qhy0iry1gg8x-linux-libre-5.8.16/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: f14f108853a948fe21fe9bebfd295084b97a53e1
configuration file: /gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
Generation 30 Oct 31 2020 23:48:30
file name: /var/guix/profiles/system-30-link
canonical file name: /gnu/store/k34z5xal5hwvxk6nnhcll1if7k4wr4f2-system
label: GNU with Linux-Libre 5.9.2
bootloader: grub-efi
root device: /dev/sda2
kernel: /gnu/store/dni49zhdnmmy6y0isgh71yjhrmj31j37-linux-libre-5.9.2/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: d7e033b9a153a9e60f52ff64f4eb355c1c3d0a6e
configuration file: /gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
Generation 31 Nov 14 2020 17:47:12
file name: /var/guix/profiles/system-31-link
canonical file name: /gnu/store/fxbkh4yv3cka01y3xhw4jwlw2kc22rxq-system
label: GNU with Linux-Libre 5.9.8
bootloader: grub-efi
root device: /dev/sda2
kernel: /gnu/store/jrgkcfd5lxrljirwqkv29jcdipha2vkc-linux-libre-5.9.8/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 870d74ab6883196b269382b86b6e48a1cc7ac8ae
configuration file: /gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
Generation 32 Nov 21 2020 13:41:06 (current)
file name: /var/guix/profiles/system-32-link
canonical file name: /gnu/store/w1z5yl7fnpg2663s6kpjsddb0yazjr8s-system
label: GNU with Linux-Libre 5.9.9
bootloader: grub-efi
root device: /dev/sda2
kernel: /gnu/store/i0yqm9bz9734swkk2ii39gvs634m20f5-linux-libre-5.9.9/bzImage
channels:
guix:
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: a99ddf3e7ac436e75fcee0345f931b5d7f767e36
configuration file: /gnu/store/b8lqcvy8jlp2wax1w970qrvyj7p0fvwq-configuration.scm
November 28, 2020 12:14 PM, "Tobias Geerinckx-Rice" <me@tobias.gr> wrote:
> Hullo znavko,
>
> znavko--- via 写道:
>
>> I am sorry. How to prevent the process of system upgrade and
>> just remain things as they are but only adding new disk to my
>> system?
>
> Guix can't upgrade your system, it can only build a new one. It
> will merely re-use parts of the old system that they have in
> common (which can be and often is ‘almost everything’).
>
> This is actually significant: you can't ask a new Guix to modify
> an older Guix's system, to leave everything in place but just add
> this one small thing, like you can for bare profiles. For that,
> you need to reconfigure the old system with the same version of
> Guix that was used to build it.
>
> What do
>
> $ guix system describe
>
> and
>
> $ guix describe
>
> say? My guess is they will both display a different commit
> because you've ‘guix pull’ed after creating the system. If so,
> you can use
>
> $ guix time-machine --commit=<system commit> -- system
> reconfigure …
>
> to apply your changes.
>
> If the system and guix commits *do* match and you've added nothing
> besides a new FILE-SYSTEM, I have no idea why Guix is
> (re-)building ffmpeg. An overzealous ‘guix gc’ in the meantime?
>
> Kind regards,
>
> T G-R
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to reconfigure system without downloads I did not order?
2020-11-28 11:39 How to reconfigure system without downloads I did not order? znavko--- via
2020-11-28 12:14 ` Tobias Geerinckx-Rice
2020-11-28 12:53 ` znavko
@ 2020-11-28 18:02 ` znavko
2020-11-28 20:48 ` jbranso
3 siblings, 0 replies; 5+ messages in thread
From: znavko @ 2020-11-28 18:02 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: help-guix
I restarted the process of reconfigure (usual without additional flags and hacks)
for abput 25 times and at last it downloaded everything and finished successfully.
I think Guix needs good infrastructure and some
mechanism of checking optimal mirrors and recommendations for using them.
To add new disk into system with such a bad lucks is a very bottle neck of this powerful system.
November 28, 2020 12:14 PM, "Tobias Geerinckx-Rice" <me@tobias.gr> wrote:
> Hullo znavko,
>
> znavko--- via 写道:
>
>> I am sorry. How to prevent the process of system upgrade and
>> just remain things as they are but only adding new disk to my
>> system?
>
> Guix can't upgrade your system, it can only build a new one. It
> will merely re-use parts of the old system that they have in
> common (which can be and often is ‘almost everything’).
>
> This is actually significant: you can't ask a new Guix to modify
> an older Guix's system, to leave everything in place but just add
> this one small thing, like you can for bare profiles. For that,
> you need to reconfigure the old system with the same version of
> Guix that was used to build it.
>
> What do
>
> $ guix system describe
>
> and
>
> $ guix describe
>
> say? My guess is they will both display a different commit
> because you've ‘guix pull’ed after creating the system. If so,
> you can use
>
> $ guix time-machine --commit=<system commit> -- system
> reconfigure …
>
> to apply your changes.
>
> If the system and guix commits *do* match and you've added nothing
> besides a new FILE-SYSTEM, I have no idea why Guix is
> (re-)building ffmpeg. An overzealous ‘guix gc’ in the meantime?
>
> Kind regards,
>
> T G-R
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to reconfigure system without downloads I did not order?
2020-11-28 11:39 How to reconfigure system without downloads I did not order? znavko--- via
` (2 preceding siblings ...)
2020-11-28 18:02 ` znavko
@ 2020-11-28 20:48 ` jbranso
3 siblings, 0 replies; 5+ messages in thread
From: jbranso @ 2020-11-28 20:48 UTC (permalink / raw)
To: znavko, Tobias Geerinckx-Rice; +Cc: help-guix
There is some code for guix that will allow guix to distribute software updates over IPFS. You are welcome to contribute to that!
I believe that there is also some work that will allow people to fetch software updates over GNUnet.
Both of these proposals would allow users from all over the world to publish software updates to others, like torrent-ing works.
November 28, 2020 1:03 PM, znavko@disroot.org wrote:
> I restarted the process of reconfigure (usual without additional flags and hacks)
> for abput 25 times and at last it downloaded everything and finished successfully.
>
> I think Guix needs good infrastructure and some
> mechanism of checking optimal mirrors and recommendations for using them.
>
> To add new disk into system with such a bad lucks is a very bottle neck of this powerful system.
>
> November 28, 2020 12:14 PM, "Tobias Geerinckx-Rice" <me@tobias.gr> wrote:
>
>> Hullo znavko,
>>
>> znavko--- via 写道:
>>
>>> I am sorry. How to prevent the process of system upgrade and
>>> just remain things as they are but only adding new disk to my
>>> system?
>>
>> Guix can't upgrade your system, it can only build a new one. It
>> will merely re-use parts of the old system that they have in
>> common (which can be and often is ‘almost everything’).
>>
>> This is actually significant: you can't ask a new Guix to modify
>> an older Guix's system, to leave everything in place but just add
>> this one small thing, like you can for bare profiles. For that,
>> you need to reconfigure the old system with the same version of
>> Guix that was used to build it.
>>
>> What do
>>
>> $ guix system describe
>>
>> and
>>
>> $ guix describe
>>
>> say? My guess is they will both display a different commit
>> because you've ‘guix pull’ed after creating the system. If so,
>> you can use
>>
>> $ guix time-machine --commit=<system commit> -- system
>> reconfigure …
>>
>> to apply your changes.
>>
>> If the system and guix commits *do* match and you've added nothing
>> besides a new FILE-SYSTEM, I have no idea why Guix is
>> (re-)building ffmpeg. An overzealous ‘guix gc’ in the meantime?
>>
>> Kind regards,
>>
>> T G-R
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-28 20:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-28 11:39 How to reconfigure system without downloads I did not order? znavko--- via
2020-11-28 12:14 ` Tobias Geerinckx-Rice
2020-11-28 12:53 ` znavko
2020-11-28 18:02 ` znavko
2020-11-28 20:48 ` jbranso
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).