THINK YOU!
I'm from China!
but,my network is can  reaching http://builder.libguestfs.org/




------------------ 原始邮件 ------------------
发件人: "rjones"<rjones@redhat.com>;
发送时间: 2020年6月23日(星期二) 晚上6:37
收件人: "雁渡寒潭"<chnlcq@qq.com>;"libguestfs"<libguestfs@redhat.com>;
主题: Re: virt-builder problem

On Tue, Jun 23, 2020 at 06:14:06PM +0800, 雁渡寒潭 wrote:
> hello:    I  yum install libguestfs-tools,when I run virt-builder -l
>    error:
> curl: (56) Recv failure: Connection reset by peer
> virt-builder: error: external command ‘'curl' -q --config
> '/tmp/virt-builder.sVjrSV/guestfscurl53f9ac.conf'’ exited with error 56

Possibly a problem reaching http://builder.libguestfs.org/ ?
It might be blocked in some countries.

>  this is detailed:
> /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.1AUiGm --verify --status-file '/tmp/virt-builder.sVjrSV/vbstatc04e44.txt' '/tmp/virt-builder.sVjrSV/vbcache1f47e5.txt'
> gpg: Signature made Tue 16 Jun 2020 07:48:27 PM CST using RSA key ID E1B768A0
> gpg: Good signature from "Richard W.M. Jones <rjones@redhat.com&gt;"
> gpg:                 aka "Richard W.M. Jones <rich@annexia.org&gt;"
> /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --list-keys
> gpg: keyring `/tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/pubring.gpg' created
> gpg: /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/trustdb.gpg: trustdb created
> /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --status-file '/tmp/virt-builder.sVjrSV/vbstatf02a5b.txt' --import '/etc/xdg/virt-builder/repos.d/libguestfs.gpg'
> gpg: keyring `/tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/secring.gpg' created
> gpg: key E1B768A0: public key "Richard W.M. Jones <rjones@redhat.com&gt;" imported
> gpg: Total number processed: 1
> gpg:               imported: 1  (RSA: 1)
> /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --trusted-key '91738F73E1B768A0' --list-keys
> gpg: key E1B768A0 marked as ultimately trusted
> gpg: checking the trustdb
> gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
> gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
> /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd/pubring.gpg
> ------------------------------------------------------
> pub   4096R/E1B768A0 2011-10-11
> uid                  Richard W.M. Jones <rjones@redhat.com&gt;
> uid                  Richard W.M. Jones <rich@annexia.org&gt;
> sub   4096R/2D07308A 2011-10-11
>
>
> /usr/bin/gpg2 --homedir /tmp/virt-builder.sVjrSV/vb.gpghome.YDYcXd --with-colons --with-fingerprint --with-fingerprint --list-keys F7774FB1AD074A7E8C8767EA91738F73E1B768A0
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
>   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
> curl: (56) Recv failure: Connection reset by peer
> virt-builder: error: external command ‘'curl' -q --config
> '/tmp/virt-builder.sVjrSV/guestfscurl53f9ac.conf'’ exited with error 56
> rm -rf '/tmp/virt-builder.sVjrSV'
> index file (http://download.opensuse.org/repositories/Virtualization:/virt-builder-images/images/index) after parsing (C parser):
> [opensuse-13.1]
> name=openSUSE 13.1
> osinfo=opensuse13.1
> file=http://download.opensuse.org/repositories/Virtualization:/virt-builder-images/images/openSUSE-13.1.x86_64-0.0.2-Build3.2.qcow2.xz
> arch=x86_64
> checksum[sha512]=feca65e4801e93c63ed6361f03c8577fc23e1e83f2f23404483ab1980d5c1da2520ba55542df8097832d9d3fbc4be231648c206d7089d5aec5efb369fb88f41a
> revision=232
> format=qcow2
> size=6441402368
> compressed_size=337112892
> expand=/dev/sda1
> notes=This openSUSE image only contains the base pattern. It is
> designed to run as either KVM or Xen HVM guest.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org