Red Hat Developer Tools software repository not available
After reading the blog post Red Hat Releases New Development Tools on the Red Hat Developer portal, I wanted to try them out.
As advised in Red Hat Development Suite I executed sudo subscription-manager repos --enable rhel-7-server-devtools-rpms
to add the Developer Tools channel.
Unfortunately I received this message : Error: 'rhel-7-server-devtools-rpms' does not match a valid repository ID.
So I executed sudo subscription-manager repos --list to check the valid repositories. Surprisingly that repository was not listed.
I executed sudo subscription-manager refresh and then sudo subscription-manager repos --list again ... no change ...
No rhel-7-server-devtools-rpms listed. I am running RHEL Server 7.4 Developer Edition and in the mentioned blog post is written :
"As always, it’s available at no-cost."
What's going wrong here ... can someone please tell me if I'm missing something and what I have to do or whether this is possibly a bug ?
Thanks :)
Christian
Responses
Yes, it is true as Christian said, there is nothing called "rhel-7-server-devtools-rpms_x86_64" repos to sync up.
Ansible>subscription-manager repos --enable rhel-7-server-devtools-rpms_x86_64
Error: 'rhel-7-server-devtools-rpms_x86_64' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
There is a typo in some of the documentation. The _x86_64 shouldn't be part of the repo name.
The correct repo name is rhel-7-server-devtools-rpms or rhel-7-workstation-devtools-rpms.
# subscription-manager repos --list-enabled
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
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: 1
Repo ID: rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/os
Enabled: 1
Repo ID: rhel-7-server-devtools-rpms
Repo Name: Red Hat Developer Tools RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/7Server/$basearch/devtools/1/os
Enabled: 1
Maybe the repo hasn't fully gone live yet? The blog was just posted about it on the 15th, so it may be possible that Red Hat just needs a little extra time to get it fully working for everyone.
This is a bug. Some SKUs per properly tagged for that channel and some where not. It is ACTIVELY being worked.
Did you try redoing the original commands that you originally tried per https://developers.redhat.com/products/devsuite/hello-world/#fndtn-rhel ?
$ su -
# subscription-manager repos --enable rhel-7-server-devtools-rpms
# subscription-manager repos --enable rhel-server-rhscl-7-rpms
I can confirm your results. It seems that nothing has changed.
Have you done a subscription-manager refresh lately to get the latest repo definitions?
# subscription-manager refresh
1 local certificate has been deleted.
All local data refreshed
I was able to successfully add that repo today with a $0 Developer Suite subscription via developers.redhat.com.
Note: when I've had to do a thorough cleaning to try to get rid of some corrupted repo/subscription data, the steps I've used are:
# subscription-manager unregister
# subscription-manager clean
# yum clean all
# subscription-manager register --auto-attach
Robert,
Looks like that did the trick. I was able to add the repo after
subscription-manager refresh
Thanks,
Matt
Matt, Glad that solved it for you.
Note you will need to add a GPG key to install those packages. - see DevSuite Hello World for RHEL
# cd /etc/pki/rpm-gpg
# wget -O RPM-GPG-KEY-redhat-devel https://www.redhat.com/security/data/a5787476.txt
# rpm --import RPM-GPG-KEY-redhat-devel
Hi All,
Even worse if I try to find one of the rpm via the rpm search on access.redhat.com I get an error when trying to download it manually.
I will open a Red Hat support case to find out what is wrong with the repository, for it does not show in my Satellite either. Only a repository for RHEL 5 and RHEL 6.
Regards,
Jan Gerrit
All,
Things get wierd, for https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/6/html-single/User_Guide/index.html#sect-Red_Hat_Developer_Toolset-Subscribe states:
yum install devtoolset-6 from the repository rhel-server-rhscl-7-rpms
I tested it and the installation worked fine.
Regards,
Jan Gerrit Kootstra
Note: It's easy to get confused by the similar naming.
There is a software collection called Red Hat Developer Toolset that is part of RHSCL and includes newer GCC and related tools that are updated more frequently than what is in RHEL. This has been around for a number of years. The major version number tends increases with releases, it may be tracking gcc version numbering. Since it is a software collection it is part of the RHSCL repo.
Very Recently (as in the last month) a new repo/channel was created for Red Hat Developer Tools, to be a channel from the Red Hat Developer Tools group. Currently this repo contains primarily Red Hat Container Development Kit and JBoss Developer Studio 11.0 IDE,
On Windows and macOS there is a single installer called Red Hat Development Suite that installs those tools and required dependencies. The Developer Tools repo and rh-devsuite meta package are essentially of the analog of the Dev Suite installer on RHEL.
CDK had it's own repo/channel during some of the 2.x and 3.0 releases. As of the 3.1 release it is paft of the new developer tools repo.
I suspect there might be some repo consolidation when future releases occur. But for now as a developer you should have the RHSCL, new devtools, and RHEL optional-rpms repos enabled on your system at a minimum.
Hope this helps.
--Rob
Well, now that I thought I had everything working, I'm running into another problem. About a day or two after I got the repos working, I got an error stating I'm not subscribed to "Red Hat Developer Tools (For RHEL Server)"
Product name Red Hat Developer Tools (for RHEL Server)
Product ID 394
Version 1.0
Architecture x86_64
Status Not Subscribed (Not supported by a valid subscription.)
Starts
Ends
This is odd because I have a valid subscription through the free RHEL developers program (my subscription renews in November).
I have tried:
subscription-manager unregister
yum clean all
subscription-manager register --auto-attach
All,
I have been called by Red Hat support regarding my support case about this issue, and they do not have a solution for it at the moment. I am not able to find the rhel-7-server-devtools-rpms repository as a repository to sync by Satellite 6.2.11. Even after 2 manifest refreshes.
Regards,
Jan Gerrit
I believe I've heard that the problem with the package browser displaying "something went wrong" when clicking on a package in the devtools repo was a bug that would be addressed soon.
Thanks Christian. I don't know what else to try... I followed every step from your post but still end up with the error.
Pages
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
