Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID.

    Posted on

    Hi,
    Just installed RHEL v7.7 on a Hyper-V VM.
    I am trying to install Python v3.6, following these steps:
    https://developers.redhat.com/blog/2018/08/13/install-python3-rhel/

    When enabling the repo rhel-server-rhscl-7-rpms, I am getting:
    [root@localhost downloads]# sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms
    Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

    I tried also:
    [root@localhost downloads]# sudo yum clean all
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    Cleaning repos: rhel-7-server-rpms
    Other repos take up 64 M of disk space (use --verbose for details)
    [root@localhost downloads]# sudo rm -rf /var/cache/yum
    [root@localhost downloads]# sudo subscription-manager remove --all
    1 local certificate has been deleted.
    1 subscription removed at the server.
    [root@localhost downloads]# sudo subscription-manager unregister
    Unregistering from: subscription.rhsm.redhat.com:443/subscription
    System has been unregistered.
    [root@localhost downloads]# sudo subscription-manager clean
    All local data removed
    [root@localhost downloads]# sudo subscription-manager register
    Registering to: subscription.rhsm.redhat.com:443/subscription
    Username: bogdan.neagu.ext
    Password:
    The system has been registered with ID: f6c4a7d9-642f-4377-a339-cc3a5c274f96
    The registered system name is: localhost.localdomain
    [root@localhost downloads]# sudo subscription-manager refresh
    All local data refreshed
    [root@localhost downloads]# sudo subscription-manager attach --auto
    Installed Product Current Status:
    Product Name: Red Hat Enterprise Linux Server
    Status: Subscribed

    [root@localhost downloads]# sudo subscription-manager repos --enable rhel-7-server-optional-rpms
    Repository 'rhel-7-server-optional-rpms' is enabled for this system.
    [root@localhost downloads]# sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms
    Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
    [root@localhost downloads]#

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat