AIX

 View Only
  • 1.  No Installable software products were found on the media

    Posted Wed July 27, 2022 03:59 PM
    I have an issue that I cannot resolve.

    I was trying to install C Compiler (open source GCC v6) on an AIX 7.1 server.  During the process of trying to figure out dependency issues, I kept running into the following two conflicting errors;

    1.  libgcc-4.9.4-1.ppc is superseded by libgcc-6.3.0-1.ppc
    and
    2.  libgcc = 4.9.4-1 is needed by gcc-4.9.4-1.ppc

    I recognize that this was a reckless mistake, but I decided to force the install of libgcc-4.9.4-1.ppc.  It installed and so when I went to smit install the packages again, using "smit install" - it fails with the error;
    "No installable software products were found on the media"  -
    I tried to run inutoc . within the working directory.  It won't create the .toc file. 

    So, what makes this very frustrating is that I cannot install any rpm packages from any directory.  I'm using directories like /home/aix/gcc6 and I've set permissions as necessary.  I've gone so far as to temporarily set it to 777.   At this point, I cannot install anything from any directory.  I have not yet tried to mount a CD and install that way.  I'm more focused on this particular issue.  

    Thanks

    ------------------------------
    Michael Glau
    ------------------------------


  • 2.  RE: No Installable software products were found on the media

    Posted Wed July 27, 2022 04:37 PM
    you say you’re using smit to install rpm packages? that may work now adays, I’ve always used native RPM commands (or something like YUM or DNF)

    within the directory you’ve run the inutoc in… run: installp -ld .
    this should show you what inutoc found in that directory.. confirm you in fact have anything in the .toc file.

    also confirm you have a valid rpm db…
    What do you get when you run
    rpm -qa

    do you get any output, or does it complain about a corrupt db3 or db4 database or something..
    (it’s been a while, but, this should get you started)
    First try using rpm —rebuild
    then retry rpm-qa and installp again

    If you can’t get your standard rpm-qa output, then force reinstall bos.rte.install and apply maintenance back up to your current SP level
    oslevel -qs | head will show you the highest level SP installed.

    (FYI, oslevel -sl {that highest SP listed), will show you which filesets need updating, that sometimes causes oslevel to show a lower level than what you know you installed)

    Sorry I don’t have your exact steps, but, hopefully this gets you back to working agin.




  • 3.  RE: No Installable software products were found on the media

    Posted Wed July 27, 2022 05:20 PM
    Thank you for replying.  I couldn't find anything via google.  I work with a number of AIX people and nobody really had an answer.  

    I have been using smit install for this because I it allows one to do a preview install rather than an attempt.   This server is production and is more sensitive.  As in - if this server goes down, I have multiple clients yelling.  

    When I did the install of that specific rpm listed above, I did use an rpm command and the methodology I used was probably unwise (nodeps and force).   
    rpm -ivh --nodeps --force libgcc-4.9.4-1.ppc.rpm



    ------------------------------
    Mike Infra Engineer
    ------------------------------



  • 4.  RE: No Installable software products were found on the media

    Posted Wed July 27, 2022 06:08 PM
    These are my findings;

    I ran the following;
    installp -ld /home/aix/gcc6 (when I did this within the directory, it listed the proper arguments for installp)
    Results;
    0503-003 installp: The specified device /home/aix/gcc6
           is not a valid device or file.  

    When I run rpm -qa it lists packages. ie, db4-4.7.25-2.ppc  I do not see any errors.  It does not complain about db3 or db4.  

    Due to the lack of errors, I did not run the rpm --rebuild nor did I force reinstall bos.rte.install.  

    Therefore, nothing has really changed.  

    Thanks

    ------------------------------
    Mike Infra Engineer
    ------------------------------



  • 5.  RE: No Installable software products were found on the media

    Posted Wed July 27, 2022 10:11 PM

    Even if you don't have a .toc file there, it shouldn't complain, it just reads through all the files and generates the same list.
    please run 
    df -P /home/aix/gcc6
    mount | grep home    (see how it's mounted, is it an NFS mount?  shouldn't matter but directs us on how to dig deeper)
    ls -ld /home/aix/gcc6 /home/aix/gcc6/.toc

    cd /home/aix/gcc6
    cat $( ls | head ) | wc    # confirm you can read the contents of the first few files in the directory

    Tom





  • 6.  RE: No Installable software products were found on the media

    Posted Mon August 01, 2022 03:03 PM
    My co-worker determined that the problem was likely to do with the how the forced install of libgcc-4.9.4-1.ppc.  He then researched the issue and determined that that the rpm.rte file may have been corrected.   

    We uploaded and installed a newer and current version as of today (8/22).   The file version is; 4.15.1.1

    After updating the rpm we were then able to run 'smit install' without getting the Error that 'No Installable Software could be found on the Media"


    ------------------------------
    Mike Infra Engineer
    ------------------------------