unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66580: Guix deploy does not properly error report
@ 2023-10-16 18:31 wolf
  0 siblings, 0 replies; only message in thread
From: wolf @ 2023-10-16 18:31 UTC (permalink / raw)
  To: 66580

[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]

Hi,

when I run `guix deploy' that ends in an error, the report does not include all
information required to debug the issue.

    guix deploy: error: failed to deploy test: failed to switch systems while deploying '192.168.0.130':
    system-error "symlink" "~A" ("File exists") (17)

Would be somewhat useful to have the details about what file already exists.  If
I run `guix system switch-generation' directly on the target system, the output
is better:

    building /gnu/store/jqnxwfq6f5gvyjz0avqaakkd0ljbzglj-grub.cfg.drv...
    building /gnu/store/vjgyb6j36idxzdm8g6hgjsa75wmdbr7f-install-bootloader.scm.drv...
    switched from generation 83 to 83
    WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete'
    making '/gnu/store/m71zy9yd38pm4mlwk7a7wp79053iiy5s-system' the current system...
    WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete'
    setting up setuid programs in '/run/setuid-programs'...
    populating /etc from /gnu/store/inl5dmrhrdxxkch06mp1hvpv45abgkic-etc...
    guix system: error: symlink: File exists: "/etc/guix"

The information seems to be available, just not propagated via the `guix
deploy'.

Have a nice day,
W.

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-16 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 18:31 bug#66580: Guix deploy does not properly error report wolf

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).