Supermin fails to parse non-integer pacman pkgrel

Hi,

I’m trying to clone a KVM domain and I’m getting an error when running “virt-sysprep”:

supermin: failure: failed to parse epoch:version-release field 29-1.0
libguestfs: trace: launch = -1 (error)
virt-sysprep: error: libguestfs error: /usr/bin/supermin exited with error
status 1, see debug messages above

I noticed that this was reported on https://bugzilla.redhat.com/show_bug.cgi?id=1858625 but the status is “Closed Upstream”. Does this mean it’s fixed? My system is completely uptodate (screenshot attached) so I’m not sure why I’m getting an error for this if it’s fixed. Am I missing something?

1 Like

The update I had on the bugzilla thread was that there hasn’t been a tagged release from Arch or Manjaro since this was fixed. They suggested that I ask for the fix to be patched manually. Not sure how I ask for that?

I did try downloading the latest version of libguestfs from testing-libguestfs-1.42.0-5 and applied it to my system. However, I still got the same error as initially reported.

I am experiencing this error as well executing command libguestfs-test-tool. Will be glad to post additional details as needed.

supermin: failure: failed to parse epoch:version-release field 29-1.0
libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above

Linux 5.10.2-2-MANJARO
supermin 5.2.0-3

https://github.com/jeonsi/arch_supermin_patch fixed this problem for me.

~ git clone https://github.com/jeonsi/arch_supermin_patch.git
~ cd arch_supermin_patch
~ sudo pacman -Syu patch pkg-config
~ makepkg -si

~ libguestfs-test-tool
to make sure that the patch actually fixed the issue.