The correct name of the repo is rhel-server-rhscl-7-rpms. You seem to have some sort of nonprinting or whitespace character embedded in the middle of your command line. Try copying and pasting.

Repo ID:   rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
Enabled:   0

(As discussed in comments) Note that the Software Collections repo is not available on systems which are on Extended Update Support. The system will need to be taken off EUS and updated to the most current minor release in order to use Red Hat's Software Collections.

Answer from Michael Hampton on serverfault.com
🌐
Red Hat
access.redhat.com › solutions › 472793
How to use Red Hat Software Collections (RHSCL) or Red Hat Developer Toolset (DTS)? - Red Hat Customer Portal
How do I access Red Hat Software Collections (RHSCL) channel? How do I access rhscl, rhel-x86_64-server-6-rhscl-1, rhel-server-rhscl-6-rpms, or rhel-server-rhscl-7-rpms channels? How to install packages (latest versions, which are not included in the base channel) such as apache/httpd, perl, ...
Top answer
1 of 4
1

The correct name of the repo is rhel-server-rhscl-7-rpms. You seem to have some sort of nonprinting or whitespace character embedded in the middle of your command line. Try copying and pasting.

Repo ID:   rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rhscl/1/os
Enabled:   0

(As discussed in comments) Note that the Software Collections repo is not available on systems which are on Extended Update Support. The system will need to be taken off EUS and updated to the most current minor release in order to use Red Hat's Software Collections.

2 of 4
0

I would install it from the extra packages (EPEL) repo. First, you'll want to ensure that the EPEL repository is configured (and enable the optional channel for RHEL too):

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm
rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm

For RHEL, run this command as well:

subscription-manager repos --enable=rhel-7-server-optional-rpms

Next, enable the remi-php71 repository:

yum install yum-utils
yum-config-manager --enable remi-php71

And now you can install PHP 7.1:

yum install php71

Doesnt answer your question about enabling your repo ( your fault seems to be with a weird whitespace in the middle of your penultimate command ) :

[root@nj-way-intranet:~]# subscription-manager repos --enable rhel-server-    rhscl-7-rpms
Discussions

RHEL 7 offline, extended license, update help please.
you got a sub, open a ticket. More on reddit.com
🌐 r/redhat
27
0
August 29, 2024
rhel7 - Red Hat Development Suite missing rhel-7-server-devtools-rpms - Stack Overflow
What's the trick to enabling rhel-7-server-devtools-rpms? I have a Red Hat Enterprise Linux Developer Suite subscription and have been trying to install Red Hat Development Suite in RHEL7. Follo... More on stackoverflow.com
🌐 stackoverflow.com
RHEL 7: Error getting repository data for rhel-7-server-extras-rpms, repository not found
What you expected to happen? Installing docker-ce ;) What happened? Error: Execution of '/bin/yum -d 0 -e 0 -y --enablerepo=rhel-7-server-extras-rpms install docker-ce' returned 1: Error ge... More on github.com
🌐 github.com
5
July 20, 2018
Unable to install / update packages from RHEL 7 Server repository
Problem: Unable to install / update any package from the RHEL 7 Server repository Expected outcome: Package installs / updates from content view Foreman and Proxy versions: Foreman 2.3.3 Foreman and Proxy plugin versions: Katello 3.18.2 Distribution and version: CentOS 7.9 Other relevant data: ... More on community.theforeman.org
🌐 community.theforeman.org
0
0
May 18, 2021
🌐
Open OnDemand
discourse.openondemand.org › feature requests and roadmap discussion
Errors with rhel-server-rhscl-7-rpms repo in the past week? - Feature Requests and Roadmap Discussion - Open OnDemand
September 18, 2019 - We are having an issue that seems to have appeared since last week with building OOD on our centos platform and using the rhel-server-rhscl-7-rpms repo. In fact it appears to have emerged just over the past day. Yesterday I could work around it by forcing a specific baseurl for this repo.
🌐
Reddit
reddit.com › r/redhat › rhel 7 offline, extended license, update help please.
r/redhat on Reddit: RHEL 7 offline, extended license, update help please.
August 29, 2024 -

I am a maintainer (very loosely called a sysadmin, so too technical questions and I might not be able to answer you) of an RHEL 7.9 system that is offline - not connected to the internet - system.

Before asked, cannot move to a newer version of RHEL at the moment - when we set it up, RHEL8 had problems running diskless and meeting FIPS requirements and no budget to upgrade at the moment.

I am required to updates, especially security updates, monthly.

As we know, RHEL 7 lost support in June - which is the last month I was able to get updates.

I was able to convince the powers that be to purchase extended license support.

The problem I have is, when I run my update command, I still only get updates from June.

When I log into my Red Hat account I can see my active subscriptions:

Developer for Individuals

Red Hat Beta Access

Extended Support for Red Hat Enterprise Linux

This is how things worked (before adding the extended license):

subscription-manager unregister

subscription-manager clean

yum clean all

subscription-manager register

subscription-manager subscribe --pool=longIDnumber

Then add:

subscription-manager repos --enable rhel-7-server-extras-rpms

subscription-manager repos --enable rhel-7-server-devtools-rpms

subscription-manager repos --enable rhel-7-server-optional-rpms

subscription-manager repos --enable rhel-ha-for-rhel-7-server-rpms

subscription-manager repos --enable rhel-7-server-rpms

I'd then run the following command:

yum install $(cat /installers/release/lab-rpms.txt|xargs) --installroot=/installers/release/lab-rpms --nogpgcheck --releasever=/ --downloadonly --downloaddir=/installers/release/lab-rpms

but now get his error:

Error: Multilib version problems found. This often means that the root

cause is something else and multilib version checking is just

pointing out that there is a problem. Eg.:

  1. You have an upgrade for shim-x64 which is missing some

dependency that another package requires. Yum is trying to

solve this by installing an older version of shim-x64 of the

different architecture. If you exclude the bad architecture

yum will tell you what the root cause is (which package

requires what). You can try redoing the upgrade with

--exclude shim-x64.otherarch ... this should give you an error

message showing the root cause of the problem.

2. You have multiple architectures of shim-x64 installed, but

yum can only see an upgrade for one of those architectures.

If you don't want/need both architectures anymore then you

can remove the one with the missing update and everything

will work.

3. You have duplicate versions of shim-x64 installed already.

You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove

this checking, however this is almost never the correct thing to

do as something else is very likely to go wrong (often causing

much more problems).

Protected multilib versions: shim-x64-15-11.el7.x86_64 != shim-x64-15.8-1.el7.x86_64

Error: Protected multilib versions: mokutil-15-11.el7.x86_64 != mokutil-15.8-1.el7.x86_64

so, I run it with:

--setopt=protected_multilib=false

for it to run

I got a new pool ID to use with the extended license, but when I try to subscrib to it, it comes back not found.

if/when I add any of these it errors out, saying to remove them:

subscription-manager repos --enable rhel-7-server-eus-rpms

subscription-manager repos --enable rhel-7-server-eus-optional-rpms

I'm not sure what else to add here.

Anyone have any idea what I can do to get the latest updares?

Thank you.

EDIT:

So searching Red Hat site and found what appears to be prof that I got the ELS subscription, I think?

Not sure where to go next, heard back on my trouble ticket yet.

🌐
Image Factory Blog
imagefactory.otc.t-systems.com › home › red-hat-7-end-of-maintenance
End of Maintenance Red Hat Enterprise Linux 7 - June 2024 | Image Factory Blog Open Telekom Cloud
May 13, 2024 - Login to server + switch to root user and check configured repository. $ sudo -i $ yum repolist all # ## repo id repo name status OTC-rhel7-rhui-rpm OTC-rhel7-rhui-rpm enabled: 1 ## #
🌐
Axway
support.axway.com › kb › 182139 › language › en
Install dependencies from RedHat Software Collections ...
May 3, 2022 - sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms sudo yum clean all · Install Apache HTTP server on RHEL7 · Install Apache from RHSCL: sudo yum install httpd24-httpd httpd24-httpd-tools httpd24-mod_ssl · Verify the /usr/bin/httpd directory does not exist.
🌐
Osc
osc.github.io › ood-documentation › release-1.6 › installation › install-software.html
1. Install Software From RPM — Open OnDemand 1.6.7 documentation
sudo subscription-manager repos --enable=rhel-server-rhscl-7-rpms # Repository 'rhel-server-rhscl-7-rpms' is enabled for this system.
Find elsewhere
🌐
JetPatch
kc.jetpatch.com › hc › en-us › articles › 360035103252-Setting-Up-Local-Repositories-RHEL-7
Setting Up Local Repositories - RHEL 7 – JetPatch
createrepo -v /var/www/html/rhel7/server/ -g comps.xml createrepo -v /var/www/html/rhel7/rhscl/ createrepo -v /var/www/html/rhel7/main/ Note: The -g comps.xml is only needed for the server repo. 6. Configure the updateinfo.xml file by running the following commands : ------------------------------- REPOSITORY CONFIG FOR rhel-7-server-optional-rpms to "server" FOLDER: ================== rm -rf /var/www/html/rhel7/server/repodata/*updateinfo* cp /var/cache/yum/x86_64/7Server/rhel-7-server-optional-rpms/*-updateinfo.xml.gz /var/www/html/rhel7/server/repodata/ gzip -d /var/www/html/rhel7/server/re
🌐
GitHub
gist.github.com › da36249ec55e695787b1
Red Hat Enterprise Linux Subscription Manager util commands · GitHub
For example, to enable the Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 use the following command: yum-config-manager --enable rhel-server-rhscl-7-rpms
🌐
Red Hat
access.redhat.com › discussions › 5051551
'rhel-server-rhscl-7-rpms' does not match a valid repository ...
May 5, 2020 - [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.
🌐
GitHub
github.com › RedHatDemos › RHCLS_ScalableInfrastructure › blob › master › redhat.repo
RHCLS_ScalableInfrastructure/redhat.repo at master · RedHatDemos/RHCLS_ScalableInfrastructure
baseurl = https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/rhscl/1/os · ui_repoid_vars = basearch · sslverify = 1 · name = Red Hat Software Collections Beta RPMs for Red Hat Enterprise Linux 7 Server · sslclientkey = /etc/pki/entitlement/5983099999824052042-key.pem ·
Author   RedHatDemos
🌐
Johnwillis
johnwillis.com › 2014 › 11 › rhel7-how-to-enable-software-collections.html
John Willis: RHEL7, How to Enable Software Collections
November 13, 2014 - # subscription-manager repos --enable rhel-server-rhscl-7-rpms Results in the RHSCL repo actually being activated and added to the list of repos the registered system is aware of. Then one of the faster paced packages or one of the testing packages like nginx16 can be installed.
🌐
Red Hat
access.redhat.com › solutions › 1477673
How to use Red Hat Software Collection Version 2 Beta RPM's ? - Red Hat Customer Portal
# subscription-manager repos --enable=rhel-server-rhscl-7-rpms # yum repolist << To verify the above repository is enabled # yum install php56
🌐
GitHub
github.com › puppetlabs › puppetlabs-docker › issues › 290
RHEL 7: Error getting repository data for rhel-7-server-extras-rpms, repository not found · Issue #290 · puppetlabs/puppetlabs-docker
July 20, 2018 - What you expected to happen? Installing docker-ce ;) What happened? Error: Execution of '/bin/yum -d 0 -e 0 -y --enablerepo=rhel-7-server-extras-rpms install docker-ce' returned 1: Error getting repository data for rhel-7-server-extras-r...
Author   puppetlabs
🌐
OpenText
docs.microfocus.com › SA › 10.50 › Content › admin_guide › sa_10_x_BP_for_Importing_RHEL_7_Content.htm
Best Practices for Importing RHEL 7 Content
Rename the package folder to “Red Hat Enterprise Linux 6 Server (RPMs) (6Server-x86_64)”. Create a new content section in the configuration file: [rhel-6-server-rpms{6Server-x86_64}]. Define the “erratum_policy_path” as follows under the above section: erratum_policy_path=/RHN/Errata/$erratum_type Policies/$erratum_name
🌐
Abysm
blog.abysm.org › 2016 › 03 › installing-developer-toolset-rhel-based-distributions
Installing Developer Toolset on RHEL-based Distributions · Kuan-Yi Li's Blog
March 25, 2016 - yum-config-manager --enable rhel-server-rhscl-8-rpms · yum-config-manager --enable rhel-server-rhscl-7-rpms
🌐
TheForeman
community.theforeman.org › support
Unable to install / update packages from RHEL 7 Server repository - Support - TheForeman
May 18, 2021 - Problem: Unable to install / update any package from the RHEL 7 Server repository Expected outcome: Package installs / updates from content view Foreman and Proxy versions: Foreman 2.3.3 Foreman and Proxy plugin versions: Katello 3.18.2 Distribution and version: CentOS 7.9 Other relevant data: All other repositories are working just from CentOS 7,8 and other RHEL 7,8 so it is just the main RHEL 7 Server repo.