[CentOS-devel] Problem installing golang.x86_64 with virt7-docker-common-candidate

centos-devel

centos-devel at trancecode.co.uk
Wed Mar 30 19:06:05 UTC 2016


Hi Jan.

> I see now. The golang-src is provided by more repositories:
> virt7-testing and base. Try:
> yum install golang --disable-repo base

[root at vm139 admin]# yum --disablerepo base install golang
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * 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
--> 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
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root at vm139 admin]#

[root at vm139 admin]# yum --disablerepo base --disablerepo extras install
golang
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * 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
--> 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
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


[root at vm139 admin]# yum --disablerepo base --disablerepo extras
--skip-broken install golang
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * 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
--> 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

Packages skipped because of dependency problems:
    go-srpm-macros-2-3.el7.noarch from virt7-testing
    golang-1.5.1-1.el7.x86_64 from virt7-testing
    golang-bin-1.5.1-1.el7.x86_64 from virt7-testing


So even with --skip-broken golang refuses to install due to requiring
dependent packages.




More information about the CentOS-devel mailing list