[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix system reconfigure
From: |
Oleg Pykhalov |
Subject: |
Re: guix system reconfigure |
Date: |
Sun, 28 May 2017 19:26:26 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Oleg Pykhalov <address@hidden> writes:
> Hello.
>
> I have issue with: $ sudo guix system reconfigure /etc/config.scm
>
>
> $ sudo guix pull # One warning
>
> Some deprecated features have been used. Set the environment variable
> GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more
> information.
>
>
> $ sudo guix system build /etc/config.scm # No error or warning
>
>
> $ guix system reconfigure /etc/config.scm
>
> It hangs shell until kill.
>
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... 100.0%
> The following derivation will be built:
> /gnu/store/8a2h3fs5n30r2akn13ri9yzrnkq101pr-grub.cfg.drv
> substitute: updating list of substitutes from
> 'https://mirror.hydra.gnu.org'... 100.0%
> /gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system
> /gnu/store/1b84ib011a3850flzgqvwxh1p6i6f6da-grub.cfg
> /gnu/store/ipwgwqaarp304r82b97748shwzmwa9k0-grub-efi-2.02
> /gnu/store/msm7xx7f7gs3rdg6qmbq7nbxkiy9y4a5-bootloader-installer
> activating system...
> ;;; WARNING: loading compiled file
> /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go
> failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> ;;; WARNING: loading compiled file
> /gnu/store/zz52nz789h6a34z609x79asxl7qnwiyq-module-import-compiled/gnu/build/activation.go
> failed:
> ;;; ERROR: In procedure load-thunk-from-memory: not an ELF file
> making '/gnu/store/j9b4jh7kvywgf7y7wg5q5ckya9y2p6rk-system' the current
> system...
> setting up setuid programs in '/run/setuid-programs'...
> populating /etc from /gnu/store/hbygivm12yf9rjigxkk56lzhgnfibdwk-etc...
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> usermod: no changes
> guix system: unloading service 'user-homes'...
> shepherd: Removing service 'user-homes'...
> shepherd: Done.
> guix system: loading new services: file-system-/srv/videos user-homes...
> shepherd: Evaluating user expression (register-services (primitive-load
> "/gn...") #).
>
>
>
> After system reconfigure cannot boot.
I boot in the first generation after installation and made:
$ sudo guix pull
$ sudo guix system reconfigure /etc/config.scm
It wasn't clear to me that I cannot build new system commits ontop of
"dirty" generations. Warning $ sudo guix pull is gone. I'm not sure
why it didn't work on last commmit. May be because I experimented too
much as newbie and because of that had many dirty system commmits.