How to use Red Hat Software Collection Version 2 Beta RPM's ?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 6 (All Versions)
  • Red Hat Enterprise Linux 7 on AMD64 and Intel 64 architectures
  • RHSCL 2 Beta
  • RHSCL 2 GA (General Availability)

Issue

  • Unable to upgrade php to php56 in Red Hat Enterprise Linux (RHEL) 7

Resolution

  • RHSCL 2.0 beta has now been moved to GA (General Availability). Hence, all the packages from RHSCL 2.0 beta has now been moved to the GA channel. The PHP56 package is now available from RHSCL 2.0 GA channel and not from Beta.

  • Ensure that rhel-server-rhscl-7-rpms is enabled on Red Hat Enterprise Linux 7.

  • To verify rhel-server-rhscl-7-rpms repository is enabled on the system, execute the below command.

# subscription-manager repos --list
  • If the repository is disabled then enable the repository, to get php56 package.
# subscription-manager  repos --enable=rhel-server-rhscl-7-rpms
# yum repolist     << To verify the above repository is enabled
# yum install php56

Root Cause

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

1 Comments

Thank you for this article. It explains what's going on for me, but the solution isn't working for me. I tried:

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

And I get the following error:

Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

When I pull up the list of repos

subscription-manager repos --list

gives me a list of repos including:

rhel-server-rhscl-7-beta-rpms

but the beta channel results in a 403 when i attempt to use is (e.g. yum search). So, the question is how do I get access to rhel-server-rhscl-7-rpms?

Thanks,pj