Bug 1212002

Summary: yum install guestfish fails on RHEL 7.1
Product: Red Hat Enterprise Linux 7 Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: huzhan, leiwang, ptoscano, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libguestfs-1.28.1-1.27.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 07:00:48 UTC 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 2015-04-15 11:40:26 UTC
Description of problem:

On RHEL 7.1:

# yum install guestfish
[...]
Error: Package: 1:libguestfs-1.22.6-22.el7.x86_64 (rhel-7-server-rpms)
           Requires: libkadm5srv_mit.so.8()(64bit)
           Available: krb5-libs-1.11.3-49.el7.x86_64 (rhel-7-server-rpms)
               libkadm5srv_mit.so.8()(64bit)
           Installed: krb5-libs-1.12.2-14.el7.x86_64 (@anaconda/7.1)
              ~libkadm5srv_mit.so.9()(64bit)

(Actually this is not reproducible on a system updated
from RHEL 7.0.  I think it only happens if you install RHEL 7.1
directly).

Anyway, the cause is the same as
https://bugzilla.redhat.com/show_bug.cgi?id=1114012

I dropped the guestfish virtual provides from RHEL 7.1 when rebasing,
and so now it tries to install the RHEL 7.0 packages, which don't
work on 7.1.

The workaround is to use:

  yum install /usr/bin/guestfish
or:
  yum install libguestfs-tools-c

instead.

Version-Release number of selected component (if applicable):

RHEL 7.1

How reproducible:

?

Steps to Reproduce:
1. I could actually reproduce this myself on RHEL 7.1, but it was
   reported by a user.

Comment 3 Hu Zhang 2015-05-05 09:56:46 UTC
Verified with libguestfs-1.28.1-1.29.el7.

Step to verify:
1. # yum install guestfish
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package libguestfs-tools-c.x86_64 1:1.28.1-1.29.el7 will be installed
--> Processing Dependency: libguestfs = 1:1.28.1-1.29.el7 for package: 1:libguestfs-tools-c-1.28.1-1.29.el7.x86_64
--> Processing Dependency: libguestfs.so.0()(64bit) for package: 1:libguestfs-tools-c-1.28.1-1.29.el7.x86_64
--> Running transaction check
---> Package libguestfs.x86_64 1:1.28.1-1.29.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================
 Package                          Arch                 Version                         Repository                   Size
=========================================================================================================================
Installing:
 libguestfs-tools-c               x86_64               1:1.28.1-1.29.el7               RHEL-Server-7               2.1 M
Installing for dependencies:
 libguestfs                       x86_64               1:1.28.1-1.29.el7               RHEL-Server-7               1.7 M

Transaction Summary
=========================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 3.8 M
Installed size: 15 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): libguestfs-1.28.1-1.29.el7.x86_64.rpm                                                      | 1.7 MB  00:00:00     
(2/2): libguestfs-tools-c-1.28.1-1.29.el7.x86_64.rpm                                              | 2.1 MB  00:00:00     
-------------------------------------------------------------------------------------------------------------------------
Total                                                                                     11 MB/s | 3.8 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:libguestfs-1.28.1-1.29.el7.x86_64                                                                   1/2 
  Installing : 1:libguestfs-tools-c-1.28.1-1.29.el7.x86_64                                                           2/2 
  Verifying  : 1:libguestfs-1.28.1-1.29.el7.x86_64                                                                   1/2 
  Verifying  : 1:libguestfs-tools-c-1.28.1-1.29.el7.x86_64                                                           2/2 

Installed:
  libguestfs-tools-c.x86_64 1:1.28.1-1.29.el7                                                                            

Dependency Installed:
  libguestfs.x86_64 1:1.28.1-1.29.el7                                                                                    

Complete!

So fixed.

Comment 5 errata-xmlrpc 2015-11-19 07:00:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2183.html