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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.