Bug 706314 - Faild to install virt-v2v-0.7.1-3.el5 for dependency issue
Summary: Faild to install virt-v2v-0.7.1-3.el5 for dependency issue
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-v2v
Version: 5.7
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-20 04:25 UTC by Qin Guan
Modified: 2011-05-24 05:13 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 05:13:40 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Qin Guan 2011-05-20 04:25:51 UTC
Description of problem:
The new virt-v2v package failed to install for dependency issue:
error: Failed dependencies:
        perl-libguestfs < 1.2.14 is needed by virt-v2v-0.7.1-3.el5.x86_64

acctually the package libguestfs-1.2.14-1.el5.x86_64.rpm is for EPEL but not for RHEL, and the requires should not block the installation.

Version-Release number of selected component (if applicable):
virt-v2v-0.7.1-3.el5.x86_64
perl-libguestfs-1.2.7-1.el5.13
libguestfs-1.2.7-1.el5.13

How reproducible:
100%

Steps to Reproduce:
1. download new virt-v2v package (virt-v2v-0.7.1-3.el5) from brew.

2. try to update or install the package:
# rpm -Uvh virt-v2v-0.7.1-3.el5.x86_64.rpm
error: Failed dependencies:
        perl-libguestfs < 1.2.14 is needed by virt-v2v-0.7.1-3.el5.x86_64

# yum install virt-v2v-0.7.1-3.el5.x86_64.rpm
Loaded plugins: rhnplugin, security
Setting up Install Process
Examining virt-v2v-0.7.1-3.el5.x86_64.rpm: virt-v2v-0.7.1-3.el5.x86_64
Marking virt-v2v-0.7.1-3.el5.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package virt-v2v.x86_64 0:0.7.1-3.el5 set to be updated
--> Processing Dependency: perl-libguestfs < 1.2.14 for package: virt-v2v
--> Finished Dependency Resolution
virt-v2v-0.7.1-3.el5.x86_64 from /virt-v2v-0.7.1-3.el5.x86_64 has depsolving problems
  --> Missing Dependency: perl-libguestfs < 1.2.14 is needed by package virt-v2v-0.7.1-3.el5.x86_64 (/virt-v2v-0.7.1-3.el5.x86_64)
Error: Missing Dependency: perl-libguestfs < 1.2.14 is needed by package virt-v2v-0.7.1-3.el5.x86_64 (/virt-v2v-0.7.1-3.el5.x86_64)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

3. the libguestfs installed as expected:
# rpm -qa|grep libguestfs
perl-libguestfs-1.2.7-1.el5.13
libguestfs-1.2.7-1.el5.13

Actual results:
As step 2

Expected results:
new virt-v2v package can be installed without dependency issue

Additional info:
check the requires of the package:
# rpm -qp --requires virt-v2v-0.7.1-3.el5.x86_64.rpm|grep libguestfs
perl-libguestfs < 1.2.14
perl-libguestfs >= 1:1.2.7-1.el5.12
perl-libguestfs >= 1:1.2.7-1.el5.7

Comment 1 Rita Wu 2011-05-24 05:13:40 UTC
Verified this bug with virt-v2v-0.7.1-4.el5.x86_64.rpm. Installation problem is resolved.

# rpm -Uvh virt-v2v-0.7.1-4.el5.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:virt-v2v               ########################################### [100%]
[root@dhcp-8-190 ~]# rpm -qp --requires virt-v2v-0.7.1-4.el5.x86_64.rpm
...
perl-libguestfs >= 1:1.2.7-1.el5.12
perl-libguestfs >= 1:1.2.7-1.el5.7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1


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