Red Hat Bugzilla – Bug 657502
virt-inspector depends on EPEL package perl-String-ShellQuote but does not require it
Last modified: 2015-09-27 22:24:05 EDT
Description of problem: virt-inspector needs (but does not require) perl-String-ShellQuote which is only found in EPEL. Version-Release number of selected component (if applicable): libguestfs-tools-1.6.2-4.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. erase perl-String-ShellQuote if you have it installed, and then install libguestfs-tools. 2. $ virt-inspector --help Can't locate String/ShellQuote.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/bin/virt-inspector line 30. BEGIN failed--compilation aborted at /usr/bin/virt-inspector line 30. Additional info: virt-inspector2 does not have such problem.
I can only find the perl-String-ShellQuote file in EPEL: http://download.fedora.redhat.com/pub/epel/beta/6/x86_64/repoview/perl-String-ShellQuote.html So please add it to RHEL or eliminate the need of it.
Yes, this is a bug too. I fixed this for virt-make-fs, but forgot that virt-inspector (old version) was also using String::ShellQuote.
https://brewweb.devel.redhat.com/buildinfo?buildID=150467
$ rpm -q libguestfs-tools libguestfs-tools-1.7.17-4.el6.x86_64 $ virt-inspector virt-inspector: no image or VM names given Usage: virt-inspector [--connect URI] domname virt-inspector guest.img [guest.img ...] So we have VERIFIED that the String::ShellQuote problem is no longer present.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: The virt-inspector package had an unnecessary dependency on the <package>perl-String-ShellQuote</package> package. This superfluous dependency has been removed. Note that this bug was reported and corrected during development. It was not seen in production systems in the field.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0586.html