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.  tcl, tk, expect filesets

    Posted Thu March 16, 2017 04:11 AM

    Originally posted by: Morten_Torstensen


    When running "yum update" there are some filesets that are not installed because they fail, and the RPM files are trunkated on public.dhe.ibm.com.

    Is there some problem there, as other files were corrupted as well?

    Here is the output from yum:

    > yum update
    AIX_Toolbox                                                                                                                                       | 2.9 kB  00:00:00     
    AIX_Toolbox_Extended                                                                                                                              | 2.9 kB  00:00:00     
    AIX_Toolbox_noarch                                                                                                                                | 2.9 kB  00:00:00     
    IBM_EVRY_repo                                                                                                                                     | 2.9 kB  00:00:00     
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package expect.ppc 0:5.42.1-3 will be updated
    ---> Package expect.ppc 0:5.42.1-4 will be an update
    ---> Package tcl.ppc 0:8.4.7-3 will be updated
    ---> Package tcl.ppc 0:8.4.7-4 will be an update
    ---> Package tk.ppc 0:8.4.7-3 will be updated
    ---> Package tk.ppc 0:8.4.7-4 will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =========================================================================================================================================================================
     Package                                Arch                                Version                                    Repository                                   Size
    =========================================================================================================================================================================
    Updating:
     expect                                 ppc                                 5.42.1-4                                   AIX_Toolbox                                 666 k
     tcl                                    ppc                                 8.4.7-4                                    AIX_Toolbox                                 1.4 M
     tk                                     ppc                                 8.4.7-4                                    AIX_Toolbox                                 1.3 M
    
    Transaction Summary
    =========================================================================================================================================================================
    Upgrade       3 Packages
    
    Total size: 3.4 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating   : tcl-8.4.7-4.ppc                                                                                                                                       1/6 
    Error unpacking rpm package tcl-8.4.7-4.ppc
    error: unpacking of archive failed on file /usr/lib/tcl8.4: cpio: rename
      Updating   : tk-8.4.7-4.ppc                                                                                                                                        2/6 
    Error unpacking rpm package tk-8.4.7-4.ppc
    error: tcl-8.4.7-4.ppc: install failed
    error: unpacking of archive failed on file /usr/lib/tk8.4: cpio: rename
      Updating   : expect-5.42.1-4.ppc                                                                                                                                   3/6 
    Error unpacking rpm package expect-5.42.1-4.ppc
    error: tk-8.4.7-4.ppc: install failed
    error: unpacking of archive failed on file /usr/lib/expect5.42: cpio: rename
    expect-5.42.1-3.ppc was supposed to be removed but is not!
    tcl-8.4.7-3.ppc was supposed to be removed but is not!
    tk-8.4.7-3.ppc was supposed to be removed but is not!
    
    Failed:
      expect.ppc 0:5.42.1-3          expect.ppc 0:5.42.1-4          tcl.ppc 0:8.4.7-3          tcl.ppc 0:8.4.7-4          tk.ppc 0:8.4.7-3          tk.ppc 0:8.4.7-4         
    
    Complete!
    

     



  • 2.  Re: tcl, tk, expect filesets

    Posted Mon March 20, 2017 01:22 AM

    Originally posted by: sangameshm


    Hi Morten,

     

    From AIX 6.1 TL4 tcl/tk/expect has been shipped an installp fileset tcl.base, tk.base, expect.base.

    The rpms on public.dhe.ibm.com is just a place holder with empty files in it.

    I guess some AIX install scripts needs these rpms thats's why keep them in public.dhe.ibm.com.

     

    Thanks,

    Sangamesh

     

     



  • 3.  Re: tcl, tk, expect filesets

    Posted Mon March 20, 2017 06:35 AM

    Originally posted by: Morten_Torstensen


    Yes, but they will lead to problems whenever another RPM has them as prereqs (not just this version, but any version).

    It seems to me that someone does not treat the files on public.dhe.ibm.com as a proper yum repository, just just as another ftp repo.

    Someone should fix this so that "yum update" gives a clean state.