AIX Open Source

 View Only
  • 1.  Local AIX Toolbox repository not working

    Posted Fri March 17, 2023 04:47 PM

    Hi AIX Open Source experts,

    We have previously successfully configured local AIX Toolbox repository with dnf by running dnf_aixtoolbox_local.sh and dnf update. Right after the config, we can run dnf command to install packages like python3-pandas from the local repository without issue. But now when we tried again to do the same dnf installation for other packages like python3-numpy, dnf got following error. Please advise how to resolve the issue.

    "Local AIX generic repository                                     0.0  B/s |   0  B     00:00
    Errors during downloading metadata for repository 'Local_AIX_Toolbox':
      - Curl error (37): Couldn't read a file:// file for file:///mnt1/RPMS/ppc/repodata/repomd.xml [Couldn't open file /mnt1/RPMS/ppc/repodata/repomd.xml]
    Error: Failed to download metadata for repo 'Local_AIX_Toolbox': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    "

    Thanks

    Mi

    .



    ------------------------------
    Mi Wang
    ------------------------------


  • 2.  RE: Local AIX Toolbox repository not working

    Posted Mon March 20, 2023 05:49 AM

    Looks like you are using local repository.

    Can you please verify if your local repo is still mounted ?

    Can you access this file (/mnt1/RPMS/ppc/repodata/repomd.xml) ?

     

    Thanks,

     

    Sanket Rathi

     






  • 3.  RE: Local AIX Toolbox repository not working

    Posted Mon March 20, 2023 04:29 PM

    Yes, we are using local repository. We use loopmount command to mount the iso image. It was working. But now it seems the owner / group got messed up for the folders under /mnt1. If this is some known issue, I am thinking we use command 'gzip -dc aix_linux_toolbox_*.tar.gz | tar xf - -C /mnt' instead to extract the full repository contents to the disk.

    ls -l /mnt1
    total 142
    -r--r--r--    1 4000     nokey            42 Nov 18 10:04 .Version
    -r-xr-xr-x    1 4000     nokey        228987 Nov 18 08:22 CONTENTS.toolbox
    dr-xr-xr-x    1 4000     nokey          6144 Nov 18 08:22 LICENSES
    -r-xr-xr-x    1 4000     nokey         36258 Nov 18 08:22 README.toolbox
    dr-xr-xr-x    8 4000     nokey          2048 Nov 18 09:41 RPMS
    dr-xr-xr-x    3 4000     nokey          2048 Nov 18 09:43 RPMS.bygroup
    dr-xr-xr-x    1 4000     nokey          2048 Nov 18 09:43 SRPMS
    dr-xr-xr-x    1 4000     nokey          2048 Nov 18 09:43 contrib
    dr-xr-xr-x    1 4000     nokey          2048 Nov 18 09:43 docs
    dr-xr-xr-x    2 4000     nokey          2048 Nov 18 09:43 ezinstall
    dr-xr-xr-x    2 4000     nokey          2048 Nov 18 09:48 installp
    dr-xr-xr-x    2 4000     nokey          2048 Nov 18 09:48 usr

    ls -l /mnt1/RPMS
    /mnt1/RPMS not found

    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------



  • 4.  RE: Local AIX Toolbox repository not working

    IBM Champion
    Posted Mon March 20, 2023 05:59 PM
    AIX checks the permissions on both the mount point and the mounted file system, so both have to allow the operation. (This has burned me with GPFS before.)

    So check under /mnt1, too.

    -- 
    Stephen Ulmer

    Sent from a mobile device; please excuse auto-correct silliness.





  • 5.  RE: Local AIX Toolbox repository not working

    Posted Tue March 21, 2023 05:42 AM

    Hi,

    a) you uncompress to /mnt and you want to find the data in /mnt1 ....

    b) as Stephen wrote: /mnt1 should have rwx for all before the uncompress.



    ------------------------------
    Juergen Maehlmann
    ------------------------------