bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27096: guix package -i ... fails when the internet is disconnected


From: Ludovic Courtès
Subject: bug#27096: guix package -i ... fails when the internet is disconnected
Date: Sun, 28 May 2017 22:39:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi Brendan,

Brendan Tildesley <address@hidden> 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.  :-)

> address@hidden ~$ 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
> address@hidden ~$ 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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]