Bug 1114012 - "yum install guestfish" on fresh Fedora 20 results in broken libguestfs
Summary: "yum install guestfish" on fresh Fedora 20 results in broken libguestfs
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-27 12:58 UTC by Richard W.M. Jones
Modified: 2021-04-19 10:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.