golang package missing from centos/7.6.1810
golang package missing from centos/7.6.1810
Hi all.. my rpm has a dependency on golang-1.9.4, but the recent change of the centos/7 repo to 7.1810 is missing the golang packages (any version).
This is the location within 7.5.1804: http://mirror.centos.org/centos/7.5.180 ... x86_64.rpm
Was this deliberate?
thanks..
This is the location within 7.5.1804: http://mirror.centos.org/centos/7.5.180 ... x86_64.rpm
Was this deliberate?
thanks..
Re: golang package missing from centos/7.6.1810
To quote from the 7.6 release notes:
Use the Go Toolset instead of golang
The golang package, previously available in the Optional channel, will no longer receive updates in Red Hat Enterprise Linux 7. Developers are encouraged to use the Go Toolset instead, which is available through the Red Hat Developer program.
Use the Go Toolset instead of golang
The golang package, previously available in the Optional channel, will no longer receive updates in Red Hat Enterprise Linux 7. Developers are encouraged to use the Go Toolset instead, which is available through the Red Hat Developer program.
Re: golang package missing from centos/7.6.1810
Yes, it is intentionally no longer included in CentOS due to an upstream decision (as in the above quote from RHEL release notes).
Perhaps you could use the slightly newer golang from EPEL instead? It is currently in testing so you will need to use the --enablerepo=epel-testing yum parameter to see it. If you don't have the EPEL repository installed yet, you can install the EPEL repository config files with yum install epel-release --enablerepo=extras.
If it works (or not), please leave feedback via https://bodhi.fedoraproject.org/updates ... ba8845b83b
Perhaps you could use the slightly newer golang from EPEL instead? It is currently in testing so you will need to use the --enablerepo=epel-testing yum parameter to see it. If you don't have the EPEL repository installed yet, you can install the EPEL repository config files with yum install epel-release --enablerepo=extras.
Code: Select all
# yum info golang --enablerepo=epel-testing
...
Available Packages
Name : golang
Arch : x86_64
Version : 1.11.2
Release : 2.el7
Size : 631 k
Repo : epel-testing/x86_64
Summary : The Go Programming Language
URL : http://golang.org/
License : BSD and Public Domain
Description : The Go Programming Language.
Re: golang package missing from centos/7.6.1810
Thanks for the explanation. Do we have an explanation on why upstream (Red Hat) decided this ?
Re: golang package missing from centos/7.6.1810
You would need to ask this from RH, but maybe they didn't bother maintaining the old golang because they already had a newer version in their separate Go Toolset.
Re: golang package missing from centos/7.6.1810
thanks, all -- it does make sense given redhat's decision; and thanks for the extra info on epel -- we'll adjust our build process accordingly..
Re: golang package missing from centos/7.6.1810
Thanks. So golang was completely removed from the RHEL 7.6 repository ? My understanding is that they stopped providing updates, not removed the existing version (1.9.4 IIRC)
-
- Site Admin
- Posts: 254
- Joined: 2004/12/05 01:51:26
- Location: Corpus Christi, Texas, USA
- Contact:
Re: golang package missing from centos/7.6.1810
If you look, in the Red Hat repo you will see kernels from 7.0. CentOS does not have that either. If you wanted to use the 7.0 kerel, you would need to go to http://vault.centos.org/centos/ to get it .. it is the same for anything else that RH removed from their 'Current' tree.
It was removed from 7.6 tree by Red Hat .. the OLDER items from 7.5 (or 7.4, 7.3, 7.2, 7.1, 7.0) stay in their overall repo, not to be updated again. That is not how CentOS works .. we don't have an overall repo. We only support 'current'.
golang is NOW part of EPEL .. it is currently in epel testing. It will be moved to epel regular branch soon.
https://dl.fedoraproject.org/pub/epel/t ... ackages/g/ ( golang-1.11.2-3.el7.x86_64.rpm ). If it was part of the current RHEL tree, it would not be in EPEL.
This is not a decision we made .. it is just one that we have to react to.
Once the 7.5 tree is moved to vault.centos.org .. you can use http://vault.centos.org/centos/7.5.1804/extras/ to get the old golang .. BUT .. I would not as it will be out of date.
BTW .. All of the new golang built items items for the extras repo that were added as part of 7.6.1810 were built against golang-1.10.2 (all but the latest runc) or golang-1.10.3 (the latest runc)
It was removed from 7.6 tree by Red Hat .. the OLDER items from 7.5 (or 7.4, 7.3, 7.2, 7.1, 7.0) stay in their overall repo, not to be updated again. That is not how CentOS works .. we don't have an overall repo. We only support 'current'.
golang is NOW part of EPEL .. it is currently in epel testing. It will be moved to epel regular branch soon.
https://dl.fedoraproject.org/pub/epel/t ... ackages/g/ ( golang-1.11.2-3.el7.x86_64.rpm ). If it was part of the current RHEL tree, it would not be in EPEL.
This is not a decision we made .. it is just one that we have to react to.
Once the 7.5 tree is moved to vault.centos.org .. you can use http://vault.centos.org/centos/7.5.1804/extras/ to get the old golang .. BUT .. I would not as it will be out of date.
BTW .. All of the new golang built items items for the extras repo that were added as part of 7.6.1810 were built against golang-1.10.2 (all but the latest runc) or golang-1.10.3 (the latest runc)
Last edited by hughesjr on 2018/12/04 19:53:45, edited 1 time in total.
Re: golang package missing from centos/7.6.1810
In the meantime, I'm not able to build our package as it stands today, and we're trying to get a release out (tested with Go 1.9.4). I've tried making adjustments to reference 7.5.1804, but my yum-foo is weak..
gives meyum --releasever=7.5.1804 install golang
same with 7.5. Suggestions on something for the short term?Cannot find a valid baseurl for repo: base/7.5.1804/x86_64