AIX Open Source

 View Only
  • 1.  Yum breaks at 7.2.00-01-02

    Posted Tue September 12, 2017 04:32 PM

    Originally posted by: rmeyer5


    Migrated AIX 7.1 to 7.2 and applied all patches so Operating System is 7200-01-02-1717. Prior to migration YUM worked without any issues. What version of rpm.rte should be applied so that yum functions as designed?

    [root@aixth80:/root] #oslevel -s
    7200-01-02-1717
    [root@aixth80:/root] #yum check
    libgcc-4.8.5-1_71.ppc has missing requires of AIX-rpm < ('0', '7.2.0.0', None)
    Error: check all
    [root@aixth80:/root] #yum update
    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              AIXHQ1_AIX_noarch           666 k
     tcl              ppc           8.4.7-4               AIXHQ1_AIX_noarch           1.4 M
     tk               ppc           8.4.7-4               AIXHQ1_AIX_noarch           1.3 M

    Transaction Summary
    ========================================================================================
    Upgrade       3 Packages

    Total size: 3.4 M
    Total download size: 2.7 M
    Is this ok [y/N]: N
    Exiting on user Command
    [root@aixth80:/root] #lslpp -l |grep tcl
      tcl.base                   8.4.7.0  COMMITTED  Binary executable files of Tcl
    [root@aixth80:/root] #lslpp -l |grep tk
      tk.base                    8.4.7.0  COMMITTED  Binary executable files of Tk
    [root@aixth80:/root] #lslpp -l |grep expect
      expect.base               5.42.1.0  COMMITTED  Binary executable files of


    [root@aixth80:/root] #lslpp -l |grep -i rpm.rte
      rpm.rte                    4.9.1.3  COMMITTED  RPM Package Manager
      rpm.rte                    4.9.1.3  COMMITTED  RPM Package Manager

     

     

     



     



  • 2.  Re: Yum breaks at 7.2.00-01-02

    Posted Wed September 13, 2017 02:49 AM

    Originally posted by: sangameshm


    Hi Robert,

     

    Thanks for pointing out the issue.

     

    Problem here isn't related to rpm.rte version, you have the required version 4.9.1.3.

    The issue is due  yum's limitation to understand migration has happened, and OS specific gcc versions.

     

    What version of yum you have installed ?

    From yum-3.4.3-2 we are enabling 3 different repositories, and one of them is to enable the OS specific repository based on AIX version.

    For example, if you have 6.1 machine then  https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-6.1/   

    similarly for AIX 7.1 it will be https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.1/

    and for 7.2 it will be https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/

     

    So if you have migrated from AIX 7.1 to 7.2 then you manually need to edit the yum.conf file to change OS specific repository AIX_Toolbox_71 to AIX_Toolbox_72.

     

    Other issue here is also is that gcc installed is for AIX 7.1, but you migrated to 7.2. This can also be a problem, but in your case you can update gcc to latest version 6.3 after editing yum.conf to point to AIX 7.2 repository.

     

    We will see if something can be done for the scenario like the one you pointed out here.

     

    Thanks,

    Sangamesh

     

     

     



  • 3.  Re: Yum breaks at 7.2.00-01-02

    Posted Wed September 13, 2017 10:54 AM

    Originally posted by: sangameshm


    repos looks to be fine.

    But from your previous output looks like you have libgcc-4.8.5-1_71.ppc.

    This naming convention we used for very short time when we didn't have different repo's for OS specific gcc.

    Now this naming convention was removed and have the packages as gcc-4.8.5-1.aix7.2.ppc.rpm, gcc-6.3.0-1.aix7.2.ppc.rpm.

    You can check here the latest changes we made https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-7.2/gcc/

    Can you check if yum is listing gcc-6.3.0-1 ? if not, then probably you might need to sync latest 7.2 changes and recreated repo data.

     

    Thanks,

    Sangamesh



  • 4.  Re: Yum breaks at 7.2.00-01-02

    Posted Wed September 13, 2017 01:07 PM

    Originally posted by: rmeyer5


    Updated repository to include gcc for 6.3.0-1, synched repository and updated cache, same issue.

    aixth1 $oslevel -s
    7200-01-02-1717
    aixth1 $sudo su -
    [root@aixth1:/root] #yum info gcc
    Available Packages
    Name        : gcc
    Arch        : ppc
    Version     : 6.3.0
    Release     : 1
    Size        : 25 M
    Repo        : AIXHQ1_AIX_72
    Summary     : GNU Compiler Collection
    URL         : http://gcc.gnu.org/
    License     : GPL
    Description : The gcc package contains the GNU Compiler Collection version 6.3.0.
                : You'll need this package in order to compile C code.

    [root@aixth1:/root] #oslevel -s
    7200-01-02-1717
    [root@aixth1:/root] #yum check
    check all
    [root@aixth1:/root] #yum update
    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                               AIXHQ1_AIX_noarch                                     666 k
     tcl                       ppc                                     8.4.7-4                                AIXHQ1_AIX_noarch                                     1.4 M
     tk                        ppc                                     8.4.7-4                                AIXHQ1_AIX_noarch                                     1.3 M

    Transaction Summary
    =============================================================================================================================================================================================
    Upgrade       3 Packages

    Total download size: 3.4 M
    Is this ok [y/N]: N
    Exiting on user Command

     



  • 5.  Re: Yum breaks at 7.2.00-01-02

    Posted Thu September 14, 2017 02:25 AM

    Originally posted by: sangameshm


    tcl.tk,expect rpm packages listed doesn't contain any files in it, these are kept just to satisfy one of AIX package install.

    You can remove them from your repository, as by default you will be getting tcl.base, tk.base & expect.base installp filesets.

     

    Thanks,

    Sangamesh

     



  • 6.  RE: Re: Yum breaks at 7.2.00-01-02

    Posted Wed February 17, 2021 12:13 AM
    Just figured out expect.base is a must for yum, but that is not mentioned anywhere.

    ------------------------------
    VLAD SOROKIN
    ------------------------------



  • 7.  Re: Yum breaks at 7.2.00-01-02

    Posted Fri September 15, 2017 07:16 AM

    Originally posted by: sangameshm


    As of now i think it is better to remove all tcl,tk,expect rpms as these are available as installp fileset by default.

    Once we have latest version of these rpms in AIX Toolbox then we shouldn't be seeing the the current dummy packages without any files.

     

    Thanks,

    Sangamesh