Bug 1291221

Summary: virsh install error should be more intuitive
Product: Red Hat Enterprise Linux 7 Reporter: Laura Novich <lnovich>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: jdenemar, jhradile, rbalakri
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-14 11:30:18 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 Laura Novich 2015-12-14 10:55:24 UTC
Description of problem:
When running yum install virsh, it returns - no package available. This is not wrong, but it does not help the user as it doesn't give any alternative.

Instead of displaying:
No package virsh available.
Error: Nothing to do

It would be better to state:

No package virsh available.
Error: Nothing to do

Resolution:
virsh is included in the libvirt-client package. Run yum install libvirt-client to install virsh.

or something similar.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Jiri Denemark 2015-12-14 11:30:18 UTC
You can use yum provides '*/virsh'