AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Operatingsystems
#Servers
#AIX
#AIX
#AIX
#AIX
#AppPerformanceManagement
 View Only
Expand all | Collapse all

Installation of RPM package tk-8.4.7-3.ppc failed

  • 1.  Installation of RPM package tk-8.4.7-3.ppc failed

    Posted Wed December 18, 2019 10:57 AM

    Originally posted by: christophe41


    Hello,

    I am a new user of AIX environnement. I come from DB2 for z/OS database administration ...

    I would like to install PYTHON 2.7.5   on an AIX LPAR.

    As Yum is available on our site i have a specific list of packages to install.

    Please find the list below.

    All the packages are successfully installed except the    tk-0:8.4.7-3.ppc    package.

    I have the error below :

     

     

    What should i check ? Is there a missing dependance ? What would be your advice ? An article to read about rpm ?

    I thank you very much for your help,

     

    Christophe

     

     

     

     



  • 2.  Re: Installation of RPM package tk-8.4.7-3.ppc failed

    Posted Fri March 27, 2020 05:22 PM

    Originally posted by: mrward


    Christophe, apologies for the delay getting back to you.  This forum is being migrated to a new platform but the AIX Open Source Forum (https://www.ibm.com/developerworks/community/forums/html/forum?id=2eb0f36d-9534-471b-8b27-c21e6c5b9b2b&filter=topics)  has remained online and active.   Can you please take a look at the AIX Open Source Forum and let me know if your question has been answered.   Thanks



  • 3.  Re: Installation of RPM package tk-8.4.7-3.ppc failed

    Posted Wed April 01, 2020 02:23 PM

    Originally posted by: sanket


    Hi Chritophe,

     

    I can not see the error output in your post.

    Also please use AIX open source software forum to raise any issue related to AIX open source or toolbox. 

    https://www.ibm.com/developerworks/community/forums/html/forum?id=2eb0f36d-9534-471b-8b27-c21e6c5b9b2b&ps=100



  • 4.  RE: Installation of RPM package tk-8.4.7-3.ppc failed

    Posted Fri November 29, 2024 01:48 AM

    AI was used to create this answer

    The error with the installation of tk-8.4.7-3.ppc on IBM AIX suggests a potential dependency issue or incompatibility. 


    1. Check for Missing Dependencies

    RPM packages often require specific dependencies. Run the following command to list missing dependencies for the tk package:

    bash
    rpm -ivh tk-8.4.7-3.ppc.rpm

    If there are missing dependencies, they will be listed in the output.

    2. Check Installed Dependencies

    Ensure that required dependencies are installed on your AIX system. For tk, typical dependencies might include:

    • tcl (specific version required for tk)
    • X11 libraries (such as libX11, libXt, or libXext)
    • Basic development libraries for graphical applications.

    You can list installed packages to verify if dependencies are present:

    bash
    rpm -qa | grep -E 'tcl|X11'

    3. Inspect the Yum Repository

    Since you are using yum, ensure the repository configuration includes the source for the required tk version. You can list available packages in your repository with:

    bash
    yum list tk*

    If tk-8.4.7-3.ppc is not available, you might need to manually download it or use an alternative package.

    4. Ensure Package Integrity

    Sometimes RPMs fail due to corruption. Verify the package integrity:

    bash
    rpm -K tk-8.4.7-3.ppc.rpm

    If the output indicates an issue, re-download the package from a trusted source.

    5. Debug Installation

    Enable verbose output during the installation for more information:

    bash
    rpm -ivh --test --nodeps tk-8.4.7-3.ppc.rpm

    This will simulate the installation and show potential issues.


    General Advice for RPM and YUM on AIX:

    RPM Best Practices:

    Use Yum for Dependency Resolution:

    Yum simplifies dependency management. Try installing tk using Yum to let it handle dependencies:

    bash
    yum install tk

    Logs for Troubleshooting:

    If the installation still fails, inspect the RPM logs for details:

    bash
    cat /var/log/yum.log

    Documentation:


    Next Steps:

    1. Resolve Missing Dependencies: Use yum or manually install required libraries for tk.
    2. Test Installation: Use the --test option with rpm to validate without applying changes.
    3. Rebuild the Package (Optional): If compatibility issues persist, consider rebuilding the RPM from source:
      • Install rpm-build and extract the SRPM for tk-8.4.7-3.

    By addressing dependencies and using yum effectively, you should be able to resolve the issue and proceed with Python installation on AIX



    ------------------------------
    Saif Ali Sabri
    ------------------------------