Hello, I've discovered this problem using './pre-inst-env guix refresh -u' and xargs, which by default doesn't connect stdin to /dev/tty (non-interactive):
--8<---------------cut here---------------start------------->8--- $ echo alsa-utils | xargs ./pre-inst-env guix refresh -u Starting download of /tmp/guix-file.nWaumi >From https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.13.tar.bz2... ….2.13.tar.bz2 1.6MiB 1.1MiB/s 00:01 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.Y9WAfh >From >https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.13.tar.bz2.sig... ….13.tar.bz2.sig 833B 4.2MiB/s 00:00 ▕██████████████████▏ 100.0% gpgv: Signature faite le mar. 12 nov. 2024 18:50:14 JST gpgv: avec la clef RSA F04DF50737AC1A884C4B3D718380596DA6E59C91 gpgv: Impossible de vérifier la signature : Pas de clef publique Would you like to add this key to keyring '/home/maxim/.config/guix/upstream/trustedkeys.kbx'? Backtrace: In ice-9/boot-9.scm: 1752:10 18 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 17 (apply-smob/0 #<thunk 7f44d41132a0>) In ice-9/boot-9.scm: 724:2 16 (call-with-prompt _ _ #<procedure default-prompt-handler (k proc)>) In ice-9/eval.scm: 619:8 15 (_ #(#(#<directory (guile-user) 7f44d4118c80>))) In guix/ui.scm: 2332:7 14 (run-guix . _) 2295:10 13 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 12 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) 1752:10 11 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/store.scm: 689:37 10 (thunk) 2210:25 9 (run-with-store #<store-connection 256.100 7f44b67232d0> _ #:guile-for-build _ #:system _ # _) In guix/scripts/refresh.scm: 635:18 8 (_ _) In srfi/srfi-1.scm: 634:9 7 (for-each #<procedure 7f44c0adac40 at guix/scripts/refresh.scm:636:19 (update)> _) In guix/scripts/refresh.scm: 375:22 6 (update-package _ #<package alsa-utils@1.2.11 gnu/packages/linux.scm:3153 7f44b6e04790> _ _ # …) In guix/upstream.scm: 473:22 5 (package-update/url-fetch #<store-connection 256.100 7f44b67232d0> #<package alsa-utils@1.2.…> …) 343:34 4 (download-tarball _ "https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.13.tar.bz2" # …) In ice-9/regex.scm: 133:5 3 (gnupg-verify* "/gnu/store/qzqb2phrikb9mnkajxppz9qp9gz1c2bd-alsa-utils-1.2.13.tar.bz2.sig" "…" …) In unknown file: 2 (regexp-exec #<regexp 7f44b43e9600> #<eof> 0 #<undefined>) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure regexp-exec: Wrong type argument in position 2 (expecting string): #<eof> --8<---------------cut here---------------end--------------->8--- Using the '--open-tty' argument of xargs works around the issue: --8<---------------cut here---------------start------------->8--- $ echo alsa-plugins alsa-utils | xargs -o ./pre-inst-env guix refresh -u gnu/packages/linux.scm:3195:2: warning: no updater for alsa-plugins Starting download of /tmp/guix-file.OIHJYF >From https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.13.tar.bz2... ….2.13.tar.bz2 1.6MiB 1.0MiB/s 00:01 ▕██████████████████▏ 100.0% Starting download of /tmp/guix-file.cTAkPz >From >https://www.alsa-project.org/files/pub/utils/alsa-utils-1.2.13.tar.bz2.sig... ….13.tar.bz2.sig 833B 4.0MiB/s 00:00 ▕██████████████████▏ 100.0% gpgv: Signature faite le mar. 12 nov. 2024 18:50:14 JST gpgv: avec la clef RSA F04DF50737AC1A884C4B3D718380596DA6E59C91 gpgv: Impossible de vérifier la signature : Pas de clef publique Would you like to add this key to keyring '/home/maxim/.config/guix/upstream/trustedkeys.kbx'? y gpg: clef 8380596DA6E59C91 : clef publique « ALSA Release Team (Package Signing Key v1) <rele...@alsa-project.org> » importée gpg: Quantité totale traitée : 1 gpg: importées : 1 gpgv: Signature faite le mar. 12 nov. 2024 18:50:14 JST gpgv: avec la clef RSA F04DF50737AC1A884C4B3D718380596DA6E59C91 gpgv: Bonne signature de « ALSA Release Team (Package Signing Key v1) <rele...@alsa-project.org> » gnu/packages/linux.scm:3155:13: alsa-utils: updating from version 1.2.11 to version 1.2.13... --8<---------------cut here---------------end--------------->8--- -- Thanks, Maxim