| Summary: | Faild to install virt-v2v-0.7.1-3.el5 for dependency issue | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Qin Guan <qguan> |
| Component: | virt-v2v | Assignee: | Matthew Booth <mbooth> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.7 | CC: | cshao, leiwang, mbooth, mkenneth, rjones, rwu, whuang, yupzhang |
| Target Milestone: | rc | Keywords: | Regression, TestBlocker |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-24 05:13:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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