While installing a package yum fails with error "Error: Nothing to do".

Solution Verified - Updated -

Issue

  • Not able to install a certain package, while other packages can be installed.
  • Trying to install a package, throws the following error.
# yum install php-ldap
Loaded plugins: rhnplugin
rhel-i386-server-6                                       | 1.8 kB     00:00
rhel-i386-server-6/primary                               | 9.5 MB     00:03
rhel-i386-server-6                                                    6544/6544
Setting up Install Process
No package php-ldap available.
Error: Nothing to do

Environment

  • Red Hat Enterprise Linux(RHEL)6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content