On 03/30/2016 08:20 PM, centos-devel wrote:
Thanks for your quick responses Jan! :-)
golang.src is noarch, what about yum install golang.x86_64
golang-src.noarch?
[root@vm139 admin]# yum install golang.x86_64 golang-src.noarch Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
- base: mirror.ox.ac.uk
- extras: mirror.cov.ukservers.com
- updates: repo.bigstepcloud.com
Resolving Dependencies --> Running transaction check ---> Package golang.x86_64 0:1.5.1-1.el7 will be installed --> Processing Dependency: golang-src = 1.5.1-1.el7 for package: golang-1.5.1-1.el7.x86_64 --> Processing Dependency: golang-bin for package: golang-1.5.1-1.el7.x86_64 --> Processing Dependency: go-srpm-macros for package: golang-1.5.1-1.el7.x86_64 ---> Package golang-src.noarch 0:1.4.2-9.el7 will be installed --> Running transaction check ---> Package go-srpm-macros.noarch 0:2-3.el7 will be installed ---> Package golang.x86_64 0:1.5.1-1.el7 will be installed --> Processing Dependency: golang-src = 1.5.1-1.el7 for package: golang-1.5.1-1.el7.x86_64 ---> Package golang-bin.x86_64 0:1.5.1-1.el7 will be installed --> Finished Dependency Resolution Error: Package: golang-1.5.1-1.el7.x86_64 (virt7-testing) Requires: golang-src = 1.5.1-1.el7 Available: golang-src-1.4.2-1.el7.centos.noarch (extras) golang-src = 1.4.2-1.el7.centos Installing: golang-src-1.4.2-9.el7.noarch (base) golang-src = 1.4.2-9.el7
I see now. The golang-src is provided by more repositories: virt7-testing and base. Try:
yum install golang --disable-repo base
You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@vm139 admin]#
Can you send me output of "rpm -qa | grep golang"?
This is a freshly installed VM image cloned from an image of Centos7.2-1602 So golang is not installed yet.
[root@vm139 admin]# rpm -qa | grep golang [root@vm139 admin]#
[root@vm139 admin]# yum distro-sync golang golang-src Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
- base: mirror.as29550.net
- extras: mirror.econdc.com
- updates: mirror.econdc.com
No packages marked for distribution synchronization [root@vm139 admin]#
many thanks, Colin _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel