Is there a way to install libvirt-client without the nc dependency in RHEL 6?

Solution In Progress - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • libvirt-client is needed
  • There is a requirement to not install nc

Issue

  • The libvirt-client package is installed, and has a dependency for itself: nc.
  • Can libvirt-client be installed without nc?
  • Is there a way to install the cluster software without the libvirt / nc dependency?

Resolution

There is no way to avoid installing nc as a dependency of libvirt-client at this time. nc must be installed for libvirt-client to be installed.

If using the Red Hat Enterprise Linux High Availability Add On, then libvirt-client must be installed as a dependency of fence-agents, and thus nc must be installed as well. There is no way to avoid these packages in a supported High Availability cluster.

Root Cause

libvirt-client requires the nc package as a dependency, so if nc is not desired on the system, this can create a conflict.

The libvirt-client package may be pulled in as a dependency of fence-agents if using the Red Hat Enterprise Linux High Availability Add On for clusters.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments