Mistaken warning "guix pull was never run"

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • pelzflorian (Florian Pelz)
Owner
unassigned
Submitted by
pelzflorian (Florian Pelz)
Severity
important
P
P
pelzflorian (Florian Pelz) wrote on 13 Nov 2019 15:08
(address . bug-guix@gnu.org)
20191113140850.2f5s77zrqfo6klpm@pelzflorian.localdomain
Hello! I installed Guix on a new system. Like

info "(guix) After System Installation"

I do `guix pull` and then the next command prints a warning.

$ sudo guix system reconfigure /etc/config.scm
Password:
guix system: warning: /root/.config/guix/current not found: 'guix pull' was never run
guix system: warning: Consider running 'guix pull' before 'reconfigure'.
guix system: warning: Failing to do that may downgrade your system!

It should not print a warning because the running guix is not
outdated.

Regards,
Florian
L
L
Ludovic Courtès wrote on 12 Dec 2019 22:32
control message for bug #38196
(address . control@debbugs.gnu.org)
87r21944cr.fsf@gnu.org
severity 38196 important
quit
L
L
Ludovic Courtès wrote on 24 Mar 2020 18:56
Re: bug#38196: Mistaken warning "guix pull was never run"
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)(address . 38196-done@debbugs.gnu.org)
877dz9ljr3.fsf@gnu.org
Hi!

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> skribis:

Toggle quote (15 lines)
> Hello! I installed Guix on a new system. Like
>
> info "(guix) After System Installation"
>
> I do `guix pull` and then the next command prints a warning.
>
> $ sudo guix system reconfigure /etc/config.scm
> Password:
> guix system: warning: /root/.config/guix/current not found: 'guix pull' was never run
> guix system: warning: Consider running 'guix pull' before 'reconfigure'.
> guix system: warning: Failing to do that may downgrade your system!
>
> It should not print a warning because the running guix is not
> outdated.

Fixed in 637db76d7ad1af5323a6a6b87b8a6a2e6dfed754.

Thanks,
Ludo’.
Closed
?