Hide Forgot
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
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