Subject: Re: bug#35274: guix unable to pull or reconfigure as root

From: Ludovic Courtès <[email-masked]>
Date: Wed, 17 Apr 2019 18:03:00 +0200

Hello,

<[email-masked]> skribis:

> Running the user's command as root worked. However it did not fix roots 
> command. system reconfigure using the user command did, however, fix roots 
> command and I seem to be back to having a working system. Thanks :)

If you run ‘guix pull’  as root, it updates ~root/.config/guix/current.

Then, in root’s shell session, you need to do:

  export PATH=$HOME/.config/guix/current/bin:$PATH
  hash guix

at which point the ‘guix’ command is the latest one, which ‘guix
describe’ should confirm.

Can you check that this is the case?

Thanks,
Ludo’.