Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  golang-src-1.12-2 - install error

    Posted Tue June 25, 2019 09:07 AM

    Originally posted by: ctremel


    there is something fishy with the golang-src-1.12-2 package

    Downloading Packages:

    ...

    (6/12): golang-src-1.12-2.aix7.2.noarch.rpm        

    ...

    Transaction Check Error:
      package golang-src-1.12-2.noarch is intended for a different operating system

     

    root@aixbuildhostng: /root/bin # yum repolist
    Loaded plugins: aliases, allowdowngrade, basearchonly, changelog, downloadonly, fastestmirror, filter-data, keys, list-data, local, merge-conf, post-transaction-actions, priorities, protectbase, ps, remove-with-leaves, rpm-warm-
                  : cache, show-leaves, tmprepo, tsflags, verify, versionlock
    Loading mirror speeds from cached hostfile
    0 packages excluded due to repository protections
    repo id                                                                                      repo name                                                                                                                         status
    AIX_Toolbox                                                                                  AIX generic repository                                                                                                            2036
    AIX_Toolbox_71                                                                               AIX 7.1 specific repository                                                                                                         24
    AIX_Toolbox_noarch                                                                           AIX noarch repository                                                                                                              138
    ITSV_Additions                                                                               ITSV generic repository                                                                                                             13
    ITSV_Additions_71                                                                            ITSV AIX 7.1 specific repository                                                                                                     0
    ITSV_Additions_noarch                                                                        ITSV noarch repository                                                                                                               1
    _local                                                                                       Automatic local repo. (manged by the "local" yum plugin).                                                                           60
    repolist: 2272

     

    no clue why yum considers the golang 7.2 branch...

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: golang-src-1.12-2 - install error

    Posted Tue June 25, 2019 11:17 AM

    Originally posted by: AyappanP


    golang-src is only for AIX 7.2 . But since this a noarch package, and toolbox yum have only one "noarch" repo ( and hence no differentiation), one can see this issue if they try to install all the packages from the noarch repo .

    You can use the "--exclude=<package>"  yum option to avoid this issue. 

     


    #AIX-Open-Source-Software
    #AIXOpenSource