Guix on foreign distro: Seems to have messed up my guix install

So i’m running Guix on a foreign distro (debian container in Chrome OS) and after doing some tweaking with my Guix Home setup and running guix pull I seems to have managed to get myself into some strange state, or I have found a bug.

Now when I try to run any guix command it fails because of make-custom-binary-output-port doesn’t seems to be defined.

Do anyone have any idea of what I could do to fix this? I can’t rollback because that command also fails. The only thing that works is running guix with sudo.


          11 (primitive-load "/home/dev/.config/guix/current/bin/guix")
In guix/ui.scm:
   2324:7 10 (run-guix . _)
  2287:10  9 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1755:12  8 (with-exception-handler _ _ #:unwind? _ # _)
  1749:15  7 (with-exception-handler #<procedure 7f6f5a93ec00 at ic…> …)
In guix/store.scm:
   657:15  6 (call-with-store #<procedure 7f6f5a959f60 at guix/scrip…>)
    570:2  5 (open-connection _ #:port _ #:reserve-space? _ # _)
In ice-9/boot-9.scm:
  1755:12  4 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   577:19  3 (_)
   940:11  2 (buffering-output-port _ _)
In ice-9/boot-9.scm:
  1676:22  1 (raise-exception _ #:continuable? _)
  1674:22  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1674:22: In procedure raise-exception:
error: make-custom-binary-output-port: unbound variable

How did you install guix? I always download the binares, I don’t use apt-get install for installing guix on debian.

I installed it with the install script from the Guix documentation, so no using apt.

Should say that I have been running Guix for a few months and this happened just now.

Did you try installing again and make sure to set/export E environment variables the installer mentions at the last step?

I managed to get it working again by uninstalling and reinstalling Guix.

Thanks for the help!

1 Like