Hello,

when I tried to execute `guix pull' over ssh, I got the following error:

--8<---------------cut here---------------start------------->8---
$ ssh some.example.com guix pull
Updating channel 'guix' from Git repository at 'https://foo.example.com/guix'...
guix pull: error: aborting update of channel 'guix' to commit 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX, which is not a descendant of 
YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
hint: Backtrace:
          19 (primitive-load "/home/user/.config/guix/current/bin/gu…")
In guix/ui.scm:
   2399:7 18 (run-guix . _)
  2362:10 17 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
  1747:15 15 (with-exception-handler #<procedure 7f5a4a1ba330 at ic…> …)
  1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   690:37 13 (thunk)
In guix/status.scm:
    842:4 12 (call-with-status-report _ _)
In guix/store.scm:
   1354:3 11 (_)
   1331:8 10 (call-with-build-handler #<procedure 7f5a4a219b70 at g…> …)
In guix/scripts/pull.scm:
   882:26  9 (_)
In guix/channels.scm:
   571:23  8 (latest-channel-instances #<store-connection 256.100 7…> …)
    434:6  7 (latest-channel-instance #<store-connection 256.100 7f…> …)
In ice-9/boot-9.scm:
  1685:16  6 (raise-exception _ #:continuable? _)
  1685:16  5 (raise-exception _ #:continuable? _)
In guix/ui.scm:
   928:16  4 (_ _)
   346:42  3 (display-hint "Use @option{--allow-downgrades} to fo…" . #)
In ice-9/boot-9.scm:
  1747:15  2 (with-exception-handler #<procedure 7f5a50c482d0 at ic…> …)
In guix/build/syscalls.scm:
  2434:35  1 (_)
   2423:8  0 (terminal-window-size _)

guix/build/syscalls.scm:2423:8: In procedure terminal-window-size:
In procedure terminal-window-size: Inappropriate ioctl for device
--8<---------------cut here---------------end--------------->8---

It seems that `display-hint' is not able to handle the case when there
is no attached terminal.

Tomas

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.



Reply via email to