GNU bug report logs - #66580
Guix deploy does not properly error report

Previous Next

Package: guix;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Mon, 16 Oct 2023 18:32:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: wolf <wolf <at> wolfsden.cz>
To: 66580 <at> debbugs.gnu.org
Subject: bug#66580: Guix deploy does not properly error report
Date: Mon, 16 Oct 2023 20:31:11 +0200
[Message part 1 (text/plain, inline)]
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.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 219 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.