Search code examples
linuxpackageyumrhel7

RH 7.1 Linux, yum install issue


The Host is registered with Redhat, when I try yum install it says

There are no enabled repos

How to enable repos.

There is similar question here which is unanswered.

[root@# yum install pdksh.x86_64
Loaded plugins: langpacks, product-id, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
There are no enabled repos.
 Run "yum repolist all" to see the repos you have.
 You can enable repos with yum-config-manager --enable <repo>

Solution

  • To resolve your subscription related issue please follow this.

    https://access.redhat.com/solutions/253273

    And regarding your pdksh installation, Pdksh was an open source version that had many of the ksh'88 shell features, which was only available for commercial Linux system and licensed by AT&T. Starting with RHEL 6, pdksh has been deprecated. If you need the Korn shell, use the standard public domain ksh (ksh'93)

    yum install ksh
    

    Hope this helps