<html dir="ltr"><head></head><body style="text-align:left; direction:ltr;"><div>Hello,</div><div><br></div><div>I dont think so. You will find below my RPMs package:</div><div><br></div><div> rpm -qa | grep rpm                       ✔</div><div>rpm-plugin-selinux-4.14.2.1-2.fc29.x86_64</div><div>python3-rpm-4.14.2.1-2.fc29.x86_64</div><div>rpm-build-libs-4.14.2.1-2.fc29.x86_64</div><div>rpm-ostree-libs-2018.10-1.fc29.x86_64</div><div>rpm-4.14.2.1-2.fc29.x86_64</div><div>rpm-libs-4.14.2.1-2.fc29.x86_64</div><div>drpm-0.3.0-14.fc29.x86_64</div><div>rpm-plugin-systemd-inhibit-4.14.2.1-2.fc29.x86_64</div><div>python-qt5-rpm-macros-5.11.3-1.fc29.noarch</div><div>deltarpm-3.6-28.fc29.x86_64</div><div>rpm-4.14.2.1-2.fc29.x86_64</div><div>rpmfusion-free-release-29-1.noarch</div><div>rpm-sign-libs-4.14.2.1-2.fc29.x86_64</div><div><br></div><div>Dont hesitate to ask me more commamd's output or anything.</div><div><br></div><div>BR Romain</div><div><br></div><div><br></div><div>On Tue, 2019-01-22 at 19:31 +0000, Richard W.M. Jones wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Tue, Jan 22, 2019 at 06:03:36PM +0000, CHANU ROMAIN wrote:</pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>Hello,</pre><pre><br></pre><pre>I tried to install guestfish on my Fedora 29 and used the commands from</pre><pre>documentation sudo dnf install libguestfs-tools but I got an error when</pre><pre>I tried to execute run. You will find below logs below:</pre><pre><br></pre><pre>     ************************************************************</pre><pre>     *                    IMPORTANT NOTICE</pre><pre>     *</pre><pre>     * When reporting bugs, include the COMPLETE, UNEDITED</pre><pre>     * output below in your bug report.</pre><pre>     *</pre><pre>     ************************************************************</pre><pre>PATH=/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/us</pre><pre>r/sbin:/home/romain/bin</pre><pre>XDG_RUNTIME_DIR=/run/user/1000</pre><pre>SELinux: Disabled</pre><pre>guestfs_get_append: (null)</pre><pre>guestfs_get_autosync: 1</pre><pre>guestfs_get_backend: libvirt</pre><pre>guestfs_get_backend_settings: []</pre><pre>guestfs_get_cachedir: /var/tmp</pre><pre>guestfs_get_hv: /usr/bin/qemu-kvm</pre><pre>guestfs_get_memsize: 500</pre><pre>guestfs_get_network: 0</pre><pre>guestfs_get_path: /usr/lib64/guestfs</pre><pre>guestfs_get_pgroup: 0</pre><pre>guestfs_get_program: libguestfs-test-tool</pre><pre>guestfs_get_recovery_proc: 1</pre><pre>guestfs_get_smp: 1</pre><pre>guestfs_get_sockdir: /run/user/1000</pre><pre>guestfs_get_tmpdir: /tmp</pre><pre>guestfs_get_trace: 0</pre><pre>guestfs_get_verbose: 1</pre><pre>host_cpu: x86_64</pre><pre>Launching appliance, timeout set to 600 seconds.</pre><pre>libguestfs: launch: program=libguestfs-test-tool</pre><pre>libguestfs: launch: version=1.39.11fedora=29,release=1.fc29,libvirt</pre><pre>libguestfs: launch: backend registered: unix</pre><pre>libguestfs: launch: backend registered: uml</pre><pre>libguestfs: launch: backend registered: libvirt</pre><pre>libguestfs: launch: backend registered: direct</pre><pre>libguestfs: launch: backend=libvirt</pre><pre>libguestfs: launch: tmpdir=/tmp/libguestfsH1Xvb3</pre><pre>libguestfs: launch: umask=0022</pre><pre>libguestfs: launch: euid=1000</pre><pre>libguestfs: libvirt version = 4007000 (4.7.0)</pre><pre>libguestfs: guest random name = guestfs-rakt1mfrsshbuiqs</pre><pre>libguestfs: connect to libvirt</pre><pre>libguestfs: opening libvirt handle: URI = qemu:///session, auth =</pre><pre>default+wrapper, flags = 0</pre><pre>libguestfs: successfully opened libvirt handle: conn = 0x55f938843730</pre><pre>libguestfs: qemu version (reported by libvirt) = 3000000 (3.0.0)</pre><pre>libguestfs: get libvirt capabilities</pre><pre>libguestfs: parsing capabilities XML</pre><pre>libguestfs: build appliance</pre><pre>libguestfs: begin building supermin appliance</pre><pre>libguestfs: run supermin</pre><pre>libguestfs: command: run: /usr/bin/supermin</pre><pre>libguestfs: command: run: \ --build</pre><pre>libguestfs: command: run: \ --verbose</pre><pre>libguestfs: command: run: \ --if-newer</pre><pre>libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/lock</pre><pre>libguestfs: command: run: \ --copy-kernel</pre><pre>libguestfs: command: run: \ -f ext2</pre><pre>libguestfs: command: run: \ --host-cpu x86_64</pre><pre>libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d</pre><pre>libguestfs: command: run: \ -o /var/tmp/.guestfs-1000/appliance.d</pre><pre>supermin: version: 5.1.19</pre><pre>supermin: rpm: detected RPM version 4.14</pre><pre>supermin: package handler: fedora/rpm</pre><pre>supermin: acquiring lock on /var/tmp/.guestfs-1000/lock</pre><pre>supermin: build: /usr/lib64/guestfs/supermin.d</pre><pre>supermin: reading the supermin appliance</pre><pre>supermin: build: visiting /usr/lib64/guestfs/supermin.d/base.tar.gz</pre><pre>type gzip base image (tar)</pre><pre>supermin: build: visiting /usr/lib64/guestfs/supermin.d/daemon.tar.gz</pre><pre>type gzip base image (tar)</pre><pre>supermin: build: visiting /usr/lib64/guestfs/supermin.d/excludefiles</pre><pre>type uncompressed excludefiles</pre><pre>supermin: build: visiting /usr/lib64/guestfs/supermin.d/hostfiles type</pre><pre>uncompressed hostfiles</pre><pre>supermin: build: visiting /usr/lib64/guestfs/supermin.d/init.tar.gz</pre><pre>type gzip base image (tar)</pre><pre>supermin: build: visiting /usr/lib64/guestfs/supermin.d/packages type</pre><pre>uncompressed packages</pre><pre>supermin: build: visiting /usr/lib64/guestfs/supermin.d/udev-</pre><pre>rules.tar.gz type gzip base image (tar)</pre><pre>supermin: build: visiting /usr/lib64/guestfs/supermin.d/zz-packages-xfs </pre><pre>type uncompressed packages</pre><pre>supermin: mapping package names to installed packages</pre><pre>supermin: resolving full list of package dependencies</pre><pre>supermin: exception: Librpm.Multiple_matches(2)</pre></blockquote><pre><br></pre><pre>Ouch, yes, that's a new bug we've not seen before ...</pre><pre><br></pre><pre>It's caused by librpm returning an unexpected value, but</pre><pre>I'm not sure why:</pre><pre><br></pre><a href="https://github.com/libguestfs/supermin/blob/1ed4bdd4d782d8f94b197283866cf24f86f7869b/src/librpm-c.c#L298"><pre>https://github.com/libguestfs/supermin/blob/1ed4bdd4d782d8f94b197283866cf24f86f7869b/src/librpm-c.c#L298</pre></a><pre><br></pre><pre><br></pre><pre>I'll have to have a look at the documentation for librpm.  Do you have</pre><pre>multiple installed RPMs with the same name?</pre><pre><br></pre><pre>Rich.</pre><pre><br></pre><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>libguestfs: error: /usr/bin/supermin exited with error status 1, see</pre><pre>debug messages above</pre><pre>libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL:</pre><pre>Invalid argument [you can ignore this message if you are not using</pre><pre>SELinux + sVirt]</pre><pre>libguestfs: closing guestfs handle 0x55f938840880 (state 0)</pre><pre>libguestfs: command: run: rm</pre><pre>libguestfs: command: run: \ -rf /tmp/libguestfsH1Xvb3</pre><pre><br></pre><pre><br></pre><pre>What can I do? </pre><pre><br></pre><pre>Best regards,</pre><pre><br></pre></blockquote><pre><br></pre><pre><br></pre><pre><br></pre></blockquote></body></html>