All qvm-template install commands fail with the same error here.
Example:
qvm-template install debian-10
I have created a strace from it, sadly I canât upload (new user limitation),
so I paste some extract here:
openat(AT_FDCWD, "/home/Echnaton/.cache/qvm-template/tmp9_sa1u3i/qubes-template-debian-10-0:4.0.6-202009131420.rpm.UNTRUSTED", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 4
fstat(4, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
ioctl(4, TCGETS, 0x7ffffb93c3e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(4, 0, SEEK_CUR) = 0
openat(AT_FDCWD, "/etc/qubes/repo-templates/qubes-templates.repo", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0666, st_size=2006, ...}) = 0
ioctl(5, TCGETS, 0x7ffffb93c270) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(5, 0, SEEK_CUR) = 0
ioctl(5, TCGETS, 0x7ffffb93c130) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(5, 0, SEEK_CUR) = 0
fstat(5, {st_mode=S_IFREG|0666, st_size=2006, ...}) = 0
read(5, "[qubes-templates-itl]\nname = Qub"..., 2007) = 2006
read(5, "", 1) = 0
close(5) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 5
connect(5, {sa_family=AF_UNIX, sun_path="/var/run/qubesd.sock"}, 22) = 0
sendto(5, "admin.vm.Start+ dom0 name sys-fi"..., 39, 0, NULL, 0) = 39
shutdown(5, SHUT_WR) = 0
recvfrom(5, "0\0", 8192, 0, NULL, NULL) = 2
recvfrom(5, "", 8192, 0, NULL, NULL) = 0
close(5) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
pipe2([5, 6], O_CLOEXEC) = 0
pipe2([7, 8], O_CLOEXEC) = 0
fstat(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
ioctl(6, TCGETS, 0x7ffffb93b760) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(6, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
fstat(7, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
ioctl(7, TCGETS, 0x7ffffb93b760) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(7, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
pipe2([9, 10], O_CLOEXEC) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x71ce30d92a10) = 44167
close(10) = 0
close(8) = 0
close(5) = 0
read(9, "", 50000) = 0
close(9) = 0
write(6, "--releasever=4.1\nqubes-template-"..., 2074) = 2074
close(6) = 0
ioctl(2, TIOCGWINSZ, {ws_row=50, ws_col=159, ws_xpixel=0, ws_ypixel=0}) = 0
write(2, "\rqubes-template-debian-10-0:4.0."..., 160) = 160
wait4(44167, 0x7ffffb93c2c4, WNOHANG, NULL) = 0
lseek(4, 0, SEEK_CUR) = 0
select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
wait4(44167, 0x7ffffb93c2c4, WNOHANG, NULL) = 0
lseek(4, 0, SEEK_CUR) = 0
write(2, "\rqubes-template-debian-10-0:4.0."..., 160) = 160
select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=44167, si_uid=1000, si_status=127, si_utime=0, si_stime=1} ---
select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=15046}) = 0 (Timeout)
wait4(44167, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], WNOHANG, NULL) = 44167
write(2, "\rqubes-template-debian-10-0:4.0."..., 160) = 160
write(2, "\n", 1) = 1
close(4) = 0
unlink("/home/Echnaton/.cache/qvm-template/tmp9_sa1u3i/qubes-template-debian-10-0:4.0.6-202009131420.rpm.UNTRUSTED") = 0
write(2, "'qubes-template-debian-10-0:4.0."..., 77) = 77
close(7) = 0
openat(AT_FDCWD, "/home/Echnaton/.cache/qvm-template/tmp9_sa1u3i/qubes-template-debian-10-0:4.0.6-202009131420.rpm.UNTRUSTED", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 4
fstat(4, {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
ioctl(4, TCGETS, 0x7ffffb93c3e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(4, 0, SEEK_CUR) = 0
openat(AT_FDCWD, "/etc/qubes/repo-templates/qubes-templates.repo", O_RDONLY|O_CLOEXEC) = 5
fstat(5, {st_mode=S_IFREG|0666, st_size=2006, ...}) = 0
ioctl(5, TCGETS, 0x7ffffb93c270) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(5, 0, SEEK_CUR) = 0
ioctl(5, TCGETS, 0x7ffffb93c130) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(5, 0, SEEK_CUR) = 0
fstat(5, {st_mode=S_IFREG|0666, st_size=2006, ...}) = 0
read(5, "[qubes-templates-itl]\nname = Qub"..., 2007) = 2006
read(5, "", 1) = 0
close(5) = 0
socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0) = 5
connect(5, {sa_family=AF_UNIX, sun_path="/var/run/qubesd.sock"}, 22) = 0
sendto(5, "admin.vm.Start+ dom0 name sys-fi"..., 39, 0, NULL, 0) = 39
shutdown(5, SHUT_WR) = 0
recvfrom(5, "0\0", 8192, 0, NULL, NULL) = 2
recvfrom(5, "", 8192, 0, NULL, NULL) = 0
close(5) = 0
ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
pipe2([5, 6], O_CLOEXEC) = 0
pipe2([7, 8], O_CLOEXEC) = 0
fstat(6, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
ioctl(6, TCGETS, 0x7ffffb93b760) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(6, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
fstat(7, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
ioctl(7, TCGETS, 0x7ffffb93b760) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(7, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
pipe2([9, 10], O_CLOEXEC) = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x71ce30d92a10) = 44168
close(10) = 0
close(8) = 0
close(5) = 0
read(9, "", 50000) = 0
close(9) = 0
write(6, "--releasever=4.1\nqubes-template-"..., 2074) = 2074
close(6) = 0
ioctl(2, TIOCGWINSZ, {ws_row=50, ws_col=159, ws_xpixel=0, ws_ypixel=0}) = 0
write(2, "\rqubes-template-debian-10-0:4.0."..., 160) = 160
wait4(44168, 0x7ffffb93c2c4, WNOHANG, NULL) = 0
lseek(4, 0, SEEK_CUR) = 0
select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = 0 (Timeout)
wait4(44168, 0x7ffffb93c2c4, WNOHANG, NULL) = 0
lseek(4, 0, SEEK_CUR) = 0
write(2, "\rqubes-template-debian-10-0:4.0."..., 160) = 160
select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=100000}) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=44168, si_uid=1000, si_status=127, si_utime=0, si_stime=0} ---
select(0, NULL, NULL, NULL, {tv_sec=0, tv_usec=22625}) = 0 (Timeout)
wait4(44168, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], WNOHANG, NULL) = 44168
write(2, "\rqubes-template-debian-10-0:4.0."..., 160) = 160
write(2, "\n", 1) = 1
close(4) = 0
strace2.log (264.4 KB)
Now upload is possible, so here it is.