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
Expand all | Collapse all

AIX 7.2 broken dependencies

  • 1.  AIX 7.2 broken dependencies

    Posted Sun December 10, 2017 06:41 PM

    Originally posted by: kristianmilos


    Hi,

     

    I mirror the IBM aixtoolbox repository to my NIM server using "wget --mirror ftp://..." 

    My last mirror ran successfully on Thursday 14th December 2017, but I'm seeing dependency issues with libX11 when trying to update the expect and tk packages.

     

    There is a forum thread from November saying that running a "yum clean all" from the client resolved the issue, but it didn't for me.

     

    # oslevel -s
    7200-01-03-1720
    
    # yum clean all
    Cleaning repos: AIX_Toolbox_noarch AIX_Toolbox_ppc AIX_Toolbox_ppc-7.2
    Cleaning up Everything
    
    # yum check-update
    AIX_Toolbox_noarch                                                                                                                                                                  | 2.9 kB  00:00:00
    AIX_Toolbox_noarch/primary_db                                                                                                                                                       |  43 kB  00:00:00
    AIX_Toolbox_ppc                                                                                                                                                                     | 2.9 kB  00:00:00
    AIX_Toolbox_ppc/primary_db                                                                                                                                                          | 1.1 MB  00:00:00
    AIX_Toolbox_ppc-7.2                                                                                                                                                                 | 2.9 kB  00:00:00
    AIX_Toolbox_ppc-7.2/primary_db                                                                                                                                                      |  11 kB  00:00:00
    
    expect.ppc                                                                                     5.45-3                                                                                       AIX_Toolbox_ppc
    tk.ppc                                                                                         8.6.6-1                                                                                      AIX_Toolbox_ppc
    
    # yum -y update
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package expect.ppc 0:5.42.1-4 will be updated
    ---> Package expect.ppc 0:5.45-3 will be an update
    ---> Package tk.ppc 0:8.4.7-4 will be updated
    ---> Package tk.ppc 0:8.6.6-1 will be an update
    --> Processing Dependency: libXft >= 2.3.2-1 for package: tk-8.6.6-1.ppc
    --> Processing Dependency: fontconfig >= 2.10.2-1 for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libXft.a(libXft.so.2) for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libfontconfig.a(libfontconfig.so.1) for package: tk-8.6.6-1.ppc
    --> Running transaction check
    ---> Package fontconfig.ppc 0:2.11.95-2 will be installed
    --> Processing Dependency: freetype2 >= 2.0.9 for package: fontconfig-2.11.95-2.ppc
    --> Processing Dependency: libfreetype.a(libfreetype.so.6) for package: fontconfig-2.11.95-2.ppc
    ---> Package libXft.ppc 0:2.3.2-2wofX11 will be installed
    --> Processing Dependency: libXrender >= 0.9.5 for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libX11 >= 1.5 for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libXrender.a(libXrender.so.1) for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXft-2.3.2-2wofX11.ppc
    --> Running transaction check
    ---> Package freetype2.ppc 0:2.6.3-1 will be installed
    --> Processing Dependency: libpng16.a(libpng16.so.16) for package: freetype2-2.6.3-1.ppc
    ---> Package libXft.ppc 0:2.3.2-2wofX11 will be installed
    --> Processing Dependency: libX11 >= 1.5 for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXft-2.3.2-2wofX11.ppc
    ---> Package libXrender.ppc 0:0.9.9-1 will be installed
    --> Processing Dependency: libX11 >= 1.5.99.902 for package: libXrender-0.9.9-1.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXrender-0.9.9-1.ppc
    --> Running transaction check
    ---> Package libXft.ppc 0:2.3.2-2wofX11 will be installed
    --> Processing Dependency: libX11 >= 1.5 for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXft-2.3.2-2wofX11.ppc
    ---> Package libXrender.ppc 0:0.9.9-1 will be installed
    --> Processing Dependency: libX11 >= 1.5.99.902 for package: libXrender-0.9.9-1.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXrender-0.9.9-1.ppc
    ---> Package libpng.ppc 0:1.6.21-1 will be installed
    --> Finished Dependency Resolution
    Error: Package: libXft-2.3.2-2wofX11.ppc (AIX_Toolbox_ppc)
               Requires: libX11 >= 1.5
    Error: Package: libXrender-0.9.9-1.ppc (AIX_Toolbox_ppc)
               Requires: libX11.a(libX11.so.6)
    Error: Package: libXft-2.3.2-2wofX11.ppc (AIX_Toolbox_ppc)
               Requires: libX11.a(libX11.so.6)
    Error: Package: libXrender-0.9.9-1.ppc (AIX_Toolbox_ppc)
               Requires: libX11 >= 1.5.99.902
     You could try using --skip-broken to work around the problem
    ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
    expect-5.42.1-4.ppc has missing requires of libtcl8.4.so
    tk-8.4.7-4.ppc has missing requires of libtcl8.4.so
    

     

    Regards,

    Kristian


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: AIX 7.2 broken dependencies

    Posted Mon December 11, 2017 02:06 AM

    Originally posted by: Nitish Mishra


    Hi Kristian,

     

    We have removed libXrender-0.9.9 from our repository in starting of the year and now we have made only 0.9.8 version available as shown below:

    # yum list libXrender
    Plugin "refresh-updatesd" can't be imported
    Loaded plugins: basearchonly, downloadonly, fastestmirror, filter-data, keys, list-data, merge-conf, post-transaction-actions, priorities, ps, rpm-warm-cache, show-leaves, tsflags, upgrade-helper,
                  : verify
    Loading mirror speeds from cached hostfile
    Installed Packages
    libXrender.ppc                                                                              0.9.8-1waixX11                                                                               @AIX_Toolbox
     

    You said "My last mirror ran successfully on Thursday 14th December 2017". I believe the mentioned date is wrong, if you mean 2016 instead of 2017, then we have removed libXrender-0.9.9 in early, 2017. I think there is some issue with your repository. Please update your repository, run "yum clean all" and try again.

     

    Thanks and Regards,

    Nitish K Mishra


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: AIX 7.2 broken dependencies

    Posted Thu December 14, 2017 12:23 AM

    Originally posted by: kristianmilos


    Hi Nitish,

     

    The date mentioned when I last mirrored the repository was correct. Even so, just to be safe, I deleted the entire repository yesterday, remirrored it all, ran "yum clean all" on the client, and still have the same problem.

     

    # yum clean all
    Cleaning repos: AIX_Toolbox_noarch AIX_Toolbox_ppc AIX_Toolbox_ppc-7.2
    Cleaning up Everything
    
    # yum repolist
    AIX_Toolbox_noarch                                                                                                                                                                  | 2.9 kB  00:00:00
    AIX_Toolbox_noarch/primary_db                                                                                                                                                       |  43 kB  00:00:00
    AIX_Toolbox_ppc                                                                                                                                                                     | 2.9 kB  00:00:00
    AIX_Toolbox_ppc/primary_db                                                                                                                                                          | 1.1 MB  00:00:00
    AIX_Toolbox_ppc-7.2                                                                                                                                                                 | 2.9 kB  00:00:00
    AIX_Toolbox_ppc-7.2/primary_db                                                                                                                                                      |  11 kB  00:00:00
    repo id                                                                                           repo name                                                                                          status
    AIX_Toolbox_noarch                                                                                AIX ToolBox noarch                                                                                    87
    AIX_Toolbox_ppc                                                                                   AIX ToolBox PPC                                                                                    2,087
    AIX_Toolbox_ppc-7.2                                                                               AIX ToolBox PPC-7.2                                                                                   18
    repolist: 2,194
    
    # yum -y update tk
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package tk.ppc 0:8.4.7-4 will be updated
    --> Processing Dependency: libtk8.4.so for package: python-2.7.10-1.ppc
    ---> Package tk.ppc 0:8.6.6-1 will be an update
    --> Processing Dependency: tcl = 8.6.6 for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libXft >= 2.3.2-1 for package: tk-8.6.6-1.ppc
    --> Processing Dependency: fontconfig >= 2.10.2-1 for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libXft.a(libXft.so.2) for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libtcl8.5.so for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libfontconfig.a(libfontconfig.so.1) for package: tk-8.6.6-1.ppc
    --> Processing Dependency: libtcl8.6.so for package: tk-8.6.6-1.ppc
    --> Running transaction check
    ---> Package fontconfig.ppc 0:2.11.95-2 will be installed
    --> Processing Dependency: freetype2 >= 2.0.9 for package: fontconfig-2.11.95-2.ppc
    --> Processing Dependency: libfreetype.a(libfreetype.so.6) for package: fontconfig-2.11.95-2.ppc
    ---> Package libXft.ppc 0:2.3.2-2wofX11 will be installed
    --> Processing Dependency: libXrender >= 0.9.5 for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libX11 >= 1.5 for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libXrender.a(libXrender.so.1) for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXft-2.3.2-2wofX11.ppc
    ---> Package python.ppc 0:2.7.10-1 will be updated
    --> Processing Dependency: python = 2.7.10 for package: python-tools-2.7.10-1.ppc
    --> Processing Dependency: python = 2.7.10 for package: python-devel-2.7.10-1.ppc
    ---> Package python.ppc 0:2.7.13-1 will be an update
    ---> Package tcl.ppc 0:8.4.7-4 will be updated
    ---> Package tcl.ppc 0:8.6.6-2 will be an update
    --> Running transaction check
    ---> Package freetype2.ppc 0:2.6.3-1 will be installed
    --> Processing Dependency: libpng16.a(libpng16.so.16) for package: freetype2-2.6.3-1.ppc
    ---> Package libXft.ppc 0:2.3.2-2wofX11 will be installed
    --> Processing Dependency: libX11 >= 1.5 for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXft-2.3.2-2wofX11.ppc
    ---> Package libXrender.ppc 0:0.9.9-1 will be installed
    --> Processing Dependency: libX11 >= 1.5.99.902 for package: libXrender-0.9.9-1.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXrender-0.9.9-1.ppc
    ---> Package python-devel.ppc 0:2.7.10-1 will be updated
    ---> Package python-devel.ppc 0:2.7.13-1 will be an update
    ---> Package python-tools.ppc 0:2.7.10-1 will be updated
    ---> Package python-tools.ppc 0:2.7.13-1 will be an update
    --> Running transaction check
    ---> Package libXft.ppc 0:2.3.2-2wofX11 will be installed
    --> Processing Dependency: libX11 >= 1.5 for package: libXft-2.3.2-2wofX11.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXft-2.3.2-2wofX11.ppc
    ---> Package libXrender.ppc 0:0.9.9-1 will be installed
    --> Processing Dependency: libX11 >= 1.5.99.902 for package: libXrender-0.9.9-1.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXrender-0.9.9-1.ppc
    ---> Package libpng.ppc 0:1.6.21-1 will be installed
    --> Finished Dependency Resolution
    Error: Package: libXft-2.3.2-2wofX11.ppc (AIX_Toolbox_ppc)
               Requires: libX11 >= 1.5
    Error: Package: libXrender-0.9.9-1.ppc (AIX_Toolbox_ppc)
               Requires: libX11.a(libX11.so.6)
    Error: Package: libXft-2.3.2-2wofX11.ppc (AIX_Toolbox_ppc)
               Requires: libX11.a(libX11.so.6)
    Error: Package: libXrender-0.9.9-1.ppc (AIX_Toolbox_ppc)
               Requires: libX11 >= 1.5.99.902
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    

    I've also noticed that the version of libXrender on my end is still 0.9.9-1, not 0.9.8-1 like shown in your output.

    # yum list libXrender
    Available Packages
    libXrender.ppc                         0.9.9-1                    AIX_Toolbox_ppc
    

     

    You said you removed libXrender-0.9.9 from the repository, but it's still listed in ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libXrender/

     

    Regards,

    Kristian Milos


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: AIX 7.2 broken dependencies

    Posted Mon December 18, 2017 04:12 PM

    Originally posted by: kristianmilos


    Hi All,

     

    Issue resolved - The problem was the way I was running the createrepo. Well, not so much the way I was running it, but from where.

    I initially was doing the following, which was overwriting the data in each of the ppc/repodata, ppc-7.1/repodata, etc...locations.

    createrepo /export/nim/aixtoolbox/noarch
    createrepo /export/nim/aixtoolbox/ppc
    createrepo /export/nim/aixtoolbox/ppc-7.1
    createrepo /export/nim/aixtoolbox/ppc-7.2
    

     

    Running the createrepo command once, from the top level directory, resolved the problem, as it created a repodata in /export/nim/aixtoolbox/repodata, and thus not overwriting the previously mentioned locations.

    createrepo /export/nim/aixtoolbox
    

     

    Hopefully this helps someone else that comes across this problem.

     

    Regards,

    Kristian


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 5.  Re: AIX 7.2 broken dependencies

    Posted Tue June 19, 2018 11:28 AM

    Originally posted by: MarkSkinner


    To the keepers of AIX Toolbox:

     

    During the past couple of weeks I have begun experiencing a very similar problem as originally posted, as it appears that the 0.9.9-1 version of libXrender has reappeared on AIX Toolbox, and that it still has unresolved dependencies.  The error I am currently getting when attempting a yum update is:

    # yum update
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package libXrender.ppc 0:0.9.8-1waixX11 will be updated
    ---> Package libXrender.ppc 0:0.9.9-1 will be an update
    --> Processing Dependency: libX11 >= 1.5.99.902 for package: libXrender-0.9.9-1.ppc
    --> Processing Dependency: libX11.a(libX11.so.6) for package: libXrender-0.9.9-1.ppc
    --> Finished Dependency Resolution
    Error: Package: libXrender-0.9.9-1.ppc (AIX_Toolbox)
               Requires: libX11 >= 1.5.99.902
    Error: Package: libXrender-0.9.9-1.ppc (AIX_Toolbox)
               Requires: libX11.a(libX11.so.6)
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
     

    When checking what is currently available on AIX Toolbox, I get:

    # yum list libXrender
    Installed Packages
    libXrender.ppc                                        0.9.8-1waixX11                                         @AIX_Toolbox

    Available Packages
    libXrender.ppc                                        0.9.9-1                                                AIX_Toolbox

     

    So it looks to me that the newer code has reappeared on AIX Toolbox as well as its dependency problems.  Can this be looked into?

     

    Thank you,

     --Mark

     

     

     

     

     

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 6.  Re: AIX 7.2 broken dependencies

    Posted Wed June 20, 2018 08:47 AM

    Originally posted by: sangameshm


    Hi Mark,

    Thanks for reporting the issue.

    We removed the faulty version and yum should work fine now.

    Recently we made some changes to the YUM which added this version by mistake.

     

    Thanks,

    SAngamesh


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 7.  Re: AIX 7.2 broken dependencies

    Posted Tue July 10, 2018 01:33 PM

    Originally posted by: hashbang


    Is it still removed?  Because it looks like the 0.9.9-1 version is still there at ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/libXrender/  

     

    Name Size Date Modified
    libXrender-0.9.8-1waixX11.aix6.1.ppc.rpm 153 kB 4/9/17, 8:00:00 PM
    libXrender-0.9.8-2waixX11.aix6.1.ppc.rpm 219 kB 6/6/18, 2:04:00 AM
    libXrender-0.9.9-1.aix6.1.ppc.rpm 93.1 kB 8/30/16, 8:00:00 PM
    libXrender-devel-0.9.8-1waixX11.aix6.1.ppc.rpm 6.4 kB 4/9/17, 8:00:00 PM
    libXrender-devel-0.9.8-2waixX11.aix6.1.ppc.rpm 6.5 kB 6/6/18, 2:04:00 AM
    libXrender-devel-0.9.9-1.aix6.1.ppc.rpm 6.3 kB 8/30/16, 8:00:00 PM

    #AIX-Open-Source-Software
    #AIXOpenSource