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
------------------------------
Original Message:
Sent: Mon March 20, 2023 05:48 AM
From: SANKET RATHI
Subject: Local AIX Toolbox repository not working
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) ?
Original Message:
Sent: 3/17/2023 4:47:00 PM
From: Mi Wang
Subject: Local AIX Toolbox repository not working
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
------------------------------