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

Wed Mar 30 18:03:38 UTC 2016
Jan Chaloupka <jchaloup at redhat.com>


On 03/30/2016 08:01 PM, centos-devel wrote:
> Thanks Jan.
>
> As far as I can see that does not help resolve the versioning clash
> between the 'current' golang
> and the golang from virt7-docker-common-candidate
>
> Full output follows:
>
>
> [root at vm139 admin]# yum install golang.x86_64 golang-src.x86_64

golang.src is noarch, what about yum install golang.x86_64 
golang-src.noarch?

Or before running try "yum distro-sync golang golang-src"

Can you send me output of "rpm -qa | grep golang"?. It could be a long 
list depending on how many golang packages you have installed.

> Loaded plugins: fastestmirror, langpacks
> Loading mirror speeds from cached hostfile
>   * base: mirror.as29550.net
>   * extras: mirror.econdc.com
>   * updates: repo.bigstepcloud.com
> No package golang-src.x86_64 available.
> 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
>             Available: golang-src-1.4.2-9.el7.noarch (base)
>                 golang-src = 1.4.2-9.el7
>   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 info golang
> Loaded plugins: fastestmirror, langpacks
> Loading mirror speeds from cached hostfile
>   * base: mirror.as29550.net
>   * extras: mirror.cov.ukservers.com
>   * updates: repo.bigstepcloud.com
> Available Packages
> Name        : golang
> Arch        : x86_64
> Version     : 1.5.1
> Release     : 1.el7
> Size        : 1.1 M
> Repo        : virt7-testing
> Summary     : The Go Programming Language
> URL         : http://golang.org/
> Licence     : BSD
> Description : The Go Programming Language.
>
> [root at vm139 admin]# yum info golang-src
> Loaded plugins: fastestmirror, langpacks
> Loading mirror speeds from cached hostfile
>   * base: mirror.ox.ac.uk
>   * extras: mirror.cov.ukservers.com
>   * updates: repo.bigstepcloud.com
> Available Packages
> Name        : golang-src
> Arch        : noarch
> Version     : 1.4.2
> Release     : 9.el7
> Size        : 5.8 M
> Repo        : base/7/x86_64
> Summary     : Golang compiler source tree
> URL         : http://golang.org/
> Licence     : BSD
> Description : Golang compiler source tree
>
> [root at vm139 admin]#
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel

-- 
Jan Chaloupka
------------------------------
* Software Engineer          *
* Server Experience          *
* Red Hat Czech, s. r. o.    *
* UTC+1 (CET), jchaloup      *