* bug#27096: guix package -i ... fails when the internet is disconnected
@ 2017-05-27 9:42 Brendan Tildesley
2017-05-28 20:39 ` Ludovic Courtès
2020-02-11 0:23 ` bug#27096: Hunting: 'guix package -i' fails when " zimoun
0 siblings, 2 replies; 6+ messages in thread
From: Brendan Tildesley @ 2017-05-27 9:42 UTC (permalink / raw)
To: 27096
[-- Attachment #1: Type: text/plain, Size: 7533 bytes --]
On GuixSD, I ran the following install command 3 times. The second time,
it showed "nothing to be done" as expected. However after that, I
disconnected my internet and ran it again with different results
including a guile type error. Just because there was no internet
connection, guix tries to download a variety of packages even though it
theoretically shouldn't need anything, and fails to handle the case
where there is no internet connection and a #f is returned somewhere in
the code. I think guix development has taken for granted that one always
has an internet connection. Some hackers may wish to try out hacking on
Guix for a few hours without an internet connection and see what doesn't
work.
b@ui ~$ guix package -i stellarium calibre icecat duplicity mpv vlc
audacity transmission 0ad qtox weechat terminology leafpad --fallback
The following packages will be upgraded:
stellarium 0.15.1 → 0.15.1
/gnu/store/qyxkrm2pawcl0lhkzhc5cm0zxzbph6xj-stellarium-0.15.1
calibre 2.85.1 → 2.85.1
/gnu/store/igjgzg8qcss2wn9m4q7p4jz0w4d4cwp3-calibre-2.85.1
icecat 52.1.0-gnu1 → 52.1.0-gnu1
/gnu/store/nb64j11jys7ijzlb4a5swgqmw228gjs9-icecat-52.1.0-gnu1
duplicity 0.7.12 → 0.7.12
/gnu/store/sysrzmlsrrdprgv59f3g81lsxhfz70cv-duplicity-0.7.12
mpv 0.25.0 → 0.25.0
/gnu/store/0pcmgd24v7p0wmccwsan1xw88dhkz4jl-mpv-0.25.0
vlc 2.2.6 → 2.2.6
/gnu/store/hysbc89y541kwdrh5kr63xs2z6xfc3lk-vlc-2.2.6
audacity 2.1.3 → 2.1.3
/gnu/store/vlp9fmbfzc6bxvcwkfns4m78wl1ai45i-audacity-2.1.3
transmission 2.92 → 2.92
/gnu/store/9rw82dip670864ijy06k62jd1py2bfwb-transmission-2.92
0ad 0.0.21-alpha → 0.0.21-alpha
/gnu/store/iikijc3g14k8lscjzqg7g7ca7f2222fn-0ad-0.0.21-alpha
qtox 1.10.1 → 1.10.1
/gnu/store/g7qxq694lns87gmcz7jxs7mqs0vngc4v-qtox-1.10.1
weechat 1.8 → 1.8
/gnu/store/8p0dkk2l4zh3gq185hjpbn1sf4z1nrbr-weechat-1.8
terminology 1.0.0 → 1.0.0
/gnu/store/05s9nwhf6m7zq4gvx4kb9djcfqj401cs-terminology-1.0.0
leafpad 0.8.18.1 → 0.8.18.1
/gnu/store/d630r7id7rr2r2wfdm4wc2jxlpv2m9k2-leafpad-0.8.18.1
nothing to be done
b@ui ~$ guix package -i stellarium calibre icecat duplicity mpv vlc
audacity transmission 0ad qtox weechat terminology leafpad --fallback
The following packages will be upgraded:
stellarium 0.15.1 → 0.15.1
/gnu/store/qyxkrm2pawcl0lhkzhc5cm0zxzbph6xj-stellarium-0.15.1
calibre 2.85.1 → 2.85.1
/gnu/store/igjgzg8qcss2wn9m4q7p4jz0w4d4cwp3-calibre-2.85.1
icecat 52.1.0-gnu1 → 52.1.0-gnu1
/gnu/store/nb64j11jys7ijzlb4a5swgqmw228gjs9-icecat-52.1.0-gnu1
duplicity 0.7.12 → 0.7.12
/gnu/store/sysrzmlsrrdprgv59f3g81lsxhfz70cv-duplicity-0.7.12
mpv 0.25.0 → 0.25.0
/gnu/store/0pcmgd24v7p0wmccwsan1xw88dhkz4jl-mpv-0.25.0
vlc 2.2.6 → 2.2.6
/gnu/store/hysbc89y541kwdrh5kr63xs2z6xfc3lk-vlc-2.2.6
audacity 2.1.3 → 2.1.3
/gnu/store/vlp9fmbfzc6bxvcwkfns4m78wl1ai45i-audacity-2.1.3
transmission 2.92 → 2.92
/gnu/store/9rw82dip670864ijy06k62jd1py2bfwb-transmission-2.92
0ad 0.0.21-alpha → 0.0.21-alpha
/gnu/store/iikijc3g14k8lscjzqg7g7ca7f2222fn-0ad-0.0.21-alpha
qtox 1.10.1 → 1.10.1
/gnu/store/g7qxq694lns87gmcz7jxs7mqs0vngc4v-qtox-1.10.1
weechat 1.8 → 1.8
/gnu/store/8p0dkk2l4zh3gq185hjpbn1sf4z1nrbr-weechat-1.8
terminology 1.0.0 → 1.0.0
/gnu/store/05s9nwhf6m7zq4gvx4kb9djcfqj401cs-terminology-1.0.0
leafpad 0.8.18.1 → 0.8.18.1
/gnu/store/d630r7id7rr2r2wfdm4wc2jxlpv2m9k2-leafpad-0.8.18.1
Backtrace:
1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
In guix/ui.scm:
1264:8 0 (run-guix-command _ . _)
guix/ui.scm:1264:8: In procedure run-guix-command:
guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
position 1 (expecting struct): #f
Downloading
https://mirror.hydra.gnu.org/guix/nar/6jr66c4dj5sgqi3qzqnqndz25vg1lpkd-alabaster-0.7.9.tar.gz
(10KiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Downloading
https://mirror.hydra.gnu.org/guix/nar/gzip/529jffxlnzni6gnknxwj5aq5dqnnl5yr-python2-markupsafe-0.23
(87KiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Downloading
https://mirror.hydra.gnu.org/guix/nar/gzip/mindszikwbq6q8kk43wlyhifw97lyzn7-python2-requests-2.13.0
(2.9MiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Backtrace:
1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
In guix/ui.scm:
1264:8 0 (run-guix-command _ . _)
guix/ui.scm:1264:8: In procedure run-guix-command:
guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
position 1 (expecting struct): #f
Downloading
https://mirror.hydra.gnu.org/guix/nar/gzip/nhs83fqs3z54876rw4vakifk0czlrp95-pcre-8.40-bin
(209KiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Downloading
https://mirror.hydra.gnu.org/guix/nar/gzip/fckvya7k7i2wlh3wfdf26g52k63jqrgh-python2-webencodings-0.5
(68KiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Backtrace:
1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
In guix/ui.scm:
1264:8 0 (run-guix-command _ . _)
guix/ui.scm:1264:8: In procedure run-guix-command:
guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
position 1 (expecting struct): #f
Backtrace:
1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
In guix/ui.scm:
1264:8 0 (run-guix-command _ . _)
guix/ui.scm:1264:8: In procedure run-guix-command:
guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
position 1 (expecting struct): #f
Downloading
https://mirror.hydra.gnu.org/guix/nar/6kazs3hk2ldzbyf5fkz2sywxyvlxwr7x-pcre-8.40.tar.bz2
(1.5MiB installed)...
guix substitute: error: host name lookup error: Name or service not known
Starting download of
/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz
From https://pypi.io/packages/source/J/Jinja2/Jinja2-2.8.tar.gz...
ERROR: In procedure getaddrinfo: Name or service not known
Starting download of
/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz
From
http://mirror.hydra.gnu.org/file/Jinja2-2.8.tar.gz/sha256/1x0v41lp5m1pjix3l46zx02b7lqp2hflgpnxwkywxynvi3zz47xw...
ERROR: In procedure getaddrinfo: Name or service not known
Starting download of
/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz
From
http://tarballs.nixos.org/sha256/1x0v41lp5m1pjix3l46zx02b7lqp2hflgpnxwkywxynvi3zz47xw...
ERROR: In procedure getaddrinfo: Name or service not known
failed to download
"/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz" from
"https://pypi.io/packages/source/J/Jinja2/Jinja2-2.8.tar.gz"
builder for
`/gnu/store/4w00r5104mgnj0wj3rbj0nlbfvl2j1ww-Jinja2-2.8.tar.gz.drv'
failed to produce output path
`/gnu/store/h8ggljz6ahc3ikhz3wprz6p9pwpkw9zb-Jinja2-2.8.tar.gz'
cannot build derivation
`/gnu/store/7gsxva81vfxlcchmz6hhbrph87p5f7b4-python2-jinja2-2.8.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/zi3bsjfnnb7sp2d3p4afkypmf9yhgqfj-python2-cffi-1.4.2.drv': 1
dependencies couldn't be built
guix package: error: build failed: build of
`/gnu/store/zi3bsjfnnb7sp2d3p4afkypmf9yhgqfj-python2-cffi-1.4.2.drv' failed
[-- Attachment #2: Type: text/html, Size: 9054 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#27096: guix package -i ... fails when the internet is disconnected
2017-05-27 9:42 bug#27096: guix package -i ... fails when the internet is disconnected Brendan Tildesley
@ 2017-05-28 20:39 ` Ludovic Courtès
2017-05-29 8:30 ` Brendan Tildesley
2020-02-11 0:23 ` bug#27096: Hunting: 'guix package -i' fails when " zimoun
1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2017-05-28 20:39 UTC (permalink / raw)
To: Brendan Tildesley; +Cc: 27096
Hi Brendan,
Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:
> On GuixSD, I ran the following install command 3 times. The second time,
> it showed "nothing to be done" as expected. However after that, I
> disconnected my internet and ran it again with different results
> including a guile type error. Just because there was no internet
> connection, guix tries to download a variety of packages even though it
> theoretically shouldn't need anything, and fails to handle the case
> where there is no internet connection and a #f is returned somewhere in
> the code. I think guix development has taken for granted that one always
> has an internet connection. Some hackers may wish to try out hacking on
> Guix for a few hours without an internet connection and see what doesn't
> work.
I even do that on the train from time to time. :-)
> b@ui ~$ guix package -i stellarium calibre icecat duplicity mpv vlc
> audacity transmission 0ad qtox weechat terminology leafpad --fallback
> The following packages will be upgraded:
> stellarium 0.15.1 → 0.15.1
> /gnu/store/qyxkrm2pawcl0lhkzhc5cm0zxzbph6xj-stellarium-0.15.1
> calibre 2.85.1 → 2.85.1
> /gnu/store/igjgzg8qcss2wn9m4q7p4jz0w4d4cwp3-calibre-2.85.1
> icecat 52.1.0-gnu1 → 52.1.0-gnu1
> /gnu/store/nb64j11jys7ijzlb4a5swgqmw228gjs9-icecat-52.1.0-gnu1
> duplicity 0.7.12 → 0.7.12
> /gnu/store/sysrzmlsrrdprgv59f3g81lsxhfz70cv-duplicity-0.7.12
> mpv 0.25.0 → 0.25.0
> /gnu/store/0pcmgd24v7p0wmccwsan1xw88dhkz4jl-mpv-0.25.0
> vlc 2.2.6 → 2.2.6
> /gnu/store/hysbc89y541kwdrh5kr63xs2z6xfc3lk-vlc-2.2.6
> audacity 2.1.3 → 2.1.3
> /gnu/store/vlp9fmbfzc6bxvcwkfns4m78wl1ai45i-audacity-2.1.3
> transmission 2.92 → 2.92
> /gnu/store/9rw82dip670864ijy06k62jd1py2bfwb-transmission-2.92
> 0ad 0.0.21-alpha → 0.0.21-alpha
> /gnu/store/iikijc3g14k8lscjzqg7g7ca7f2222fn-0ad-0.0.21-alpha
> qtox 1.10.1 → 1.10.1
> /gnu/store/g7qxq694lns87gmcz7jxs7mqs0vngc4v-qtox-1.10.1
> weechat 1.8 → 1.8
> /gnu/store/8p0dkk2l4zh3gq185hjpbn1sf4z1nrbr-weechat-1.8
> terminology 1.0.0 → 1.0.0
> /gnu/store/05s9nwhf6m7zq4gvx4kb9djcfqj401cs-terminology-1.0.0
> leafpad 0.8.18.1 → 0.8.18.1
> /gnu/store/d630r7id7rr2r2wfdm4wc2jxlpv2m9k2-leafpad-0.8.18.1
>
> nothing to be done
> b@ui ~$ guix package -i stellarium calibre icecat duplicity mpv vlc
> audacity transmission 0ad qtox weechat terminology leafpad --fallback
> The following packages will be upgraded:
> stellarium 0.15.1 → 0.15.1
> /gnu/store/qyxkrm2pawcl0lhkzhc5cm0zxzbph6xj-stellarium-0.15.1
> calibre 2.85.1 → 2.85.1
So you run the exact same command twice in a row and the second one
starts downloading things, right? Did you run ‘guix gc’ in the meantime
or something?
> Backtrace:
> 1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
> In guix/ui.scm:
> 1264:8 0 (run-guix-command _ . _)
>
> guix/ui.scm:1264:8: In procedure run-guix-command:
> guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
> position 1 (expecting struct): #f
That may come from (guix scripts substitute), but not sure where.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#27096: guix package -i ... fails when the internet is disconnected
2017-05-28 20:39 ` Ludovic Courtès
@ 2017-05-29 8:30 ` Brendan Tildesley
0 siblings, 0 replies; 6+ messages in thread
From: Brendan Tildesley @ 2017-05-29 8:30 UTC (permalink / raw)
Cc: 27096
Ludovic Courtès 於 2017-05-29 06:39 寫道:
> Hi Brendan,
>
> Brendan Tildesley <brendan.tildesley@openmailbox.org> skribis:
>
>> On GuixSD, I ran the following install command 3 times. The second time,
>> it showed "nothing to be done" as expected. However after that, I
>> disconnected my internet and ran it again with different results
>> including a guile type error. Just because there was no internet
>> connection, guix tries to download a variety of packages even though it
>> theoretically shouldn't need anything, and fails to handle the case
>> where there is no internet connection and a #f is returned somewhere in
>> the code. I think guix development has taken for granted that one always
>> has an internet connection. Some hackers may wish to try out hacking on
>> Guix for a few hours without an internet connection and see what doesn't
>> work.
> I even do that on the train from time to time. :-)
>
>> [...]
> So you run the exact same command twice in a row and the second one
> starts downloading things, right? Did you run ‘guix gc’ in the meantime
> or something?
No, I just noticed it when my connection failed, so I reproduced it by
running it with my internet on, pulling the cable out and running it
again immediately, and this is what happened.
>> Backtrace:
>> 1 (primitive-load "/gnu/store/fza7573wpfm3alzdnnfw4g6f1ww…")
>> In guix/ui.scm:
>> 1264:8 0 (run-guix-command _ . _)
>>
>> guix/ui.scm:1264:8: In procedure run-guix-command:
>> guix/ui.scm:1264:8: In procedure struct_vtable: Wrong type argument in
>> position 1 (expecting struct): #f
> That may come from (guix scripts substitute), but not sure where.
>
> Thanks,
> Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#27096: Hunting: 'guix package -i' fails when internet is disconnected
2017-05-27 9:42 bug#27096: guix package -i ... fails when the internet is disconnected Brendan Tildesley
2017-05-28 20:39 ` Ludovic Courtès
@ 2020-02-11 0:23 ` zimoun
2020-02-11 0:26 ` zimoun
2020-02-12 16:00 ` zimoun
1 sibling, 2 replies; 6+ messages in thread
From: zimoun @ 2020-02-11 0:23 UTC (permalink / raw)
To: 27096, brendan.tildesley, Ludovic Courtès
Dear,
Do you have still issue when installing several times and one last
without any Internet connection?
Could you confirm the same issue with a recent 'guix' version?
Thank you in advance for any comments.
All the best,
simon
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#27096: Hunting: 'guix package -i' fails when internet is disconnected
2020-02-11 0:23 ` bug#27096: Hunting: 'guix package -i' fails when " zimoun
@ 2020-02-11 0:26 ` zimoun
2020-02-12 16:00 ` zimoun
1 sibling, 0 replies; 6+ messages in thread
From: zimoun @ 2020-02-11 0:26 UTC (permalink / raw)
To: 27096, brendan.tildesley, Ludovic Courtès
Sorry, I forget to point a link with the bug to ease what I am talking
about. :-)
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27096
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#27096: Hunting: 'guix package -i' fails when internet is disconnected
2020-02-11 0:23 ` bug#27096: Hunting: 'guix package -i' fails when " zimoun
2020-02-11 0:26 ` zimoun
@ 2020-02-12 16:00 ` zimoun
1 sibling, 0 replies; 6+ messages in thread
From: zimoun @ 2020-02-12 16:00 UTC (permalink / raw)
To: 27096-done
Dear,
Using this version of Guix:
--8<---------------cut here---------------start------------->8---
guix 403d9fa
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 403d9fae791bd22b4e2da5e90ad273755de26dc5
--8<---------------cut here---------------end--------------->8---
then running "guix package -i emacs" downloads all it needs.
The network wire is then unplugged and running again "guix package -i
emacs" works as expected, i.e., shows the message saying "nothing to
be done".
Considering it is an old bug, the initial reporter is not reachable
and the bug is not reproducible, I am closing it.
Please feel free to reopen it if you hit again this bug.
All the best,
simon
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-12 16:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-27 9:42 bug#27096: guix package -i ... fails when the internet is disconnected Brendan Tildesley
2017-05-28 20:39 ` Ludovic Courtès
2017-05-29 8:30 ` Brendan Tildesley
2020-02-11 0:23 ` bug#27096: Hunting: 'guix package -i' fails when " zimoun
2020-02-11 0:26 ` zimoun
2020-02-12 16:00 ` zimoun
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).