I cannot use qubes-update-gui
to update my VMs. Each one fails with the same “File Copy/Move Error”, as outlined in the “Details” section of the Updater:
Updating debian-11
Error on updating debian-11: Command '['sudo', 'qubesctl', '--skip-dom0', '--targets=debian-11', '--show-output', 'state.sls', 'update.qubes-vm']' returned non-zero exit status 1.
debian-11: ERROR (exception Failed to copy Salt configuration to disp-mgmt-debian-11)
The error window I get shows this:
qfile-dom0-agent: File copy: “File name too long” (error type: No such file or directory)
When I run sudo qubesctl --skip-dom0 --target=debian-11 --show-output state.sls update.qubes-vm
in dom0, I get this error in the command line:
debian-11: ERROR (exception Failed to copy Salt configuration to disp-mgmt-debian-11)
and only see this in /var/log/qubes/mgmt-debian-11.log
:
calling 'state.sls update.qubes-vm'...
This happens on all my VMs, which include debian-11, fedora-34, debian-11-minimal, and whonix-*-16.
Any ideas? I’ve used salt before so I’d be happy to debug with that
EDIT: I can update the VMs manually with apt
and dnf
.