Hello and welcome to this community forums.
This reads quite similar to Interrupted at 0% Libgvm boreas failed to open ICMPV4 with a possible solution provided in:
In this specific case it should be made sure that a sane default secure_path
is included via visudo
/ in /etc/sudoers
and that this hasn’t been deleted previously. On a Debian system the default looks like:
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"