ludo@gnu.org (Ludovic Courtès) writes: > Hello, > > Alex Vong skribis: > >> alexvong1995@debian:~/scm/guix$ ./pre-inst-env guix package -u >> substitute: Backtrace: >> substitute: 1 (primitive-load >> "/home/alexvong1995/scm/guix/scripts/gu…") >> substitute: In guix/ui.scm: >> substitute: 1352:12 0 (run-guix-command _ . _) >> substitute: >> substitute: guix/ui.scm:1352:12: In procedure run-guix-command: >> substitute: guix/ui.scm:1352:12: Wrong type to apply: #> (0x24f . 0x7f92ef1ebe08) @ 0x7f92ef7a1318> > > This message is likely because Guix on the daemon side ends up loading > Guile-SSH-for-Guile-2.0 whereas it is running Guile 2.2. > > Could you check if that is the case? > Hmm, I don't remember installing guile-2.0-ssh. I don't think that's the cause. But something similar might happen as I find out that I put "$HOME/.guix-profile/share/guile/site/2.0/" into my GUILE_LOAD_PATH. After removing it, I get a different error message: alexvong1995@debian:~/scm/guix$ ./pre-inst-env guix package -u substitute: ;;; Failed to autoload make-session in (gnutls): substitute: ;;; ERROR: missing interface for module (gnutls) substitute: Backtrace: substitute: 1 (primitive-load "/home/alexvong1995/scm/guix/scripts/gu…") substitute: In guix/ui.scm: substitute: 1352:12 0 (run-guix-command _ . _) substitute: substitute: guix/ui.scm:1352:12: In procedure run-guix-command: substitute: guix/ui.scm:1352:12: In procedure module-lookup: Unbound variable: make-session guix package: error: corrupt input while restoring archive from socket Then I put back "/gnu/store/m3yq3yknck7ibnav0503jjhr6rv6j1pa-gnutls-3.5.D/share/guile/site/2.0/" into my GUILE_LOAD_PATH and I get back the old error message: alexvong1995@debian:~/scm/guix$ ./pre-inst-env guix package -u substitute: Backtrace: substitute: 1 (primitive-load "/home/alexvong1995/scm/guix/scripts/gu…") substitute: In guix/ui.scm: substitute: 1352:12 0 (run-guix-command _ . _) substitute: substitute: guix/ui.scm:1352:12: In procedure run-guix-command: substitute: guix/ui.scm:1352:12: Wrong type to apply: # guix package: error: corrupt input while restoring archive from socket However, if I run "guile -c '(use-modules (gnutls))'", then it will succeed without any error. What's going on? Thanks! > HTH! > > Ludo’.