Description of problem: When creating F22 32bit disk image with --update, it fails with: virt-builder fedora-22 -o disk_f22_minimal_32bit.img --update --selinux-relabel --root-password password:weakpassword ... Error: Transaction check error: file /usr/share/man/man5/cert8.db.5.gz from install of nss-3.19.3-1.0.fc22.x86_64 conflicts with file from package nss-3.18.0-1.fc22.i686 file /usr/share/man/man5/cert9.db.5.gz from install of nss-3.19.3-1.0.fc22.x86_64 conflicts with file from package nss-3.18.0-1.fc22.i686 file /usr/share/man/man5/key3.db.5.gz from install of nss-3.19.3-1.0.fc22.x86_64 conflicts with file from package nss-3.18.0-1.fc22.i686 file /usr/share/man/man5/key4.db.5.gz from install of nss-3.19.3-1.0.fc22.x86_64 conflicts with file from package nss-3.18.0-1.fc22.i686 file /usr/share/man/man5/pkcs11.txt.5.gz from install of nss-3.19.3-1.0.fc22.x86_64 conflicts with file from package nss-3.18.0-1.fc22.i686 file /usr/share/man/man5/secmod.db.5.gz from install of nss-3.19.3-1.0.fc22.x86_64 conflicts with file from package nss-3.18.0-1.fc22.i686 file /usr/share/man/man1/trust.1.gz from install of p11-kit-0.23.1-2.fc22.x86_64 conflicts with file from package p11-kit-0.23.1-1.fc22.i686 file /usr/share/man/man5/pkcs11.conf.5.gz from install of p11-kit-0.23.1-2.fc22.x86_64 conflicts with file from package p11-kit-0.23.1-1.fc22.i686 file /usr/share/man/man8/p11-kit.8.gz from install of p11-kit-0.23.1-2.fc22.x86_64 conflicts with file from package p11-kit-0.23.1-1.fc22.i686 It works with 64bit image. Version-Release number of selected component (if applicable): virt-builder 1.30.0fedora=22,release=1.fc22,libvirt
Created attachment 1066397 [details] run output
I saw this a few weeks ago (and I'm fairly sure it's a dupe of another bug, but I can't find that right now). The cause of it is that dnf examines the processor architecture and thus thinks it is running on x86_64 and so tries to install x86_64 packages. There is probably some sort of conf setting / flag we should be passing to dnf to tell it to install basearch=i386 packages in this case.
If you can determine what flag to pass to dnf, then the workaround is simple enough. Replace --update with --run-command "dnf -y --your-flag-here update"
Solution is to run "setarch i686 dnf -y update".
Patch posted: https://www.redhat.com/archives/libguestfs/2015-August/msg00140.html
v2 patch: https://www.redhat.com/archives/libguestfs/2015-August/msg00148.html
This is upstream in commit d875346ad441d4762455ea1b41d57ad6174d9b63 libguestfs >= 1.31.3. I will move this bug back to F22 so it can be fixed on the 1.30 branch.
libguestfs-1.30.1-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14565
libguestfs-1.30.1-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14569
libguestfs-1.30.1-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update libguestfs'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14565
libguestfs-1.30.1-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update libguestfs'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14569
libguestfs-1.30.2-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15401
libguestfs-1.30.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15420
libguestfs-1.30.2-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update libguestfs'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15401
libguestfs-1.30.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update libguestfs'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15420
libguestfs-1.30.3-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-cdd7fcfc3c
libguestfs-1.30.3-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update libguestfs' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-cdd7fcfc3c
libguestfs-1.30.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
libguestfs-1.30.4-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-f7b0c57297
libguestfs-1.30.4-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update libguestfs' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-f7b0c57297
libguestfs-1.30.4-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.