AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Installation of ansible-7.2.0 and ansible-core-2.14.2 does only work without dependency check

    Posted Thu September 28, 2023 10:30 AM

    Hey team,

    it seems that the installation of ansible-7.2.0 and ansible-core-2.14.2 does only work without dependency check.

    Is this a known issue?

    ### Broken installation with dependency check
    root@aix00001 /ansible# yum localinstall ansible-core-2.14.2-1.aix7.1.noarch.rpm ansible-7.2.0-1.aix7.1.noarch.rpm
    Setting up Local Package Process
    Examining ansible-core-2.14.2-1.aix7.1.noarch.rpm: ansible-core-2.14.2-1.noarch
    Marking ansible-core-2.14.2-1.aix7.1.noarch.rpm to be installed
    Examining ansible-7.2.0-1.aix7.1.noarch.rpm: ansible-7.2.0-1.noarch
    Marking ansible-7.2.0-1.aix7.1.noarch.rpm to be installed
    Resolving Dependencies
    --> Running transaction check
    ---> Package ansible.noarch 0:7.2.0-1 will be installed
    ---> Package ansible-core.noarch 0:2.14.2-1 will be installed
    --> Processing Dependency: (ansible >= 7.2.0 if ansible <= 2.9.25) for package: ansible-core-2.14.2-1.noarch
    --> Finished Dependency Resolution
    Error: Package: ansible-core-2.14.2-1.noarch (/ansible-core-2.14.2-1.aix7.1.noarch)
               Requires: (ansible >= 7.2.0 if ansible <= 2.9.25)
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest

    ### Working installation with --nodeps
    root@aix00001 /ansible# rpm -Uhv --nodeps ansible-core-2.14.2-1.aix7.1.noarch.rpm ansible-7.2.0-1.aix7.1.noarch.rpm
    Verifying...                          ################################# [100%]
    Preparing...                          ################################# [100%]
    Updating / installing...
       1:ansible-7.2.0-1                  ################################# [ 50%]
       2:ansible-core-2.14.2-1            ################################# [100%]

     Ansible (2.14.0 onwards) requires the locale encoding to be UTF-8.


    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------


  • 2.  RE: Installation of ansible-7.2.0 and ansible-core-2.14.2 does only work without dependency check
    Best Answer

    Posted Fri September 29, 2023 01:43 AM

    Have a look at this --> https://community.ibm.com/community/user/power/discussion/important-aix-toolbox-users-please-use-dnf-instead-of-yum?ReturnUrl=%2fcommunity%2fuser%2fpower%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d10c1d831-47ee-4d92-a138-b03f7896f7c9



    ------------------------------
    Ayappan P
    ------------------------------