Bug 1114012

Summary: "yum install guestfish" on fresh Fedora 20 results in broken libguestfs
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: fsimonce, ptoscano
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2014-06-27 12:58:45 UTC
Description of problem:

(Reported by Federico Simoncelli)

From a fresh Fedora 20 install, do:

  # yum install guestfish

This results in a broken install of libguestfs.  You
will see the following error if you run any programs including
guestfish and libguestfs-test-tool:

  /usr/bin/supermin-helper: No such file or directory
  libguestfs: checksum of existing appliance: 
  libguestfs: warning: supermin-helper -f checksum returned a short string
  libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib64/guestfs)
  libguestfs-test-tool: failed to launch appliance

The reason is that when I updated libguestfs in F20 from 1.24 to
1.26:

  http://pkgs.fedoraproject.org/cgit/libguestfs.git/commit/?h=f20&id=6854e54768d27752888efe98dc66bcbb6645a147

I removed:

  Provides: guestfish

from the spec file.  So now in F20 we have a situation where
there is libguestfs-1.24.1-3.fc20 in the base repository which
has "Provides: guestfish", and libguestfs-1.26.x in the updates
repository which does not provide it.

Installing "guestfish" pulls in the libguestfs 1.24 package.

Unfortunately this package is not compatible with supermin >= 5
which is what gets pulled in (from updates) when libguestfs 1.24
is installed.

The solution is to make sure the Fedora updates repository is
enabled and to just "yum install libguestfs" which will
bring everything up to the right version (1.26.x).

We should probably do something with Conflicts in supermin?

Comment 1 Richard W.M. Jones 2015-04-15 11:40:52 UTC
See also
https://bugzilla.redhat.com/show_bug.cgi?id=1212002