virt-builder fails to list on Fedora 39
by developer+libguestfs@three-point-five.dev
I am trying to use virt-builder on Fedora 39. When using the --list option, I get the error copied below. This happens on the version that was installed from the distro (dnf install guestfs-tools) and the version that I compiled (version 1.52 tarball). The url referenced by the error (that as far as I can tell is what is causing cUrl to error) works fine when I curl it myself from the command line or access it in the web browser. Any advice?
command line: virt-builder -x -v --list
/usr/bin/gpg2 --help >/dev/null 2>&1
curl --help >/dev/null 2>&1
virt-resize --help >/dev/null 2>&1
trying to read /etc/virt-builder/repos.d/libguestfs.conf
read 2 sources
trying to read /etc/virt-builder/repos.d/opensuse.conf
read 1 sources
/usr/bin/gpg2 --homedir /tmp/virt-builder.TjyVID/vb.gpghome.ZqT6Zf --list-keys
gpg: keybox '/tmp/virt-builder.TjyVID/vb.gpghome.ZqT6Zf/pubring.kbx' created
gpg: /tmp/virt-builder.TjyVID/vb.gpghome.ZqT6Zf/trustdb.gpg: trustdb created
/usr/bin/gpg2 --homedir /tmp/virt-builder.TjyVID/vb.gpghome.ZqT6Zf --status-file '/tmp/virt-builder.TjyVID/vbstatee1b76.txt' --import '/etc/virt-builder/repos.d/opensuse.gpg'
gpg: key A193FBB572174FC2: 1 signature not checked due to a missing key
gpg: key A193FBB572174FC2: public key "Virtualization OBS Project <Virtualization(a)build.opensuse.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no ultimately trusted keys found
/usr/bin/gpg2 --homedir /tmp/virt-builder.TjyVID/vb.gpghome.ZqT6Zf --trusted-key 'A193FBB572174FC2' --list-keys
gpg: key A193FBB572174FC2 marked as ultimately trusted
gpg: checking the trustdb
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
/tmp/virt-builder.TjyVID/vb.gpghome.ZqT6Zf/pubring.kbx
------------------------------------------------------
pub rsa2048 2013-09-03 [SC] [expired: 2015-11-12]
55A0B34D49501BB7CA474F5AA193FBB572174FC2
uid [ expired] Virtualization OBS Project <Virtualization(a)build.opensuse.org>
/usr/bin/gpg2 --homedir /tmp/virt-builder.TjyVID/vb.gpghome.ZqT6Zf --with-colons --with-fingerprint --with-fingerprint --list-keys 55A0B34D49501BB7CA474F5AA193FBB572174FC2
gpg: checking the trustdb
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (56) Recv failure: Connection reset by peer
virt-builder: error: downloading
http://download.opensuse.org/repositories/Virtualization:/virt-builder-im...:
external command ‘'curl' -q --config
'/tmp/virt-builder.TjyVID/guestfscurl09ad1c.conf'’: exited with error 56
Unix.Unix_error(Unix.ENOENT, "unlink", "/tmp/virt-builder.TjyVID/vbcache4870b4.txt.eoy8lhcc")
rm -rf -- '/tmp/virt-builder.TjyVID'